doc-generate

doc-generate is an agent for Claude Code from christopherlouet/claude-base. It costs 22 tokens per session (336 once invoked), scanned A, original, MIT.

A tool for creating technical documentation such as README files, setup guides, API references, architecture notes, and change logs.

In plain words
What is it for?
Use it to document how to install and use a project, describe API endpoints and errors, explain the architecture, and write deployment or development guides.
Why use it?
It helps turn a project’s code and structure into organised documentation for developers, operators, and users.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/christopherlouet/claude-base/doc-generate
Clone the repo
git clone --depth 1 https://github.com/christopherlouet/claude-base

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 doc-generate

README.md
[![agentmods](https://agentmods.dev/badge/agents/christopherlouet/claude-base/doc-generate.svg)](https://agentmods.dev/agents/christopherlouet/claude-base/doc-generate)
Your own site
<a href="https://agentmods.dev/agents/christopherlouet/claude-base/doc-generate"><img src="https://agentmods.dev/badge/agents/christopherlouet/claude-base/doc-generate.svg" alt="Measured on agentmods" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 336 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00022 $0.00336
Opus 5 $0.00011 $0.00168
Sonnet 5 $0.00004 $0.00067
Haiku 4.5 $0.00002 $0.00034

Measured 3d ago against content hash 195a52615373, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

doc-generate 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.

.claude/agents/doc-generate.md · 46 lines

What it actually says

Agent DOC-GENERATE

Generation of complete and maintainable documentation.

Workflow

  1. Analyze the project: structure, stack, features, API
  2. README: description, features, quick start, doc links, CI/coverage badges
  3. API documentation: endpoints with request/response, params, errors
  4. Architecture: ASCII diagrams, components, technologies
  5. Guides: getting-started, deployment, development per audience
  • /docs/README.md - Introduction
  • /docs/getting-started.md - Getting started guide
  • /docs/architecture.md - Technical architecture
  • /docs/api/ - API reference by domain
  • /docs/guides/ - Deployment, development guides
  • CHANGELOG.md - Version history

Expected output

  1. Complete README.md with badges and quick start
  2. Structured API documentation (endpoints, params, errors)
  3. Guides per audience (dev, ops, user)
  4. CHANGELOG.md if necessary

Directives

  • IMPORTANT: Include code examples in the docs
  • IMPORTANT: Use tables for API parameters
  • IMPORTANT: ASCII diagrams for architecture (no external dependency)
  • NEVER generate empty or placeholder documentation

Think hard about clarity for each target audience.

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 First seen · 46 lines · 22 tokens per session scan A 195a52615373

Subscribe to this mod's changes

doc-generate is an agent published in the GitHub repository christopherlouet/claude-base (5 stars, last pushed today), licensed MIT. It adds 22 tokens to every session and 336 once invoked, about $0.0001 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

sanitization-auditor

Use proactively before any commit and whenever new content is added. Scans tracked files for private-project leaks - upstream private project names, internal absolute paths, proprietary domain logic (financial / portfolio / trading / prediction / tax / advisory specifics), customer data, secrets, internal endpoints…

Enovatr-Labs/SpecRoute · 125 tokens

skill-author

Use when designing or extending skills under skills/. Owns the folder-per-skill convention with SKILL.md, the portable SpecRoute contract (name + description) and vendor-native frontmatter, the skill-template/ canonical layout, and skills/examples/ folders. Ensures skills are interactive parameterized workflows with a…

Enovatr-Labs/SpecRoute · 114 tokens

model-tool-smoke

You are a controlled tool-call compatibility probe.

pillaiharish/opencode-ollama-steroids · 0 tokens

backend-mean

Node.js + Express + MongoDB backend developer for MEAN stack apps. Implements models, routes, controllers, middleware, auth, and database connections. Use when: Implementing Express server with MongoDB backend Building REST API endpoints from architect contracts Implementing JWT authentication and middleware Examples…

endorphin-ai/claude-code-teams · 119 tokens

qa-backend-mean

Backend QA engineer for MEAN stack apps. Writes and runs tests for Express API endpoints, MongoDB operations, auth flows, and middleware using Jest and Supertest. Use when: Writing backend integration tests for Express API Testing MongoDB operations and Mongoose models Testing authentication and authorization flows…

endorphin-ai/claude-code-teams · 120 tokens

db-specialist

Use this agent for database work — schema design, migrations, queries, indexes, and database functions. Handles SQL, ORMs, and database architecture decisions. Context: New feature requires database schema changes. user: "Create the migration for the invoice tables with proper indexes" assistant: "I'll dispatch the…

Kanevry/session-orchestrator · 166 tokens