This skill provides a comprehensive framework for designing and auditing CLIs specifically for AI agent compatibility, moving away from human-centric interactive prompts toward headless, predictable structures. It guides users in implementing non-interactive flags, layered help documentation with copy-pasteable examples, idempotency, and machine-readable output, ensuring that AI agents can reliably discover, execute, and troubleshoot commands without getting stuck on interactive roadblocks or context-heavy documentation dumps.
主な機能
017 GitHub stars
02Idempotency and dry-run patterns for safe agent retries and planning.
03Layered --help documentation with copy-pasteable usage examples.
04Fast-failing errors with actionable remediation steps and examples.
05Non-interactive flag enforcement to bypass manual prompts and menus.
06Predictable resource-verb command structures for easy discovery.
ユースケース
01Auditing existing internal tools to remove interactive bottlenecks for automation.
02Designing a new CLI tool intended for use in CI/CD pipelines or by AI agents.
03Adding structured examples and machine-readable output to legacy CLI subcommands.