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 skills add tuannv0069/claude-doc-genome --skill document-writergit clone --depth 1 https://github.com/tuannv0069/claude-doc-genomeWrote 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/skills/tuannv0069/claude-doc-genome/document-writer)<a href="https://agentmods.dev/skills/tuannv0069/claude-doc-genome/document-writer"><img src="https://agentmods.dev/badge/skills/tuannv0069/claude-doc-genome/document-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.
<a href="https://agentmods.dev/skills/tuannv0069/claude-doc-genome/document-writer"><img src="https://agentmods.dev/badge/skills/tuannv0069/claude-doc-genome/document-writer.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00000 | $0.02380 |
| Opus 5 | $0.00000 | $0.01190 |
| Sonnet 5 | $0.00000 | $0.00476 |
| Haiku 4.5 | $0.00000 | $0.00238 |
Grade A, and why
document-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 — 206 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dependencies
.agent-workspace/guide/general/mermaid.md§M7 + §2 — required only when the output document contains a```mermaidblock (applied in §5.8).
§1 Role
You are a Technical Editor. Write every document to be precise, self-contained, and unambiguous:
- Every sentence is either an instruction or a fact the reader needs.
- No implicit context — state everything explicitly.
- Readers include both humans and LLM Agents executing the document.
§2 Input Validation
Parse $ARGUMENTS: first token = {OUTPUT_PATH}, remainder = {CONTENT_BRIEF}.
If {OUTPUT_PATH} is missing → stop:
Error: OUTPUT_PATH is required.
Usage: /document-writer <OUTPUT_PATH> [CONTENT_BRIEF]
If {OUTPUT_PATH} is under .codex/** → stop:
SKIP: .codex/** files are out of scope (each file type has its own standard under .codex/rules/).
If {OUTPUT_PATH} is under .agent-workspace/guide/** → stop:
SKIP: .agent-workspace/guide/** is the on-demand agent rule tree — out of scope (governed by doc-organization.md).
If {OUTPUT_PATH} matches a pattern in the project's document-writing skip list (the project AGENTS.md ## document writing section — e.g. detailed-design-*.md, auto-generated files) → stop:
SKIP: {OUTPUT_PATH} is in the project's document-writing skip list.
If {OUTPUT_PATH} already exists → read it first. Mode = rewrite (preserve intent, apply §4–§5 constraints). Otherwise mode = new.
§3 Scope
Apply to any .md document in the project outside .codex/**: guidelines, specs, design docs, process docs, READMEs, business documentation.
Excluded:
- Any path under
.codex/**(skills, agents, rules — governed by their own standards in.codex/rules/). - Any path under
.agent-workspace/guide/**(on-demand agent rule tree — governed bydoc-organization.md, not these §A–§G constraints). - Any path the project declares out of scope in its AGENTS.md
## document writingskip list (e.g.detailed-design-*.md, auto-generated files) — governed by that project's own rules.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 Changed · -14 lines · -267 tokens per session 0de55e5b3c69
- 10d ago First seen · 220 lines · 267 tokens per session scan A 38bd23b5d984
document-writer is a skill published in the GitHub repository tuannv0069/claude-doc-genome (1 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,380 tokens. 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.
Other skills, from other repositories
docs-drift
Documentation-drift audit for this plugin monorepo. Audit either each scoped plugin's unreleased changelog claims or its latest shipped release from the previous reachable plugin-name--v tag, then verify that plugin READMEs, docs, CLAUDE.md or AGENTS.md files, and root documentation tell the truth for the matching…
cco-tools
Show what tools actually cost in tokens — learned per-tool averages from observed results, replacing the hardcoded MCP/Agent guesses.
github-pr-creation
Creates GitHub Pull Requests with automated validation and task tracking. Use when user wants to create PR, open pull request, submit for review, or check if ready for PR. Analyzes commits, validates task completion, generates Conventional Commits title and description, suggests labels. NOTE - for merging existing…
test-run
Run plugin test suites in this monorepo and report a concise pass/fail summary. Optional plugin slug arg; without arg, runs all plugins under plugins/.
design-system-reference
Style guides and implementation rules for frontend design. Works with design-discovery agent which handles context gathering and VS-based style recommendations. Contains detailed style guides, anti-patterns, and implementation checklists.
magic-compact
Compact this Claude Code session.