DocWriter

DocWriter is an agent for Claude Code from moneytosms/claude-start. It costs 31 tokens per session (420 once invoked), scanned A, original, MIT.

A documentation-maintenance agent for keeping project guidance and records aligned with the code. It checks CLAUDE.md files and records decisions and major errors in project history files.

In plain words
What is it for?
Use it after significant changes or at the end of a work session to audit documentation, report outdated items, and append confirmed decisions or major errors.
Why use it?
Documentation can become inaccurate after code changes, leaving broken paths, outdated commands, or old dependency names. This agent finds those issues and records information that should remain traceable.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions CLAUDE.md.

Good fit Use it after significant changes or at the end of a work session to audit documentation, report outdated items, and append confirmed decisions or major errors.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/moneytosms/claude-start/docwriter
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.

Clone the repo
git clone --depth 1 https://github.com/moneytosms/claude-start

Made for: Claude Code.

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 DocWriter

README.md
[![agentmods](https://agentmods.dev/badge/agents/moneytosms/claude-start/docwriter/github.svg)](https://agentmods.dev/agents/moneytosms/claude-start/docwriter)
Your own site
<a href="https://agentmods.dev/agents/moneytosms/claude-start/docwriter"><img src="https://agentmods.dev/badge/agents/moneytosms/claude-start/docwriter/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.

agentmods 80×15 button for DocWriter

Your own site · 80×15
<a href="https://agentmods.dev/agents/moneytosms/claude-start/docwriter"><img src="https://agentmods.dev/badge/agents/moneytosms/claude-start/docwriter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00031 $0.00420
Opus 5.5 $0.00012 $0.00168
Sonnet 5.5 $0.00006 $0.00084
Haiku 4.5 $0.00003 $0.00042

Measured 1mo ago against content hash 5848681d6f29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

DocWriter 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 1mo 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.

.claude/agents/DocWriter.md · 66 lines

What it actually says

DocWriter Agent

Documentation maintenance. Keeps decisions.md, errors.md, and CLAUDE.md files accurate.

Model

claude-sonnet-5

Tools

  • Read
  • Write
  • Edit

Instructions

You are a documentation maintenance agent. You are invoked after significant changes or at end of session.

Jobs (run all unless otherwise specified):

1. Audit CLAUDE.md files Walk every CLAUDE.md in major directories. Flag:

  • Dead file paths (referenced path no longer exists)
  • Wrong commands (test/build/format/lint commands that have changed)
  • Outdated dependency names

Write a flagged-items report. Do not auto-fix — report only unless instructed.

2. Append to .claude/decisions.md Format:

## [YYYY-MM-DD] <decision title>
Context: <why this was needed>
Options: <what was considered>
Chosen: <what was picked>
Rejected: <what was dropped and why>

Only append decisions that were actually made this session. Do not invent.

3. Append to .claude/errors.md (only on major errors) Format:

## [YYYY-MM-DD] <error title>
What: <what went wrong>
Why: <root cause>
Rule: <what to do differently going forward>

4. Summarize plan progress If a plan file exists in .claude/plans/ for this session's work, append a progress summary.

Important

  • Review all writes before considering the task done — return a diff summary
  • Do not run unsupervised until the human has reviewed your output at least once
  • Never delete content from decisions.md or errors.md — append only
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. 1mo ago First seen · 66 lines · 31 tokens per session scan A 5848681d6f29

Subscribe to this mod's changes

DocWriter is an agent published in the GitHub repository moneytosms/claude-start (2 stars, last pushed 1mo ago), licensed MIT. It adds 31 tokens to every session and 420 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.

Related

Other agents, from other repositories

harness-coder

Implementation agent for {projectname} — writes code that follows the project's Espalier rules, layer specs, and Solution Selection Ladder (conventions first, correctness within them, clarity then brevity break ties). Spawned by the pipeline at Stage 3 (implementation — under folded test-mode this includes writing the…

Junhanliu-dev/espalier-engineering · 129 tokens

harness-reviewer

Review agent for {projectname} — checks a diff against the project's Espalier conventions, layer boundaries, runtime surfaces, production-readiness seeds, test meaningfulness, and (advisory) minimalism + readability. Spawned fresh by the pipeline each Stage 4 review round (code AND its tests, one verdict) and for the…

Junhanliu-dev/espalier-engineering · 114 tokens

harness-security

Security audit agent that checks the trust boundary — never trust data from the frontend — on a pipeline change (Stage 4 panel) or repo-wide (/espalier-audit repo-audit mode). Audits client input on the money / identity / permission / ownership / state axes reaching an authorization or persistence sink; self-noops on…

Junhanliu-dev/espalier-engineering · 77 tokens

coder

Writes and modifies code files based on the plan.

SabilMurti/Seiza · 12 tokens

prompt-engineer

Optimizes prompts for LLMs and AI systems. Use when building AI features, improving agent performance, or crafting system prompts. Expert in prompt patterns and techniques.

domsen123/mrx-nuxt-template · 37 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens