# CLI Output Contracts

> Treat command output as a tested coding API.

- Skill: `idanmann10/cli-output-contracts` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add idanmann10/cli-output-contracts`
- Raw SKILL.md: https://api.skillmd.com/api/skills/idanmann10/cli-output-contracts/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: idanmann10 (https://skillmd.com/u/idanmann10)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/idanmann10/cli-output-contracts

---


# CLI Output Contracts

CLI commands need stable structured output so agents and humans can build on them.

## Steps

1. Test parsed command arguments and returned structure.
2. Keep errors specific enough to act on.
3. Avoid hiding important state behind prose-only output.

# Provenance

Seeded during v1 starter-pack expansion from goal.md. Inspired by: https://github.com/obra/superpowers and https://github.com/garrytan/gstack.

