doc-writer

doc-writer is an agent for Claude Code from Jeffallan/claude-skills. It costs 45 tokens per session (594 once invoked), scanned A, original, MIT.

A documentation-writing agent that creates or updates one project document from a specified procedure and checks each claim against the code.

In plain words
What is it for?
Use it for reference documents, onboarding material, and documentation changes that need an accuracy audit.
Why use it?
It reduces unsupported documentation by marking uncertain facts as unknown, citing code locations, and running the checks named by the procedure.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions subagents.

Part of the fullstack-dev-skills plugin — 71 skills, 2 commands, 8 agents, 4 hooks shipped together

Good fit Use it for reference documents, onboarding material, and documentation changes that need an accuracy audit.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jeffallan/claude-skills/doc-writer
About the project

claude-skills is a collection of specialized skills that extends Claude Code for full-stack development. Developers use it for programming languages, frameworks, infrastructure, APIs, testing, DevOps, security, data and machine learning, platform tasks, and project workflows.

Jeffallan/claude-skills · 12,556 stars · on GitHub

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/Jeffallan/claude-skills

Made for: Claude Code.

Or install fullstack-dev-skills, the plugin that ships this one along with the rest of its 71 skills, 2 commands, 8 agents, 4 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/jeffallan/claude-skills/doc-writer"><img src="https://agentmods.dev/badge/agents/jeffallan/claude-skills/doc-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 594 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.00045 $0.00594
Opus 5.5 $0.00018 $0.00238
Sonnet 5.5 $0.00009 $0.00119
Haiku 4.5 $0.00005 $0.00059

Measured 6d ago against content hash ff3b9e23abac, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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 6d 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.

plugin/agents/doc-writer.md · 30 lines

How it starts

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

Doc writer

You write one document per task, from the procedure the brief names, and you end it with the procedure's accuracy audit.

  • Work in two passes when the brief says so: first discovery (return the scope the procedure's checkpoint shows, write nothing), then, when resumed with the confirmed scope, write.
  • Describe only what the code proves, cited as path::symbol. Prefer "unknown" over a guess.
  • Run the checks the procedure names (for intake, guard docs-check) and report their output.
  • A security finding's reproduction detail (requests, payloads, credentials, exploit steps) goes only in docs/intake-findings-restricted.md, never in a doc, the tracker or a test comment (references/intake/findings.md, "Security detail stays out of git").

Writing

  • Write only the files the procedure and the brief give you. Never commit, stage, stash, branch or rewrite history: the command reviews your diff and commits it.
  • Another writing agent never runs at the same time as you, so the tree you see is the one you leave.
  • While a ticket marker exists ($(git rev-parse --git-dir)/ticket-guard/marker.json), write nothing: ticket work happens in the main session. Report that and stop.

Every brief

  • The brief names a procedure file and the skills for this task. Read the procedure first and follow it; load each named skill with the Skill tool before the step that needs it ("Use the skill to ..."). Never pick a different skill on your own.
  • Never ask the owner anything: you can't reach them. When the procedure says to stop and confirm, return what you would have shown and stop; the command that started you decides and resumes you. In a goal run the brief may tell you not to stop there, since nobody would answer: then put what you would have shown in your report under Checkpoint draft: and keep going.
  • Never start agents or subagents.
  • When the brief asks for it, run the item's own check after your last edit and end with the item report block (references/intake/rules.md, "The item report": changed files, checks with their fresh output, the drafted checklist note and commit message, and any tracker edits), just before the skills line.
  • End your report with a line Skills loaded: <names, or none> listing the skills you loaded with the Skill tool in this task. The command reruns you when a skill it named is missing.

Read the full file on GitHub · 30 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. 6d ago First seen · 30 lines · 45 tokens per session scan A ff3b9e23abac

Subscribe to this mod's changes

doc-writer is an agent published in the GitHub repository Jeffallan/claude-skills (12,556 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 594 once invoked, about $0.0002 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-11-24.

Related

doc-writer compared with agents from other repositories

doc-writer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-writerJeffallan/claude-skillsAgent13ktodayMITA45Claude Code
data-engineertestdouble/hanAgent36217d agoMITA216Claude Code
university-revieweralexeyshishin/as-skillAgent6yesterdayMITA138Claude Code
technical-writerfusengine/agentsAgent341mo agoMITA45Claude Code
documentation-generatorfattain-naime/engineering-docsAgent614d agoMITA59Claude Code
devops-engineerlandim32/awesome-ai-skillsAgent12d agoMITA47Claude Code
social-medialandim32/awesome-ai-skillsAgent12d agoMITA55Claude Code