Agent-Optimized CLI Standard

•
9
•

Implements the --agent-help convention to create token-efficient, machine-readable command-line interfaces optimized for LLM agents.

The Agent-CLI skill provides a standardized framework for building and modifying command-line tools that AI agents can navigate with minimal token overhead. By implementing the --agent-help convention, it replaces verbose, human-centric help text with structured, tiered output designed for efficient LLM parsing. This skill helps developers ensure their CLI tools are fully compatible with automated coding agents like Claude Code, providing clear command indices, precise flag definitions, and actionable error hints that improve agent success rates while reducing context window usage.

주요 기능

01Self-discovery mechanism via --help breadcrumbs for seamless agent transition
02Language-agnostic implementation patterns for Go, Python, Rust, and Node.js
039 GitHub stars
04Tiered output system including Command Index, Command Detail, and Error Hints
05Token-optimized formatting aimed at under 300 tokens for full CLI indices
06Standardized --agent-help flag for minimalist, machine-readable command discovery

사용 사례

01Designing new CLI tools from scratch with built-in AI accessibility
02Standardizing command structures across a multi-language internal tooling ecosystem
03Refactoring existing developer tools to be more reliably used by autonomous agents