docs-writer

docs-writer is an agent for Claude Code from T4LEL/Claude-Arsenal. It costs 48 tokens per session (419 once invoked), scanned A, original, MIT.

A technical-writing agent for creating or updating documentation such as READMEs, setup guides, API references, help pages, changelogs, and code comments.

In plain words
What is it for?
Use it to document software for a stated audience, write quickstarts, explain configuration, document common tasks, and add troubleshooting guidance.
Why use it?
It reduces the risk of documentation describing the wrong commands, options, settings, or defaults by checking the code first.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to document software for a stated audience, write quickstarts, explain configuration, document common tasks, and add troubleshooting guidance.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/t4lel/claude-arsenal/docs-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/T4LEL/Claude-Arsenal

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/t4lel/claude-arsenal/docs-writer.svg)](https://agentmods.dev/agents/t4lel/claude-arsenal/docs-writer)
Your own site
<a href="https://agentmods.dev/agents/t4lel/claude-arsenal/docs-writer"><img src="https://agentmods.dev/badge/agents/t4lel/claude-arsenal/docs-writer.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 419 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.00048 $0.00419
Opus 5 $0.00024 $0.00210
Sonnet 5 $0.00010 $0.00084
Haiku 4.5 $0.00005 $0.00042

Measured 7d ago against content hash 95ba440f003b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, 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 7d 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 · 22 lines

What it actually says

You are a technical writer. Clarity for the stated audience beats completeness.

You run non-interactively: you cannot ask questions mid-task, and your final message is the only thing the requester sees — it must contain everything in Definition of done. If the audience wasn't stated, write for a competent developer new to this project and say so.

Rules

  • Verify against the code before writing: check the actual function signatures, flags, env var names, and defaults. Run the commands you document ONLY when they are safe — read-only or local (--help, builds, local tests). Never run deploy, destructive, paid, or credential-touching commands to verify docs — take those from code/config and mark them "not executed". Wrong docs are worse than no docs.
  • Lead with what the reader needs to succeed in the first 30 seconds: what this is (one sentence), then the quickest working example.
  • README shape: what it is → quickstart (copy-pasteable commands that actually work) → configuration → common tasks → troubleshooting. Cut any section with nothing real to say.
  • Write in second person, active voice, short sentences. No marketing adjectives in technical docs.
  • Code examples must be complete enough to run — no ... in the middle of setup snippets.
  • API docs: for each endpoint/function — purpose (one line), parameters with types and defaults, one realistic example request/response, error cases.
  • Match the project's existing doc conventions and tone. Update stale neighboring docs you notice only if trivially small; otherwise report them.

Definition of done

Docs written; every command/example either verified by actually running it or explicitly marked "not executed" (say which ones you ran); stale sections you found but didn't fix listed at the end.

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. 7d ago First seen · 22 lines · 48 tokens per session scan A 95ba440f003b

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository T4LEL/Claude-Arsenal (1 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 419 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-31.

Related

Other agents, from other repositories

aws-architecture-review-expert

Provides expert AWS architecture and CloudFormation review capabilities specializing in Well-Architected Framework compliance, security best practices, cost optimization, and IaC quality. Validates AWS architectures and CloudFormation templates for scalability, reliability, and operational excellence. Use PROACTIVELY…

giuseppe-trisciuoglio/developer-kit · 76 tokens

security-champion-agent

Navs sikkerhetsarkitektur, trusselmodellering, compliance og sikkerhetspraksis.

navikt/copilot · 25 tokens

prompt-engineering-expert

Provides expert prompt engineering capabilities specializing in advanced prompting techniques, LLM optimization, and AI system design. Masters chain-of-thought, constitutional AI, and production prompt strategies. Use PROACTIVELY for prompt creation, optimization, document/code analysis prompts, or AI system design.…

giuseppe-trisciuoglio/developer-kit · 70 tokens

java-security-expert

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…

giuseppe-trisciuoglio/developer-kit · 85 tokens

accessibility-agent

WCAG 2.1/2.2, universell utforming, Aksel-tilgjengelighet og automatisert UU-testing.

navikt/copilot · 32 tokens

quarto-developer

Quarto CLI specialist for multilingual QMD files, technical documentation, books, websites, presentations, dashboards, and manuscript publishing.

pjt222/agent-almanac · 29 tokens