axi

axi is a skill for Claude Code from pleaseai/claude-code-plugins. It costs 38 tokens per session (3,606 once invoked), scanned B, a copy of axi, MIT.

A set of design rules for command-line tools used by software agents. It covers compact output, small default data fields, and truncating long content.

In plain words
What is it for?
Use it when building, changing, or reviewing command-line tools that agents operate through a shell.
Why use it?
It helps agents read command output with fewer tokens and makes the next action easier to determine.

Skill for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions Claude Code; reads ~/.codex paths.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { VERSION } from "../src/version.js"; // leaf module - node builtins only.

Part of the axi plugin — 1 skill shipped together

Good fit Use it when building, changing, or reviewing command-line tools that agents operate through a shell.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pleaseai/claude-code-plugins
agentmods
npx agentmods add skills/pleaseai/claude-code-plugins/axi

Made for: Claude Code.

Or install axi, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for axi

README.md
[![agentmods](https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/axi/github.svg)](https://agentmods.dev/skills/pleaseai/claude-code-plugins/axi)
Your own site
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/axi"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/axi/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for axi

Your own site · 80×15
<a href="https://agentmods.dev/skills/pleaseai/claude-code-plugins/axi"><img src="https://agentmods.dev/badge/skills/pleaseai/claude-code-plugins/axi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,606 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.03606
Opus 5.5 $0.00015 $0.01442
Sonnet 5.5 $0.00008 $0.00721
Haiku 4.5 $0.00004 $0.00361

Measured 3mo ago against content hash 2f5a6b3dd6f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

axi scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- **Claude Code**: use native hooks in `~/.claude/settings.json` or project `.claude/settings.json`. Prefer `SessionStart` to inject compact context via stdout
Origin

This is a copy

100% identical to axi — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/axi/.agents/skills/axi/SKILL.md · 274 lines

How it starts

The opening of the file, as written. The whole thing — 274 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

  • Default list schemas: 3-4 fields, not 10
  • Default limits: high enough to cover common cases in one call (if most repos have <100 labels, default to 100, not 30)
  • Long-form content (bodies, descriptions) belongs in detail views, not lists
  • Offer a --fields flag to let agents request additional fields explicitly

3. Content truncation

Detail views often contain large text fields. Omitting them forces agents to hunt; including them wastes tokens. Truncate by default and tell the agent how to get the full version.

task:
  number: 42
  title: Fix auth bug
  state: open
  body: First 500 chars of the issue body...
    ... (truncated, 8432 chars total)
help[1]: Run `tasks view 42 --full` to see complete body
  • Never omit large fields entirely — include a truncated preview
  • Show the total size so the agent knows how much it's missing
  • Suggest the escape hatch (--full) only when content is actually truncated
  • Choose a truncation limit that covers most use cases (500-1500 chars)

4. Pre-computed aggregates

The most expensive token cost is often not a longer response — it's a follow-up call. If your backend has data that agents commonly need as a next step, compute it and include it.

Read the full file on GitHub · 274 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 274 lines · 38 tokens per session scan B 2f5a6b3dd6f8

Subscribe to this mod's changes

axi is a skill published in the GitHub repository pleaseai/claude-code-plugins (17 stars, last pushed yesterday), licensed MIT. It adds 38 tokens to every session and 3,606 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). It is 100% identical to axi, differing in 0 lines, and is treated as a copy.

Related

axi compared with skills from other repositories

axi next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
axipleaseai/claude-code-pluginsSkill17yesterdayMITB38Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k3d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code