Agent-facing CLI standards covering token-efficient output, structured errors, and session context for autonomous agents.
- CCM score
- 69 of 100
- skills.sh installs
- 4.9K
- GitHub stars
- 2.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers output format, schema size, content truncation, pre-computed aggregates, empty states, and error handling for shell-driven agents
- Requires TOON output on stdout with JSON kept internal, default schemas of 3-4 fields, and truncated detail views with a
--fullescape hatch - Enforces exit codes 0, 1, and 2, no interactive prompts, and rejection of unknown flags with targeted hints
- Designed for teams building CLI tools that agents invoke through shell execution and that need session-start context hooks
Install
$ npx -y skills add kunchenguid/axi --skill axi -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Agent eXperience Interface (AXI)
AXI defines ergonomic standards for building CLI tools that autonomous agents interact with through shell execution.
Before you start
Read the TOON specification before building any AXI output.
1. Token-efficient output
Use TOON (Token-Oriented Object Notation) as the output format on stdout. TOON provides ~40% token savings over equivalent JSON while remaining readable by agents. Convert to TOON at the output boundary — keep internal logic on JSON.
tasks[2]{id,title,status,assignee}:
"1",Fix auth bug,open,alice
"2",Add pagination,closed,bob
2. Minimal default schemas
Every field in stdout costs tokens — multiplied by row count in collections. Default to the smallest schema that lets the agent decide what to do next: typically an identifier, a title, and a status.
Details
- Repository
- github.com/kunchenguid/axi
- Categories
- CLI & Terminal, Agent Workflow & Planning, AI Agents & LLM Apps
- First seen
- May 16, 2026
Similar to Axi
More CLI & Terminal
cli-for-agentsSkillcursor/plugins1.4K installsNon-interactive CLI design guide that helps coding agents run commands reliably without prompts or manual dumps.
cli-designSkilljoelhooks/joelclaw150 installsAgent-first CLI design skill with HATEOAS JSON responses, context-protecting output, and self-documenting command trees.
ai-friendly-cliPlugindashed/claude-marketplace27 starsBuild and refactor CLIs for AI agent compatibility. Use when making CLI tools machine-readable with structured JSON output, input hardening, schema introspectio
cli-referenceSkillparcadei/continuous-claude-v3493 installsComprehensive reference for Claude Code CLI commands, flags, headless mode, and automation patterns with subagent definitions.
asc-cli-usageSkillrorkai/app-store-connect-cli-skills9.1K installsGuidance and command reference for the asc CLI, covering discovery, flags, output, pagination, and authentication.
create-cliSkillsteipete/agent-scripts511 installsDesign-first CLI spec covering args, flags, help, output, errors, config, and dry-run, human- and script-friendly.
