docs-generator

docs-generator is a skill for Claude Code from Montimage/skills. It costs 35 tokens per session (2,093 once invoked), scanned A, original, Apache-2.0.

A skill for reorganizing project documentation, such as README files and API guides, so people can find and understand information more easily. It reviews the project structure before editing and uses a separate branch for changes.

In plain words
What is it for?
It is for creating or restructuring READMEs, documenting code and APIs, and organizing project documentation. An API guide explains how other software can communicate with your project.
Why use it?
It reduces the confusion caused by scattered, unclear, or outdated documentation. It also checks the remote repository first to lower the risk of editing an out-of-date copy.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions subagents.

Good fit It is for creating or restructuring READMEs, documenting code and APIs, and organizing project documentation. An API guide explains how other software can communicate with your project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/montimage/skills/docs-generator
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 Montimage/skills --skill docs-generator
Clone the repo
git clone --depth 1 https://github.com/Montimage/skills

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/montimage/skills/docs-generator"><img src="https://agentmods.dev/badge/skills/montimage/skills/docs-generator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,093 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.
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.00035 $0.02093
Opus 5.5 $0.00014 $0.00837
Sonnet 5.5 $0.00007 $0.00419
Haiku 4.5 $0.00003 $0.00209

Measured 1mo ago against content hash b75e6e75aa0d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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.

skills/docs-generator/SKILL.md · 156 lines

How it starts

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

Documentation Generator

Restructure project documentation for clarity and accessibility.

When to Use

Use this skill when the user requests a clearer README, organized project docs, API references, architecture diagrams, or contributor guidance. Select only the documentation files relevant to the detected project type.

Prerequisites

  • Work in a git repository with a configured origin remote and a clean or safely stashed working tree.
  • Identify the project's entry point, package manifest, test command, and existing documentation before drafting.
  • Have write access to the target documentation paths; do not assume generated docs may replace source-authored content.

Repo Sync Before Edits (mandatory)

Before making any changes, sync with the remote to avoid conflicts:

branch="$(git rev-parse --abbrev-ref HEAD)"
git fetch origin
git pull --rebase origin "$branch"
  1. If git status --porcelain prints any line, run git stash before the sync.
  2. Run the sync commands above.
  3. If you stashed in item 1, run git stash pop after the sync.
  4. If origin is missing, or the pull or the stash pop reports a conflict, stop and ask the user before continuing.

Workflow

After each step, print a Step Completion Report:

◆ Step N — [step name]
  Result:   complete | partial | blocked
  Checks:   [check run] → [observed result]
  Changed:  [paths, or "none"]

0. Create Feature Branch

  1. If the current branch is already a feature branch for this task, skip to Step 1.
  2. Read recent branch names (git branch -a) to find the repo's naming convention (e.g., feat/, feature/).
  3. Create and switch to a branch that follows that convention. If no convention is found, use feat/docs-generator.

1. Analyze Project

Use sub-agents for parallel discovery. Launch these Agent tool calls concurrently to keep the main context clean:

  • Agent 1 — Stack detection: Scan manifests (package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml). Return the project type (library, API, web app, CLI, microservices), architecture (monorepo, multi-package, single module), and primary languages.
  • Agent 2 — Existing docs inventory: Return a checklist of documentation files (README.md, docs/, CONTRIBUTING.md, CHANGELOG.md), each marked present, missing, or outdated.
  • Agent 3 — Purpose and personas: Read the entry point, existing README, and manifest description. Return the purpose, key features, and target users (end users, developers, operators).

Read the full file on GitHub · 156 lines

Files

What ships with it

3 files 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.

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 Changed · +5 lines b75e6e75aa0d
  2. 2mo ago Changed · +40 lines · -90 tokens per session d065782f4e22
  3. 3mo ago First seen · 111 lines · 125 tokens per session scan A b0b95cfd866d

Subscribe to this mod's changes

docs-generator is a skill published in the GitHub repository Montimage/skills (9 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 35 tokens to every session and 2,093 once invoked, about $0.0001 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-31.

Related

docs-generator compared with skills from other repositories

docs-generator next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
docs-generatorMontimage/skillsSkill91mo agoApache-2.0A35Claude Code
claude-md-improveranthropics/claude-plugins-officialSkill49kyesterdayApache-2.0A82Claude Code
agent-platform-model-registrygoogle/skillsSkill26kyesterdayApache-2.0A60Claude Code, Codex
gke-reliabilitygoogle/skillsSkill26kyesterdayApache-2.0A85Claude Code, Codex
gke-workload-securitygoogle/skillsSkill26kyesterdayApache-2.0A171Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill26kyesterdayApache-2.0A132Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k11d agoApache-2.0A56Claude Code