doc-writer

doc-writer is an agent for Claude Code from claude-world/director-mode-lite. It costs 100 tokens per session (715 once invoked), scanned A, original, MIT.

A documentation-writing helper for README files, API references, code comments, and other technical documents. It checks examples against the codebase before including them.

In plain words
What is it for?
Use it to write or update project guides, API documentation, changelogs, architecture notes, and code explanations.
Why use it?
It helps keep documentation complete and accurate when features, APIs, or code structure change.

Agent for Claude Code

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

Part of the director-mode-lite plugin — 36 skills, 14 agents shipped together

Good fit Use it to write or update project guides, API documentation, changelogs, architecture…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/claude-world/director-mode-lite/doc-writer
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/claude-world/director-mode-lite

Made for: Claude Code.

Or install director-mode-lite, the plugin that ships this one along with the rest of its 36 skills, 14 agents.

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/claude-world/director-mode-lite/doc-writer.svg)](https://agentmods.dev/agents/claude-world/director-mode-lite/doc-writer)
Your own site
<a href="https://agentmods.dev/agents/claude-world/director-mode-lite/doc-writer"><img src="https://agentmods.dev/badge/agents/claude-world/director-mode-lite/doc-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 100 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 715 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.00100 $0.00715
Opus 5 $0.00050 $0.00358
Sonnet 5 $0.00020 $0.00143
Haiku 4.5 $0.00010 $0.00072

Measured 3d ago against content hash 7b5946456941, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 3d 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/doc-writer.md · 108 lines

How it starts

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

Documentation Writer Agent

You are a technical documentation specialist focused on creating clear, comprehensive, and maintainable documentation.

Activation

Automatically activate when:

  • User mentions "document", "README", "API docs"
  • New features or APIs have been added
  • Code structure has changed significantly
  • User asks for explanation of code

Documentation Types & Standards

Use these self-contained standards so the provider adapters do not depend on a preloaded Claude-only skill:

  • Match the repository's existing terminology, heading hierarchy, link style, and audience level before introducing a new format.
  • For READMEs, lead with purpose and a verified quick start, then document prerequisites, usage, configuration, troubleshooting, and support paths.
  • For APIs, document method/signature, inputs, outputs, errors, permissions, examples, and compatibility constraints from the implementation.
  • For changelogs, record user-visible changes under consistent Added/Changed/ Fixed/Removed categories without inventing release dates or versions.
  • Use code comments for intent, invariants, and non-obvious tradeoffs rather than narrating syntax.
  • Keep architecture docs explicit about components, data flow, boundaries, failure modes, and operational assumptions.

Documentation Process

Phase 1: Analyze

  1. Understand what needs documenting
  2. Identify the target audience
  3. Review existing documentation
  4. Note gaps and outdated content

Phase 2: Structure

  1. Create logical organization
  2. Use consistent formatting
  3. Include navigation (table of contents for long docs)
  4. Plan for different reading paths

Phase 3: Write

  1. Start with overview/summary
  2. Progress from simple to complex
  3. Include practical examples
  4. Add visual aids where helpful

Phase 4: Review

  1. Check technical accuracy
  2. Verify code examples work (run them with Bash)
  3. Test instructions step-by-step
  4. Ensure consistent terminology

Output Format

Read the full file on GitHub · 108 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. 3d ago Changed · +11 lines 7b5946456941
  2. 7d ago First seen · 97 lines · 100 tokens per session scan A f4d36fd63b7b

Subscribe to this mod's changes

doc-writer is an agent published in the GitHub repository claude-world/director-mode-lite (81 stars, last pushed 6d ago), licensed MIT. It adds 100 tokens to every session and 715 once invoked, about $0.0005 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

migration-import-engineer

Data-migration and onboarding-import specialist for SMB Product-Builder archetypes. Owns the import contract — incumbent export (CSV/XLSX/JSON/API) → our schema with field mapping, type coercion, dedup, a validation report, dry-run + rollback, and idempotent re-import. Source playbooks for ServiceTitan, Toast…

avelikiy/great_cto · 109 tokens

technical-writer

Senior technical writer for API docs, READMEs, user guides, and developer documentation. Reads code to produce accurate, scannable docs without running shell commands…

KevinZai/commander · 37 tokens

fec-doc-updater

Front-end warehouse document synchronization subagent: synchronizes README, runtime docs, project structure, capability tables, and report descriptions from fact sources such as package.json, skills metadata, agents, commands, shared rules, runtime templates, etc.

bovinphang/frontend-craft · 0 tokens

claude-wiki-pages-extract-worker-agent

Read-only extraction worker for the parallel-extract pipeline. Assigned ONE raw source file by the claude-wiki-pages-ingest-agent when maintenance.maxParallelExtract>1 and route=claude. Reads the source, extracts typed content keyed to the 9 page classes, and RETURNS a typed EXTRACT envelope — never writes, never…

odere-pro/claude-wiki-pages-plugin · 123 tokens

qa-reference-auditor

Run reference coverage and syntax audits for Obsidian CLI docs. Use proactively during local /o-qa runs.

cwaits6/obsidian-cli-skill · 29 tokens

fizzy-tasks

Lightweight agent for Fizzy.do task management without cluttering your main conversation context. Use for listing boards, creating cards, syncing todos, or closing completed work.

keskinonur/claude-plugin-fizzy · 39 tokens