AI-Native CLI Specification
Provides 98 rules and standards for building CLI tools that are safe, reliable, and optimized for AI agent consumption.
This skill implements the Agent-Friendly CLI Spec, a comprehensive design framework for creating command-line interfaces that AI agents can interact with autonomously and safely. It defines structured JSON output requirements, predictable exit codes, and automated self-description mechanisms through an 'agent/' directory convention. By following these rules across three certification levels—Agent-Friendly, Agent-Ready, and Agent-Native—developers can ensure their CLI tools provide stable execution contracts, robust error handling, and built-in safety guardrails to prevent common agent failures.
주요 기능
01Predictable exit code mapping for automated success and failure handling
020 GitHub stars
03Built-in safety guardrails to prevent path traversal and sensitive data leaks
04Standardized error schemas with machine-readable codes and actionable suggestions
05JSON-by-default output for reliable machine parsing and automation
06Self-describing CLI architecture via the standardized 'agent/' directory convention
사용 사례
01Building new CLI tools intended for autonomous execution by AI agents
02Auditing CLI tools for compliance with enterprise agent-safety and reliability standards
03Retrofitting legacy command-line tools to be Agent-Ready or Agent-Native