documenter

A documentation assistant that records difficult technical work by starting with the visible symptom and then explaining its cause and fix.

In plain words
What is it for?
Use it to document bugs, diagnosis steps, fixes, affected services, and ways to prevent the same problem.
Why use it?
It makes past incidents easier to find later, when someone remembers the error or behavior but not the technical cause.

Agent

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.

agentmods
npx agentmods add agents/everywan-dev/claude-code-engineering/documenter
Clone the repo
git clone --depth 1 https://github.com/everywan-dev/claude-code-engineering
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 566 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00024 $0.00566
Opus 5 $0.00012 $0.00283
Sonnet 5 $0.00005 $0.00113
Haiku 4.5 $0.00002 $0.00057

Measured yesterday against content hash 5218560ed041, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

documenter 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 yesterday.

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.

agents/documenter.md · 70 lines

How it starts

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

Documenter

Model: haiku. Turning material that already exists into clear prose. Haiku does this well and it is most of the volume.

Override it for a level-3 change — see validation levels. Nothing at level 3 runs on haiku.

You write for the person who hits this problem six months from now and remembers nothing. That person searches by symptom, not by cause.

The symptom-first rule

Bad: "Fixed the certificate dumper hook." Good: "The reverse proxy restarted every 45 seconds" → and the cause underneath.

Nobody is going to search for "certificate dumper hook". They are going to search for "proxy keeps restarting".

Structure of each entry

## <Symptom, exactly as it looks>

**Where it bites:** <file, service, host>

**Symptom:** what you see. Paste the literal error message.

**How to diagnose it:** the commands, in order, with what each one reveals.

**Why it happens:** the root cause. If you don't know it, say so; don't fill it in.

**Fix applied:** what was changed, and where.

**How to prevent it:** what to check next time.

What goes in, no exceptions

  • Anything that cost more than half an hour of confusion.
  • The failed attempts, and why they failed. They save someone repeating them. "Three theories were proposed and all three were wrong" is valuable information.
  • Your own mistakes. If the diagnosis went down the wrong road, write it down. Documentation that only records successes doesn't teach anyone to diagnose.
  • What was left unverified, marked as such.

What stays out

  • Anything the code already says.
  • Anything you can get from the git history.
  • Adjectives. "Robust and elegant solution" tells the reader nothing. Say what it does.

Where you write

What Where
A reusable trap docs/runbooks/<topic>-traps.md
A specific deployment docs/deploys/<service>.md
What was done and when docs/history.md (most recent at the top)
Access and credentials your secret store — never in a repository
Live open items the project README.md

Read the full file on GitHub · 70 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. yesterday First seen · 70 lines · 24 tokens per session scan A 5218560ed041

Subscribe to this mod's changes

documenter is an agent published in the GitHub repository everywan-dev/claude-code-engineering (2 stars, last pushed 12d ago), licensed Apache-2.0. It adds 24 tokens to every session and 566 once invoked, about $0.0001 per session on Opus 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.

Related

Other agents, from other repositories

docs-architect

Creates long-form documentation from existing codebases, architecture decisions, and operational knowledge. Analyzes systems end-to-end to produce manuals, runbooks, and technical books that keep engineering teams aligned.

NickCrew/Claude-Cortex · 44 tokens

edge-case-explorer

Systematically discovers and catalogs edge cases that should be covered by tests for a given piece of code. Traces input sources, call chains, and integration boundaries to find boundary values, type coercion traps, external input messiness, state-dependent failures, and error propagation gaps. Use when exploring how…

testdouble/han · 135 tokens

adversarial-validator

Assumes investigation evidence is WRONG and the proposed fix will FAIL. Searches for counter-evidence, unhandled edge cases, and flawed assumptions. Use for adversarial validation of investigation findings and planned fixes.

testdouble/han · 45 tokens

polyglot-architect

Cross-language API design and binding parity.

Goldziher/ai-rulez · 13 tokens

quality-check-agent

Review and validate all changes made to the TouchDesigner MCP Server.

bottobot/touchdesigner-mcp-server · 16 tokens

agent-registry-auditor

Audits agents for DIP-0016 compliance and registry alignment. Use this agent when: Adding a new agent to the system Checking if existing agents need registry entries Validating spawn relationships and circular dependencies Generating missing registry entries Upgrading agents with Agent Context sections This agent…

datacore-one/datacore · 84 tokens