What problem does it solve? Most command-line tools are designed for humans and are subtly hostile to AI agents: interactive prompts block automation, unstructured output breaks parsing, and vague errors prevent recovery. This Skill provides a concrete checklist and decision framework for building or reviewing CLIs that agents can reliably operate. ## Core Features & Use Cases - Audit Mode: Evaluate an existing CLI against requirements like --json output, meaningful exit codes, idempotency, dry-run, and input hardening, reporting pass/fail/partial with concrete fixes. - Create Mode: Apply all agent-friendly requirements from the start when building a new CLI, including noun-verb command hierarchy and structured error messages. - CLI vs. MCP Decision: Guidance on when to build a CLI versus an MCP server based on command count, statefulness, shell access, and token budget. - Use Case: You are building a deployment CLI that an AI agent will invoke. Use this Skill to ensure it supports --json, --dry-run, --yes, non-TTY detection, and actionable structured errors before shipping. ## Quick Start Audit my existing CLI tool for AI agent compatibility and list the blockers with concrete fixes.