What it does
Agent-Native Design helps you build CLI interfaces that serve three audiences at once: human operators, AI agents, and orchestration systems. It provides a structured methodology for evaluating whether existing CLIs work for agents and designing new ones from scratch with machine-readability as a first-class concern.
How it works
The skill covers seven core principles:
- Stdout contracts: JSON envelopes with consistent
ok,data,errorstructure - Exit code semantics: Deterministic codes mapped to failure classes
- Schema introspection: Self-describing CLIs with layered
--helpand full schema export - Dry-run safety: Preview request shape without execution risk
- Safety tiers: Open / warned / hidden command visibility for graduated agent autonomy
- Delegated auth: Humans manage credentials; agents use tokens
- Trust directionality: Separate trust levels for environment variables vs. CLI arguments
Use cases
- Evaluating existing CLIs for agent readiness using a 14-criterion rubric
- Designing new CLIs for APIs, SDKs, or internal tools with agent-first patterns
- Refactoring human-first CLI interfaces to be machine-readable
- Reviewing stdout, stderr, and exit code contracts
- Defining authentication boundaries and trust models
- Producing prioritized refactor plans with concrete interface examples
Who benefits
Product managers, API designers, platform engineers, and CLI maintainers building tools that both humans and AI agents will use.