documentation

documentation is a command for Claude Code from damusix/atomic-claude. It costs 54 tokens per session (3,125 once invoked), scanned A, original, MIT.

A command for creating and maintaining a project’s documentation index. It finds documentation files, records what each one covers in CLAUDE.md, and checks whether changed or missing documentation needs attention.

In plain words
What is it for?
Use it to bootstrap documentation tracking, discover newly added docs, review docs affected by a Git range, or preview the findings with a dry run.
Why use it?
It helps teams see where project information is documented and notice when the relevant documents are missing, stale, or incomplete. This reduces the need to search through the repository manually.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it to bootstrap documentation tracking, discover newly added docs, review docs affected by a Git range, or preview the findings with a dry run.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/damusix/atomic-claude/documentation
Install

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.

Clone the repo
git clone --depth 1 https://github.com/damusix/atomic-claude

Made for: Claude Code.

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 documentation

README.md
[![agentmods](https://agentmods.dev/badge/commands/damusix/atomic-claude/documentation/github.svg)](https://agentmods.dev/commands/damusix/atomic-claude/documentation)
Your own site
<a href="https://agentmods.dev/commands/damusix/atomic-claude/documentation"><img src="https://agentmods.dev/badge/commands/damusix/atomic-claude/documentation/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 documentation

Your own site · 80×15
<a href="https://agentmods.dev/commands/damusix/atomic-claude/documentation"><img src="https://agentmods.dev/badge/commands/damusix/atomic-claude/documentation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,125 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00054 $0.03125
Opus 5.5 $0.00022 $0.01250
Sonnet 5.5 $0.00011 $0.00625
Haiku 4.5 $0.00005 $0.00313

Measured 12d ago against content hash f5308de46163, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

documentation 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 12d 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.

context/commands/documentation.md · 289 lines

How it starts

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

Run /documentation to bootstrap doc surface indexing or perform a full documentation pass.

Flags

  • --print-template — print the ## Documentation surfaces table skeleton to stdout and exit. Paste into your project steering file to declare custom surfaces manually.
  • --dry-run — print discovered/stale surfaces without applying edits or staging anything.
  • --discover — re-scan and offer to update the surfaces table even when a table already exists. Use after adding new doc files.
  • <range> — any valid git range (HEAD~5..HEAD, main..feature-branch). If omitted, defaults to <base>..HEAD where <base> is the merge-base with main.

Step 0 — Handle flags

If --print-template is present, print the following and exit:

## Documentation surfaces

| Path | Covers | Voice |
|------|--------|-------|
| `docs/architecture/payments.md` | billing, webhooks, Stripe | atomic-writing |
| `docs/models/README.md` | data model, ERD, migrations | atomic-writing |
| `docs/api/endpoints.md` | REST API, auth, rate limits | atomic-writing |
| `README.md` | project overview, quick start | atomic-writing |

Add this section to your shared project steering file (AGENTS.md, or the CLAUDE.md loader beside it) and fill in your project's doc files. Voice is always atomic-writing — the column exists to name the skill that governs the edit, not to pick between alternatives.

Step 1 — Detect mode

A missing surfaces table, or --discover, runs bootstrap; anything else runs authoring.

flowchart TD
    T{"Surfaces table<br/>present?"} -->|no| B["Bootstrap: Steps 2–4"]
    T -->|yes| D{"--discover?"}
    D -->|yes| B
    D -->|no| A["Authoring: Step 5"]
  • Surfaces table present?: a ## Documentation surfaces table in the project's steering files. Search order: a local override file → the shared project steering AGENTS.md → any adjacent native loader (e.g. CLAUDE.md). First file containing the heading wins.

Steps 2–4 — Bootstrap

Read the full file on GitHub · 289 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. 12d ago Changed · -41 lines · +54 tokens per session f5308de46163
  2. 3mo ago First seen · 330 lines · 0 tokens per session scan A f8a0d94fbb03

Subscribe to this mod's changes

documentation is a command published in the GitHub repository damusix/atomic-claude (117 stars, last pushed 2d ago), licensed MIT. It adds 54 tokens to every session and 3,125 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-08-30.

Related

documentation compared with commands from other repositories

documentation next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
documentationdamusix/atomic-claudeCommand1172d agoMITA54Claude Code
agentloop-audit-dashboardalibaba/loongsuite-pilotCommand271yesterdayApache-2.0A21Claude Code
agentloop-audit-queryalibaba/loongsuite-pilotCommand271yesterdayApache-2.0A20Claude Code
generate-llmsopencue/cuecardsCommand9yesterdayMITA33Claude Code
audit-geoopencue/cuecardsCommand9yesterdayMITA24Claude Code
audit-seoopencue/cuecardsCommand9yesterdayMITA27Claude Code
add-agentivan-magda/claude-code-plugin-templateCommand725mo agoMITA12Claude Code