Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add gtrabanco/agentic-workflow --skill self-documenting-cligit clone --depth 1 https://github.com/gtrabanco/agentic-workflowWrote 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.
[](https://agentmods.dev/skills/gtrabanco/agentic-workflow/self-documenting-cli)<a href="https://agentmods.dev/skills/gtrabanco/agentic-workflow/self-documenting-cli"><img src="https://agentmods.dev/badge/skills/gtrabanco/agentic-workflow/self-documenting-cli/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.
<a href="https://agentmods.dev/skills/gtrabanco/agentic-workflow/self-documenting-cli"><img src="https://agentmods.dev/badge/skills/gtrabanco/agentic-workflow/self-documenting-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00052 | $0.00969 |
| Opus 5.5 | $0.00021 | $0.00388 |
| Sonnet 5.5 | $0.00010 | $0.00194 |
| Haiku 4.5 | $0.00005 | $0.00097 |
Grade A, and why
self-documenting-cli scanned grade A with 0 findings 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 5d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Self-documenting CLI (the usage layer)
The universal CLI (@gtrabanco/agentic-workflow) ships 73 subcommands behind one
pin. Its grammar has exactly one owner: runner help. This skill
owns the other half — when to reach for which family, in what order — because
that is the part a model gets wrong repeatedly and the part no flag list answers.
The conduct rule (read this before guessing)
Before guessing a flag, query the CLI's own help. A guessed flag does not
fail quietly and it does not fail memorably: it produces a refusal the next
session must re-derive. runner help <subcommand> costs one command
and answers with the subcommand's usage, its closed ops and its flags.
- A bare
runner helpprints the index grouped by family. runner help --jsonprints the same facts as machine data.- Every subcommand answers
--helpand-hwith the identical block.
Never cite a flag from memory. Never read the crate README to learn a signature
— the README explains what a command is for, and help tells you how to
spell it. When the two ever disagree, help is the machine's answer and the
README is the defect.
Which family solves which problem
| You are… | Reach for | Recipe |
|---|---|---|
| writing a document through a typed, schema-checked receipt | the editing family — unit-doc, roadmap, section, doc read/edit, verify |
references/editing.md |
| reading state without changing anything | the sensor family — workflow-status, phase-lint, needs-input, test-impact, coverage-gap |
references/sensors.md |
| deciding whether an action is allowed | the guard family — guard-command, diff-guard, git-identity-check |
references/sensors.md |
| moving a delivery unit through its own state machine | the lane family — unit-route, ceremony, relay, audit-pr-gate, gate-receipt |
references/lane.md |
| reading or writing a pull request, issue or review | the forge family — forge-read, fullauto-merge, turn-contract |
references/forge.md |
| searching the documentation corpus or the session journal | the knowledge family — doc, journal, findings-corpus, repository-state |
references/knowledge.md |
| fixing the host, the toolchain or the CLI itself | the tooling family — doctor, setup, setup-env, runner, config, help |
references/tooling.md |
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 5d ago Changed · -3 tokens per session 3fed90f19cf2
- 6d ago First seen · 67 lines · 55 tokens per session scan A 01fe7a49f705
self-documenting-cli is a skill published in the GitHub repository gtrabanco/agentic-workflow (25 stars, last pushed today), licensed MIT. It adds 52 tokens to every session and 969 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-24.
self-documenting-cli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| self-documenting-cligtrabanco/agentic-workflow | Skill | 25 | today | MIT | A | 52 | Claude Code |
| conscientiousnesspjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 108 | Claude Code |
| breathepjt222/agent-almanac | Skill | 46 | 2d ago | MIT | A | 89 | Claude Code |
| bounded-delegationn-n-code/n-n-code-skills | Skill | 4 | 28d ago | MIT | A | 67 | Claude Code, Codex |
| file-organizerjjmartres/ai-coding-agents | Skill | 48 | 1mo ago | MIT | A | 46 | Claude Code, Codex |
| think-like-mekakha13/think-like-me | Skill | 13 | 7mo ago | none | A | 88 | Claude Code, Codex |
| session-starttroykelly/claude-skills | Skill | 12 | 10mo ago | none | A | 33 | Claude Code |