What problem does it solve?
This Skill solves the problem of AI agents being unable to use command-line tools reliably because the CLI hangs on prompts, produces non-actionable errors, lacks machine-readable output, or forces brittle parsing.
Core Features & Use Cases
It provides prescriptive, agent-focused CLI design rules covering non-interactive operation, layered --help with copy-paste examples, actionable stderr errors with correct exit codes, destructive-action safety (dry-run, --yes/--force), composable stdin/pipeline handling, stable output formats (including --json and NDJSON streaming), idempotency patterns for retries, and consistent subcommand structure using a resource-verb shape. It is intended for designing or reviewing any CLI that AI agents or automation will invoke for provisioning, orchestration, retrieval, deployment, and other operational workflows where retries and non-human execution are common.
Quick Start
Apply the cli-for-agents skill while designing your next CLI by asking an AI assistant to review your proposed commands for non-interactive behavior, help/examples, stderr errors, dry-run/--yes for destructive actions, and idempotency under retries.