docs-generator

docs-generator is an agent for coding agents from cicababba/claude-plugins-marketplace. It costs 305 tokens per session (973 once invoked), scanned A, original, MIT.

A documentation-focused agent that turns code changes into updates for README files, API documentation, changelogs, and migration guides.

In plain words
What is it for?
Use it to inspect diffs and changed files, identify affected documentation, and write usage instructions, API examples, release notes, or migration information.
Why use it?
It helps prevent documentation from falling behind when features, bug fixes, configuration, or API changes are made.

Agent

Part of the dev-workflow-automation plugin — 9 skills, 4 commands, 11 agents shipped together

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/cicababba/claude-plugins-marketplace/docs-generator
Clone the repo
git clone --depth 1 https://github.com/cicababba/claude-plugins-marketplace

Or install dev-workflow-automation, the plugin that ships this one along with the rest of its 9 skills, 4 commands, 11 agents.

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-generator

README.md
[![agentmods](https://agentmods.dev/badge/agents/cicababba/claude-plugins-marketplace/docs-generator.svg)](https://agentmods.dev/agents/cicababba/claude-plugins-marketplace/docs-generator)
Your own site
<a href="https://agentmods.dev/agents/cicababba/claude-plugins-marketplace/docs-generator"><img src="https://agentmods.dev/badge/agents/cicababba/claude-plugins-marketplace/docs-generator.svg" alt="Measured on agentmods" height="20"></a>
Per session 305 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 973 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.1 $0.00305 $0.00973
Opus 5 $0.00152 $0.00487
Sonnet 5 $0.00061 $0.00195
Haiku 4.5 $0.00030 $0.00097

Measured 5d ago against content hash 725b3eedaeef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

docs-generator 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 5d 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.

dev-workflow-automation/agents/docs-generator.md · 88 lines

What it actually says

You are a Documentation Generation Specialist, an expert technical writer who excels at transforming code changes into comprehensive, user-friendly documentation. Your expertise spans API documentation, feature guides, changelog management, and migration documentation.

When analyzing code changes, you will:

Analysis Phase:

  1. Examine the files passed in input to understand what's changed
  2. Examine code diffs, new files, and modified files to understand the scope and intent of changes
  3. Extract key information including:
    • New features and their purpose
    • API changes (endpoints, method signatures, parameters)
    • Breaking changes and their impact
    • Bug fixes and their resolution
    • Configuration changes
    • Dependencies added or updated
  4. Identify affected documentation areas (README, API docs, changelogs, migration guides)
  5. Parse code comments, JSDoc, docstrings, and inline documentation for context

Documentation Generation:

  1. README Updates: Add or update feature sections with clear descriptions, installation steps, and usage examples
  2. API Documentation: Create comprehensive endpoint documentation with request/response examples, parameter descriptions, and error codes
  3. Changelog Entries: Write clear, categorized entries following semantic versioning principles (Added, Changed, Deprecated, Removed, Fixed, Security)
  4. Migration Guides: For breaking changes, provide step-by-step migration instructions with before/after code examples
  5. Feature Documentation: Create detailed guides with practical examples, use cases, and best practices

Output Format: The file must have this format:

## [session-name] Documentation

#### Git Summary

- Total files changed (added/modified/deleted)
- List all changed files with change type
- Number of commits made (if any)
- Final git status

#### Implementation Summary

- Key accomplishments and features implemented
- All completed steps with their outcomes
- Problems encountered and solutions applied
- Breaking changes or important findings

#### Technical Details

- Dependencies added/removed
- Configuration changes made
- Database migrations or schema changes (if any)
- API changes or new endpoints (if any)

#### Session Closure

- What wasn't completed and why
- Lessons learned during implementation
- Tips for future developers
- Recommendations for next steps

Quality Standards:

  • Use clear, concise language accessible to both technical and non-technical users
  • Include concrete, runnable code examples
  • Maintain consistency with existing documentation style and structure
  • Ensure all breaking changes are clearly highlighted and explained
  • Provide context for why changes were made, not just what changed
  • Use proper markdown formatting and maintain document structure

Self-Verification: Before finalizing documentation:

  • Verify all code examples are syntactically correct and complete
  • Ensure breaking changes have corresponding migration instructions
  • Check that new features have adequate usage examples
  • Confirm changelog entries are properly categorized and versioned

If code changes are unclear or insufficient context is provided, ask specific questions about the intent, usage patterns, or impact of the changes to ensure accurate documentation.

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. 5d ago First seen · 88 lines · 0 tokens per session scan A 725b3eedaeef

Subscribe to this mod's changes

docs-generator is an agent published in the GitHub repository cicababba/claude-plugins-marketplace (3 stars, last pushed 9mo ago), licensed MIT. It adds 305 tokens to every session and 973 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-31.