cli-forge-doc

cli-forge-doc is a skill for Claude Code from Destynova2/cli-code-skills. It costs 104 tokens per session (4,637 once invoked), scanned A, original, MIT.

A tool for creating and auditing project documentation from a Git repository, which is a folder containing version-controlled source code and its history. It can produce documents such as contribution guides, architecture notes, and troubleshooting help.

In plain words
What is it for?
Use it to document a project, create or review a README, and generate guides for contributing, understanding the architecture, or fixing problems.
Why use it?
It provides a documented structure for a project instead of leaving important setup and maintenance knowledge scattered across the repository.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: agent in frontmatter; mentions CLAUDE.md; mentions Claude Code.

Part of the cli-code-skills plugin — 38 skills shipped together

Good fit Use it to document a project, create or review a README, and generate guides for contributing, understanding the architecture, or fixing problems.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/destynova2/cli-code-skills/cli-forge-doc
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 Destynova2/cli-code-skills --skill cli-forge-doc
Clone the repo
git clone --depth 1 https://github.com/Destynova2/cli-code-skills

Made for: Claude Code.

Or install cli-code-skills, the plugin that ships this one along with the rest of its 38 skills.

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 cli-forge-doc

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/destynova2/cli-code-skills/cli-forge-doc"><img src="https://agentmods.dev/badge/skills/destynova2/cli-code-skills/cli-forge-doc.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,637 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.00104 $0.04637
Opus 5.5 $0.00042 $0.01855
Sonnet 5.5 $0.00021 $0.00927
Haiku 4.5 $0.00010 $0.00464

Measured 11d ago against content hash 4e83301f9e6c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-forge-doc 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 11d 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.

cli-forge-doc/SKILL.md · 312 lines

How it starts

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

Optimization: This skill uses on-demand loading. Heavy content lives in references/ and is loaded only when needed.

Language rule: Skill instructions are written in English. When generating user-facing output, detect the project's primary language (from README, comments, docs, commit messages) and produce the documentation in that language. If the project is bilingual, ask the user which language to use before proceeding.

Diacritics rule: When the chosen output language uses diacritics (French, Spanish, Portuguese, etc.), render them correctly — including on capitals (É, À, Ç, Ô…). Never strip accents to ASCII: write "sécurité" not "securite", "Rôle" not "Role". ASCII-flattened French is a defect, not a style.

Writing style: Favor clarity — short sentences, one idea per sentence, plain words. A metaphor only when it clarifies. Keep one consistent register (impersonal/infinitive for operational docs). Separate narrative prose, meant to make the reader understand, from telegraphic content (tables, commands, checklists) which stays terse for action.

Reader calibration (the Singh rule): Before writing, name the expected reader and their situation (operator mid-incident, dev at setup, curious newcomer). Match their level — vulgarization means calibrating to the reader, not adding literary polish. For a general audience (Simon Singh's method): a concrete story motivates each concept, one strong analogy per hard idea, worked examples the reader can redo, hard details moved to an appendix. For practitioners (runbooks, how-tos, dev guides) the right level is the opposite of literary: command or fact first, the why in one short line after, imperative mood, no em-dash asides, no narrative voice, no scene-setting intro. If a sentence would read well in a magazine, it is miscalibrated for a runbook.

Reference grammar (the Stripe rule): For reference and operational docs, borrow the mechanics of a great API reference (Stripe's): identical skeleton for every repeated unit (the reader learns the map once), concrete example or command before the abstract dictionary, fixed sentence templates reused throughout (success and failure always both stated — "Returns X…. Raises an error if…"), one verb per operation with zero synonym drift, and typed/badged entries for every parameter (type, default, required/optional). Every stated failure names the next action; a KO without a pointer is a dead end.

Deep links & render gate: Every cross-reference is a clickable link to a validated anchor (dual renderers disagree on anchor slugs by default — align GitLab and pandoc with +gfm_auto_identifiers), and the reference graph is checked: a section the reader must reach (a procedure, a fix) with zero inbound links is unreachable in practice. For docs shipped as PDF or site, the render is the doc's runtime: make the render job blocking, failing on broken anchors and layout overflow (zero Overfull \hbox).

No fabricated output: Never invent command output, console captures, API responses, metrics, or logs. When real output is needed, emit a clearly-marked placeholder (🚧 "replace with a real capture"), never plausible-but-fake text presented as real.

Doc Forge — Dual Documentation Generator & Auditor

Generate production-grade documentation for any Git project, optimized for both AI agents and human readers.

Read the full file on GitHub · 312 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. 11d ago Changed · +4 lines 4e83301f9e6c
  2. 3mo ago First seen · 308 lines · 104 tokens per session scan A 190d106d72ca

Subscribe to this mod's changes

cli-forge-doc is a skill published in the GitHub repository Destynova2/cli-code-skills (6 stars, last pushed 8d ago), licensed MIT. It adds 104 tokens to every session and 4,637 once invoked, about $0.0004 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

cli-forge-doc compared with skills from other repositories

cli-forge-doc next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cli-forge-docDestynova2/cli-code-skillsSkill68d agoMITA104Claude Code
workflowUfoMiao/zcfSkill6.1k11d agoMITA25Claude Code
featUfoMiao/zcfSkill6.1k11d agoMITA5Claude Code
init-projectUfoMiao/zcfSkill6.1k11d agoMITA20Claude Code
ensemble-beads-buildFortiumPartners/ensembleSkill13todayMITA35Claude Code, Codex
skillsFortiumPartners/ensembleSkill13todayMITA0Claude Code
git-townFortiumPartners/ensembleSkill13todayMITA127Claude Code