Borrowing it
Nothing to install: this file belongs to robconery/kolea. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/robconery/kolea/main/.claude/commands/document.mdgit clone --depth 1 https://github.com/robconery/koleaWrote 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/commands/robconery/kolea/document)<a href="https://agentmods.dev/commands/robconery/kolea/document"><img src="https://agentmods.dev/badge/commands/robconery/kolea/document/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/commands/robconery/kolea/document"><img src="https://agentmods.dev/badge/commands/robconery/kolea/document.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.00020 | $0.00487 |
| Opus 5.5 | $0.00008 | $0.00195 |
| Sonnet 5.5 | $0.00004 | $0.00097 |
| Haiku 4.5 | $0.00002 | $0.00049 |
Grade A, and why
document 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 2mo 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.
What it actually says
document
Bring the human-facing docs in line with what actually exists. Not a phase — a reconciler you run whenever code and docs have drifted. It detects drift; it does not re-interview the project.
Scope
- IN: README, ARCHITECTURE.md prose accuracy, curating docs/MEMORY.md.
- OUT: making product/architecture decisions (that's
/explore,/design). If reconciling reveals an undecided question, log it and point at the owning command — don't decide it here.
Preflight
- Read
CLAUDE.md,docs/PROJECT.md,docs/ARCHITECTURE.md,docs/SPEC.md,docs/MEMORY.md,README.md. - Read the actual code/structure. Diff docs vs. reality, not docs vs. docs. Build a short drift list (claimed but absent, present but undocumented, contradictions).
Interview
Minimal and targeted. Only ask when reconciliation is genuinely ambiguous (e.g. "ARCHITECTURE says Postgres, code uses SQLite — which is intended?"). No standing question bank. If nothing is ambiguous, ask nothing.
Produce
- README.md (owned): accurate for a human arriving cold — what it is, how to run it, how to test it, where the docs are. Concise.
- docs/ARCHITECTURE.md: correct stale prose to match reality. Don't
redesign — if reality diverged from a deliberate decision, flag it for
/designrather than rewriting the decision. - docs/MEMORY.md (curated here): dedupe, order by date, keep it a tight log of decisions-made-with-AI and why. This is the project's memory for Claude Code — terse, durable, not a changelog of everything.
Hand off
Report the drift found and what you reconciled vs. flagged. Suggested next is
context-dependent — e.g. /design if a contradiction needs a real decision,
otherwise nothing.
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.
- 2mo ago First seen · 50 lines · 20 tokens per session scan A 3f74c109dc7c
document is a command published in the GitHub repository robconery/kolea (11 stars, last pushed 29d ago), licensed MIT. It adds 20 tokens to every session and 487 once invoked, about $0.0001 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-31.
Other commands, from other repositories
hyperliquid-risk
Mission-critical real-time risk monitoring system with automated alerts, circuit breakers, and emergency shutdown for live Hyperliquid trading by ae.ltd.
setup-sandbox
You are helping the user add Cloudflare Sandbox SDK 1.0 (@cloudflare/sandbox 1.0.0) to this project for isolated code execution. The project is Vite + @cloudflare/vite-plugin, with the Worker in worker/index.ts and config in wrangler.jsonc.
session-recap
Summarize recent CHANGELOG.md entries for context restoration. Parses the canonical heading shape ## YYYY-MM-DD — pass-N — summary. Filters: last N (default 10), YYYY-MM date prefix, or "today". Supports --json for machine-readable output.
self-improve
Run a learning pass after a major run; fold reusable lessons into global config.
update-agentskills
Apply a reusable lesson to /.agentskills (rules/skills/templates/commands), backup + commit + push.
sync-coordinator
Multi-package synchronization and version alignment with ruv-swarm coordination for seamless integration between claude-code-flow and ruv-swarm packages.