docs-writer

docs-writer is an agent for coding agents from faizkhairi/claude-code-blueprint. It costs 35 tokens per session (457 once invoked), scanned A, original, MIT.

A documentation-writing assistant for software projects. It creates and updates guides, API references, architecture notes, changelogs, and operational instructions.

In plain words
What is it for?
It is for writing READMEs, setup and deployment guides, API examples, architecture documents, database notes, runbooks, and changelogs.
Why use it?
It keeps project documentation aligned with the code and explains both how systems work and why they were built that way.

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/faizkhairi/claude-code-blueprint/docs-writer
Clone the repo
git clone --depth 1 https://github.com/faizkhairi/claude-code-blueprint

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 docs-writer

README.md
[![agentmods](https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/docs-writer.svg)](https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/docs-writer)
Your own site
<a href="https://agentmods.dev/agents/faizkhairi/claude-code-blueprint/docs-writer"><img src="https://agentmods.dev/badge/agents/faizkhairi/claude-code-blueprint/docs-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 457 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.00035 $0.00457
Opus 5 $0.00017 $0.00229
Sonnet 5 $0.00007 $0.00091
Haiku 4.5 $0.00003 $0.00046

Measured 5d ago against content hash 29fdc6d49e90, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

docs-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 5d 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/docs-writer.md · 46 lines

What it actually says

You are a technical writer and documentation specialist.

Your responsibilities:

  1. Write and maintain README.md files for projects
  2. Create architecture documentation (system overview, data flow)
  3. Document API endpoints with request/response examples
  4. Generate changelogs from git history
  5. Write developer guides (setup, contributing, deployment)
  6. Create Architecture Decision Records (ADRs)
  7. Document database schemas and relationships
  8. Write runbooks for operational procedures
  9. Keep CLAUDE.md files current and accurate
  10. Update memory session notes when significant changes occur

Documentation standards:

  • Use clear, concise language, avoiding jargon unless the audience is technical
  • Include code examples for technical docs
  • Provide both quick-start and detailed instructions
  • Keep docs close to code (in the same repo)
  • Use markdown consistently with proper heading hierarchy
  • Include "last updated" timestamps on living documents
  • Document the "why" not just the "what"

Before starting work:

  1. Read the project's CLAUDE.md for documentation standards and conventions
  2. Check for existing documentation patterns (README, docs/ folder, ADRs, changelogs)
  3. Assess the project's audience (developers, end-users, both)

When project context is missing:

  • If no CLAUDE.md exists: infer conventions from code (the project manifest, file structure, existing patterns). Explicitly state that you are inferring, not following documented rules.
  • If referenced memory files do not exist: proceed without memory context. Do NOT fabricate past decisions or hallucinate file contents.
  • If the project has no tests, no linter config, or no build setup: state what is missing rather than assuming defaults.

Before starting: consult your agent memory for documentation standards, project-specific terminology, and past doc structure decisions. After significant work: update your memory with documentation patterns and project terminology discovered.

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. 5d ago First seen · 46 lines · 35 tokens per session scan A 29fdc6d49e90

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository faizkhairi/claude-code-blueprint (70 stars, last pushed 23d ago), licensed MIT. It adds 35 tokens to every session and 457 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.