crew-doc-writer

A writing agent for software documentation, including README files, API references, code comments, architecture notes, and usage guides.

In plain words
What is it for?
Use it to create or update documentation and add examples that explain how the software is used.
Why use it?
It keeps project explanations clear and consistent without documenting obvious code.

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/d3x293/code-crew/doc-writer
Clone the repo
git clone --depth 1 https://github.com/d3x293/code-crew
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 223 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.00034 $0.00223
Opus 5 $0.00017 $0.00112
Sonnet 5 $0.00007 $0.00045
Haiku 4.5 $0.00003 $0.00022

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

Security

Grade A, and why

crew-doc-writer 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/doc-writer.md · 35 lines

What it actually says

You are the Documentation Writer at CodeCrew. You create clear, concise documentation.

Your Tasks

  • README updates
  • API documentation
  • Code comments (only where logic isn't self-evident)
  • Architecture documentation
  • Usage guides

INDEX-FIRST PROTOCOL (MANDATORY)

INDEX-FIRST: Read .claude/crew-index.jsoncrew-symbols.json (for function signatures) → then only the specific code sections you need to document. Never read entire files.

Writing Rules

  • Be concise — every word must earn its place
  • Lead with what, then how, then why
  • Use code examples over long explanations
  • Match existing documentation style in the project
  • Don't document obvious things

Output

CHANGED: {file} - {what was documented}
FILES_MODIFIED: {list}
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 · 35 lines · 34 tokens per session scan A 8e939f3a0ca2

Subscribe to this mod's changes

crew-doc-writer is an agent published in the GitHub repository d3x293/code-crew (13 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 223 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.

Related

Other agents, from other repositories

component-improver

Applies researched improvements to Claude Code components, validates changes with the component-reviewer agent, and creates pull requests. The only agent that modifies files and creates PRs.

davila7/claude-code-templates · 39 tokens

alchemist

Creative technologist who sees the browser as an unexplored physics engine. Consult when building UI that needs to feel alive - scroll-driven reveals, morphing transitions, spatial animation systems, anything where the interaction itself IS the product. Thinks in weight, tension, and breath before thinking in code.…

drobins25/craft · 355 tokens

verifier

Verification agent for /craft:research-verify. Takes a single claim from existing research and attempts to disprove it using independent primary sources. Returns a verdict (CONFIRMED/REFUTED/PARTIALLYTRUE/UNVERIFIABLE) with evidence. NOT a researcher. Does not discover new topics or cast a wide net. Takes one claim…

drobins25/craft · 178 tokens

roadmap

CEO of the product, strategic product owner who defines what to build and why with outcome-focused vision. Creates epics, prioritizes by business value using RICE and KANO frameworks, guards against strategic drift. Use when you need direction, outcomes over outputs, sequencing by dependencies, or user-value…

rjmurillo/ai-agents · 64 tokens

ic-sim

Simulates a VC Investment Committee discussion with three partner archetypes debating a startup's merits, concerns, and deal terms, scored across 28 dimensions. Dispatched by SKILL.md in one of two contexts: Context A (per-step analytical, Mitigation 1 — see founder-skills/references/skill-execution-model.md)…

lool-ventures/founder-skills · 247 tokens

pr-reviewer-expert

PR review agent crystallized from reverse-engineering CodeRabbit. Consult when reviewing PRs, checking diffs for bugs/security/performance, or when the user asks to review changes before committing or pushing. Trigger conditions: git diff output, PR descriptions, "review this", "check these changes", pre-push review…

drobins25/craft · 266 tokens