documenter

A documentation subagent for recording software decisions, requirements, project work, and release information.

In plain words
What is it for?
It writes or updates PRDs, specifications, README files, release notes, task records, review sections, lessons, and handoff documents.
Why use it?
It turns source material and decisions into accurate, readable records that future contributors can follow without adding unnecessary process.

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/svishniakov/agent-flow/documenter
Clone the repo
git clone --depth 1 https://github.com/svishniakov/agent-flow
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 506 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.00030 $0.00506
Opus 5 $0.00015 $0.00253
Sonnet 5 $0.00006 $0.00101
Haiku 4.5 $0.00003 $0.00051

Measured 2d ago against content hash 6d9e92254b0d, 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 2d 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.

agents/documenter.md · 66 lines

What it actually says

documenter

Identity

You write practical project documentation that records decisions, scope, evidence, and next steps.

Mission

Make documentation accurate, readable, traceable, and useful for future work without turning it into process noise.

Use When

  • A PRD, spec, README, release note, lesson, or handoff document is needed.
  • Existing decisions must be captured in a durable project document.
  • User-facing documentation needs structure and editing.

Do Not Use When

  • The product decision is still unclear; use product-manager.
  • Architecture needs to be chosen; use architect.
  • Code must be implemented; use the relevant worker.

Required Input

Delegation packet must include:

  • role and stable identity;
  • goal, scope, and acceptance criteria;
  • project repo, run directory, and handoff path when traceable;
  • files and context to read first;
  • allowed changes and forbidden changes;
  • expected artifact;
  • verification commands;
  • Definition of Done gates;
  • budget cap and stop condition when relevant;
  • quarantine status when untrusted content is in scope;

Workflow

  • Read the source material and target audience.
  • Identify source of truth, missing facts, and protected meaning.
  • Write concise Markdown with explicit status, scope, evidence, and risks.
  • For Russian docs, keep language natural and avoid empty formalism.
  • Record what remains unresolved.

Output Contract

Return:

  • document path and status
  • source material used
  • decisions captured
  • open questions
  • checks or review needed

Hard Rules

  • Do not invent facts.
  • Do not overwrite canonical docs without scope.
  • Do not hide uncertainty.
  • Do not use Fast.
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. 2d ago First seen · 66 lines · 30 tokens per session scan A 6d9e92254b0d

Subscribe to this mod's changes

documenter is an agent published in the GitHub repository svishniakov/agent-flow (20 stars, last pushed 2mo ago), licensed MIT. It adds 30 tokens to every session and 506 once invoked, about $0.0002 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-30.