AI-Native CLI Specification

0•

Standardizes command-line interface design to ensure tools are safe, reliable, and easily consumable by AI agents through structured JSON and rigorous safety rules.

This skill provides a comprehensive design specification containing 98 rules for building or retrofitting CLI tools for the AI era. It focuses on shifting from human-centric output to agent-centric interfaces, prioritizing structured JSON by default, machine-readable error handling, and robust safety guardrails. By following its three-tier certification model—Agent-Friendly, Agent-Ready, and Agent-Native—developers can create tools that AI agents like Claude can navigate, invoke, and troubleshoot with high reliability and minimal token overhead.

주요 기능

01Standardized 'agent/' directory convention for automated capability discovery.
02Default JSON output for seamless machine parsing and reliable agent interaction.
03Three-tier certification model to guide incremental adoption of AI-native standards.
04Strict safety guardrails to prevent destructive actions and shell injection.
05Predictable exit codes and structured error schemas with machine-readable suggestions.
060 GitHub stars

사용 사례

01Building new developer tools designed specifically for LLM-driven automation pipelines.
02Retrofitting legacy CLI utilities to be safely usable by AI agents like Claude Code.
03Auditing existing command-line interfaces for compliance with safety and reliability standards.