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
View on GitHub

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 --full escape 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 -y

Installs 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