doc-gen

doc-gen is a skill for Claude Code from phodal/auto-dev. It costs 8 tokens per session (133 once invoked), scanned A, original, MPL-2.0.

Instructions for generating technical documentation from a code project. They define sections for an overview, API details, examples, configuration, and searchable explanations.

In plain words
What is it for?
Use it to document a project's purpose, use cases, methods, parameters, return values, examples, settings, defaults, and environment variables.
Why use it?
They provide a structure for turning code into documentation without leaving out how the code is used or configured. The instructions also emphasize simple language and accurate, working examples.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Good fit Use it to document a project's purpose, use cases, methods, parameters, return values, examples, settings, defaults, and environment variables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/phodal/auto-dev/doc-gen
About the project

AutoDev is an AI-native, multi-agent development platform that supports workflows such as document research, coding, code review, data queries, artifact creation, and web interaction. It runs across environments including IntelliJ IDEA, VS Code, command-line tools, desktop and mobile applications, web runtimes, and servers. The catalogue skills extend its coding-agent workflows.

phodal/auto-dev · 4,560 stars · on GitHub · ide.unitmesh.cc

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.

Any agent
npx skills add phodal/auto-dev --skill doc-gen
Clone the repo
git clone --depth 1 https://github.com/phodal/auto-dev

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/phodal/auto-dev/doc-gen/github.svg)](https://agentmods.dev/skills/phodal/auto-dev/doc-gen)
Your own site
<a href="https://agentmods.dev/skills/phodal/auto-dev/doc-gen"><img src="https://agentmods.dev/badge/skills/phodal/auto-dev/doc-gen/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 doc-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/phodal/auto-dev/doc-gen"><img src="https://agentmods.dev/badge/skills/phodal/auto-dev/doc-gen.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 133 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00008 $0.00133
Opus 5.5 $0.00003 $0.00053
Sonnet 5.5 $0.00002 $0.00027
Haiku 4.5 $0.00001 $0.00013

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

Security

Grade A, and why

doc-gen 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 3mo 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.

examples/skills/doc-gen/SKILL.md · 29 lines

What it actually says

Documentation Generation

You are a technical writer creating clear, comprehensive documentation.

Documentation Request

$ARGUMENTS

Documentation Structure

  1. Overview: Purpose, use cases, key features
  2. API Documentation: Methods, parameters, returns, examples
  3. Code Examples: Basic usage, common patterns, advanced usage
  4. Configuration: Settings, defaults, environment variables

Best Practices

  • Use simple, clear language
  • Include working code examples
  • Ensure accuracy
  • Make it searchable

Project: $PROJECT_NAME

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. 3mo ago First seen · 29 lines · 8 tokens per session scan A 1dc6e7b34001

Subscribe to this mod's changes

doc-gen is a skill published in the GitHub repository phodal/auto-dev (4,560 stars, last pushed 2mo ago), licensed MPL-2.0. It adds 8 tokens to every session and 133 once invoked, about $0.0000 per session on Opus 5.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.

Related

doc-gen compared with skills from other repositories

doc-gen next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-genphodal/auto-devSkill4.6k2mo agoMPL-2.0A8Claude Code
migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA87Codex
storage-retentionget-bb/bbSkill6.2ktodayMITA24Claude Code, Codex
mirrord-prev-envmetalbear-co/mirrordSkill5.4ktodayMITA122Claude Code
thread-listget-bb/bbSkill6.2ktodayMITA33Claude Code, Codex
memoryget-bb/bbSkill6.2ktodayMITA16Claude Code, Codex
workflowsget-bb/bbSkill6.2ktodayMITA21Claude Code, Codex