Agentic CLI Design

Design principles for building CLI tools that LLM/AI agents can safely and reliably operate. Provides 7 core principles (Machine-readable, Non-interactive, Idempotent, Safe-by-default, Observable, Context-efficient, Introspectable) with scorecard, templates, and anti-patterns. Use when: (1) designing new CLI tools for agent use, (2) improving existing CLIs for agent compatibility, (3) reviewing CLI design for agent-friendliness, or (4) need guidance on JSON output formats, exit codes, authentication flows, or self-describing CLI patterns.

marcioaltoe 1f85e4b 5 files · 91.3 KB Updated

File contents

marcioaltoe/skills/tree/main/skills/03-engineering-design/agentic-cli-design commit 1f85e4bc36

Frequently asked questions

npx skillmds@latest add marcioaltoe/agentic-cli-design