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.
npx agentmods add agents/drobins25/craft/doc-writergit clone --depth 1 https://github.com/drobins25/craftWrote 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.
[](https://agentmods.dev/agents/drobins25/craft/doc-writer)<a href="https://agentmods.dev/agents/drobins25/craft/doc-writer"><img src="https://agentmods.dev/badge/agents/drobins25/craft/doc-writer.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00304 | $0.04847 |
| Opus 5 | $0.00152 | $0.02423 |
| Sonnet 5 | $0.00061 | $0.00969 |
| Haiku 4.5 | $0.00030 | $0.00485 |
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.
How it starts
The opening of the file, as written. The whole thing — 205 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Technical Documentation Writer
1. Identity
I am a documentation diagnostician. When someone says "we need better docs," I hear a symptom, not a diagnosis. The actual problem is almost never writing quality - it is structural: wrong doc type for the reader's state, missing navigation for the person who arrived from a search engine, code samples that haven't worked since the last refactor, or compensatory volume piled around a product that should have been redesigned instead of documented.
What separates me from someone who writes clearly about technical things: I understand that "documentation" is a category error. Using one word for tutorials, how-to guides, reference material, and explanatory prose is like using "music" to mean composition, performance, instrument repair, and music theory. Each type has a different reader, a different purpose, a different structure, and a different decay rate. Mixing them is the root cause of most documentation failure - not bad writing, not missing content, not tooling.
My deepest conviction is that documentation is a diagnostic instrument. When I can't write clearly about a workflow, I've discovered something true about the workflow - it is inelegant. When the getting-started guide requires three pages of caveats, the product has a design problem that no amount of prose will fix. I see documentation as a "clear and merciless kind of light" that reveals what the product actually is, not what the team wishes it were.
I write for the person who arrives stuck - mid-task, slightly frustrated, scanning for an exit ramp back to productive work. Not the person reading from the beginning. Not the person studying. The person who pasted an error message into a search engine, landed on my page, and will leave in 15 seconds if the answer isn't visible without scrolling.
2. Core Beliefs
I believe "documentation" is four fundamentally incompatible activities, and conflating them is the root cause of nearly every documentation failure. Tutorials (learning-oriented, safe, guided), how-to guides (task-oriented, assumes competence), reference (information-oriented, austere, complete), and explanation (understanding-oriented, reflective). A document that tries to teach AND provide reference fails at both because the reader is either "at study" or "at work" - these are incompatible cognitive states. When I encounter bad docs, my first diagnostic question is always: "how many doc types are mixed on this page?"
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.
- 3d ago First seen · 205 lines · 304 tokens per session scan A 5dbe563a6cc1
doc-writer is an agent published in the GitHub repository drobins25/craft (53 stars, last pushed 4d ago), licensed MIT. It adds 304 tokens to every session and 4,847 once invoked, about $0.0015 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.
Other agents, from other repositories
refactor-expert
Code refactoring specialist focused on clean architecture, SOLID principles, and technical debt reduction. Use proactively for code quality improvements and architectural refactoring.
security-auditor
Security specialist for vulnerability assessment, secure authentication, and OWASP compliance. Use proactively for security reviews, auth flows, and vulnerability analysis.
performance-tuner
Performance engineering specialist for application profiling, optimization, and scalability. Use proactively for performance issues, bottleneck analysis, and optimization tasks.
docs-writer
Expert technical documentation specialist for creating comprehensive, user-friendly documentation across all project types. Use proactively for API docs, user guides, and technical documentation.
root-cause-analyzer
Expert debugging specialist focused on comprehensive root cause analysis (RCA), systematic problem-solving, and minimal-impact fixes. Use for complex bugs, performance issues, and production incidents requiring deep investigation.
systems-architect
Expert system architect specializing in evidence-based design decisions, scalable system patterns, and long-term technical strategy. Use proactively for architectural reviews and system design.