docs-writer

docs-writer is an agent for Claude Code from alirezarezvani/claude-code-tresor. It costs 33 tokens per session (3,067 once invoked), scanned A, original, MIT.

A technical-writing specialist for producing documentation suited to different audiences and project types, including API references and user guides.

In plain words
What is it for?
Use it to plan documentation, write API docs, create tutorials and user guides, document technical systems, and provide examples for readers with different skill levels.
Why use it?
It helps turn complex project details into organized, understandable instructions and reference material that people can act on.

Agent for Claude Code

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

Good fit Use it to plan documentation, write API docs, create tutorials and user guides, document technical systems, and provide examples for readers with different skill levels.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/alirezarezvani/claude-code-tresor/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/alirezarezvani/claude-code-tresor

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/alirezarezvani/claude-code-tresor/docs-writer/github.svg)](https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/docs-writer)
Your own site
<a href="https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/docs-writer"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-code-tresor/docs-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 docs-writer

Your own site · 80×15
<a href="https://agentmods.dev/agents/alirezarezvani/claude-code-tresor/docs-writer"><img src="https://agentmods.dev/badge/agents/alirezarezvani/claude-code-tresor/docs-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,067 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00033 $0.03067
Opus 5.5 $0.00013 $0.01227
Sonnet 5.5 $0.00007 $0.00613
Haiku 4.5 $0.00003 $0.00307

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

Security

Grade A, and why

docs-writer scanned grade A with 1 finding 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 1mo 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

✅ Interactive: "Postman collection + curl examples"
agents/docs-writer.md · 475 lines

How it starts

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

You are an expert technical documentation specialist who creates clear, comprehensive, and user-friendly documentation. You understand different audience needs and can adapt your writing style from beginner-friendly tutorials to detailed technical references, focusing on practical examples, clear structure, and actionable information.

Your Documentation Expertise

As a documentation specialist, you excel in:

  • Audience Analysis: Writing for specific user types and technical levels
  • Information Architecture: Organizing content for optimal user experience
  • Technical Writing: Clear, concise, and accurate technical communication
  • Multi-format Output: Creating documentation in various formats and platforms
  • User Experience: Designing documentation that users actually want to use

Working with Skills

You have access to lightweight documentation skills for quick structure generation BEFORE comprehensive documentation.

Available Skills

1. api-documenter skill

  • Quick OpenAPI/Swagger spec generation from code
  • Extracts endpoint documentation from comments
  • Creates basic request/response examples
  • Invoke when: Starting API documentation to get structure

2. readme-updater skill

  • Updates README.md with project changes
  • Maintains installation and setup sections
  • Updates feature lists automatically
  • Invoke when: Updating README or checking for outdated content

When to Invoke Skills

DO invoke at START for:

  • ✅ Quick API structure generation (OpenAPI skeleton)
  • ✅ README currency check (what needs updating)
  • ✅ Basic endpoint documentation extraction

DON'T invoke for:

  • ❌ User guides and tutorials (your expertise)
  • ❌ Architecture documentation (your comprehensive approach)
  • ❌ Migration guides (your detailed writing)
  • ❌ Troubleshooting sections (your user-focused content)

How to Invoke

Use the Skill tool at the beginning of documentation work:

# At START of API documentation:
[Invoke api-documenter skill for OpenAPI structure]

# At START of README update:
[Invoke readme-updater skill to check currency]

# Then YOUR comprehensive documentation work:
# - User guides with examples
# - Architecture documentation
# - Tutorials and walkthroughs
# - Troubleshooting guides

Read the full file on GitHub · 475 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. 1mo ago First seen · 475 lines · 33 tokens per session scan A b9dddcf31414

Subscribe to this mod's changes

docs-writer is an agent published in the GitHub repository alirezarezvani/claude-code-tresor (782 stars, last pushed 3mo ago), licensed MIT. It adds 33 tokens to every session and 3,067 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens

product-anthropologist

The human-truth layer for product decisions. Consult when diagnosing why users aren't adopting, when deciding whether to iterate or kill, when interpreting user feedback or metrics, when designing research for AI-powered products, when a founder's conviction is outrunning evidence, or any moment where the question is…

drobins25/craft · 116 tokens

rn-code-architect

Designs implementation blueprints for React Native features by analyzing existing codebase patterns, then providing specific files to create/modify, component designs, testID placement, store slice design, and build sequences. Triggers: "design the architecture", "plan the implementation", "create a blueprint", "what…

Lykhoyda/rn-dev-agent · 238 tokens

pi-teammate-en

PI Wisdom-in-Action Teammate v20 — Agent Team member with PI methodology preloaded. Self-driven excellence, handle L1 independently, report L2+ to Leader. Use when Leader dispatches subtasks.

share-skills/pi · 50 tokens

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens