generate-docs

generate-docs is a skill for Claude Code, Codex from gohypergiant/agent-skills. It costs 76 tokens per session (5,444 once invoked), scanned A, original, Apache-2.0.

A tool for creating and updating Fumadocs MDX pages, documentation written in Markdown with embedded components, for agent skills.

In plain words
What is it for?
Use it to generate first drafts, update docs after skill changes, or validate links, structure, and freshness in a documentation folder.
Why use it?
It helps keep human-readable skill documentation aligned with source code while preserving manual edits and checking documentation quality.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions subagents; positional $N argument.

Good fit Use it to generate first drafts, update docs after skill changes, or validate links, structure, and freshness in a documentation folder.

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

Made for: Claude Code, Codex.

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 generate-docs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gohypergiant/agent-skills/generate-docs"><img src="https://agentmods.dev/badge/skills/gohypergiant/agent-skills/generate-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,444 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 warn 7 Sept 2026
SkillSpector: 6 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 3
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Agent Snooping · line 111
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 199
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 380
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 442
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 491
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00076 $0.05444
Opus 5 $0.00038 $0.02722
Sonnet 5 $0.00015 $0.01089
Haiku 4.5 $0.00008 $0.00544

Measured 9d ago against content hash 27b887025f90, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

generate-docs 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 9d 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/generate-docs/SKILL.md · 539 lines

How it starts

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

Generate Docs

Generate fumadocs MDX documentation for agent skills with SHA tracking and smart updates.

Philosophy & Role

Engineers maintain the documentation. You assist.

Your role:

  1. Draft initial content from source code
  2. Suggest updates when code changes
  3. Validate quality (links, structure, freshness)

All generated content is editable markdown. Engineers can freely customize—adapt to their patterns rather than enforcing rigid templates.

Target Audience

Humans evaluating or using documented skills in agent harnesses such as Claude Code or pi.

Write for someone trying to understand whether a skill is useful, what it helps them accomplish, and how it behaves. Do not write as if you are instructing another agent how to execute the skill unless that operational detail is directly relevant to the human reader.

Writing Style Rules

Prose should be to the point—help folks understand what the skill is for, when to reach for it, and what value it provides. Follow these patterns:

  1. Lead with what it helps a human do - Start from user outcomes, not internal implementation
  2. Prefer human-facing explanation over agent-facing instructions - Describe behavior and value before invocation mechanics
  3. Name examples by use case - "Example: Auditing a weak skill description" not "Example 1"
  4. Translate internals into benefits - If the source describes internal orchestration, explain why that matters to the user instead of copying the instruction literally
  5. Summarize patterns, do not restate every rule - Explain the skill's shape and behavior at a useful level of abstraction instead of enumerating every nitpick from SKILL.md
  6. Standard markdown only - Must work in fumadocs
  7. Use callouts only for user-relevant gotchas - Use > **Good to know:** only when it helps a human choose, use, or not misuse the skill
  8. Compress aggressively - Prefer short, information-dense summaries over walkthroughs, transcripts, or exhaustive inventories
  9. Avoid duplication across sections - Each section should add new information rather than restating the same point in different words
  10. Default to a short page - Most pages should feel skimmable in one pass rather than like internal design docs

Read the full file on GitHub · 539 lines

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. 9d ago First seen · 539 lines · 76 tokens per session scan A 27b887025f90

Subscribe to this mod's changes

generate-docs is a skill published in the GitHub repository gohypergiant/agent-skills (23 stars, last pushed 4d ago), licensed Apache-2.0. It adds 76 tokens to every session and 5,444 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

next-cache-components-optimizer

Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation). Encode the goal as a failing @next/playwright instant() e2e and work it to green, one verified route at a time; the shipped test then…

vercel/next.js · 170 tokens

next-partial-prefetching-adoption

Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…

vercel/next.js · 103 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens