Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/ValorVie/custom-skillsnpx agentmods add skills/valorvie/custom-skills/docs-generatorWrote 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.
[](https://agentmods.dev/skills/valorvie/custom-skills/docs-generator)<a href="https://agentmods.dev/skills/valorvie/custom-skills/docs-generator"><img src="https://agentmods.dev/badge/skills/valorvie/custom-skills/docs-generator.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01772 |
| Opus 5 | $0.00030 | $0.00886 |
| Sonnet 5 | $0.00012 | $0.00354 |
| Haiku 4.5 | $0.00006 | $0.00177 |
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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 260 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Generator Skill
Language: English | 繁體中文
Version: 1.0.0 Last Updated: 2026-01-26 Applicability: Claude Code Skills
Purpose
Automatically generate comprehensive usage documentation from project source files. This skill creates:
- FEATURE-REFERENCE.md: Complete feature documentation with all details
- CHEATSHEET.md: Single-page quick reference table
Supports multiple languages (English, Traditional Chinese, Simplified Chinese) and scans various sources:
- CLI commands
- Slash commands
- Skills
- Agents
- Workflows
- Core standards
- Scripts
Quick Reference
Generate All Documentation
node scripts/generate-usage-docs.mjs
Generate Specific Language
node scripts/generate-usage-docs.mjs --lang=en # English only
node scripts/generate-usage-docs.mjs --lang=zh-TW # Traditional Chinese
node scripts/generate-usage-docs.mjs --lang=zh-CN # Simplified Chinese
Generate Specific Format
node scripts/generate-usage-docs.mjs --cheatsheet # Cheatsheet only
node scripts/generate-usage-docs.mjs --reference # Reference only
Check Sync Status
# Check if docs need update
node scripts/generate-usage-docs.mjs --check
# Or use sync check script
./scripts/check-usage-docs-sync.sh # Check
./scripts/check-usage-docs-sync.sh --fix # Fix if needed
Configuration
The generator uses .usage-docs.yaml in project root to define:
- Output paths: Where to generate documents
- Languages: Which languages to generate
- Sources: What to scan (CLI, skills, commands, etc.)
- Templates: Document structure templates
Configuration Example (Multi-language)
# .usage-docs.yaml - Full UDS configuration
version: "1.0"
output:
directory: "docs/"
formats: [reference, cheatsheet]
languages: [en, zh-TW, zh-CN]
paths:
en: "docs/"
zh-TW: "locales/zh-TW/docs/"
zh-CN: "locales/zh-CN/docs/"
sources:
cli:
enabled: true
entry: "cli/bin/uds.js"
skills:
enabled: true
directory: "skills/claude-code/"
pattern: "**/SKILL.md"
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.
- 4d ago First seen · 260 lines · 61 tokens per session scan A 2f766cf9fdab
docs-generator is a skill published in the GitHub repository ValorVie/custom-skills (5 stars, last pushed 7d ago), licensed MIT. It adds 61 tokens to every session and 1,772 once invoked, about $0.0003 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-09-03.
Other skills, from other repositories
c-notion
Manage Notion pages and databases from the CLI using notion-cli. Create, read, search, and update pages. Query databases, add entries, and manage blocks and properties.
nano-pdf
Extract text and metadata from PDF files using pdftotext and poppler-utils. Supports full extraction, page ranges, and structured output.
notion
Notion workspace operations - create, read, and update pages, databases, and blocks via the Notion API.
obsidian
Obsidian vault management - create, edit, and search markdown notes in the user's local vault.
gws-sheets
Google Sheets: Read and write spreadsheets.
hive.pdf
Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…