document-generate

document-generate is a skill for Claude Code from timurgaleev/vibestack. It costs 25 tokens per session (6,695 once invoked), scanned A, original, MIT.

A documentation-writing skill for creating tutorials, how-to guides, reference material, or explanations for a feature, module, or project. It uses the Diátaxis framework, which separates documentation by the reader’s goal.

In plain words
What is it for?
Use it to write project documentation, explain a module, create a tutorial, or document a feature.
Why use it?
It fills documentation gaps when a project has little or no useful guidance. It helps organize information so readers can learn, complete tasks, or look up details.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; names the AskUserQuestion tool; mentions AGENTS.md.

Good fit Use it to write project documentation, explain a module, create a tutorial, or document a feature.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/timurgaleev/vibestack/document-generate"><img src="https://agentmods.dev/badge/skills/timurgaleev/vibestack/document-generate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,695 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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: 2 findings, up to medium

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 →

  • medium Rogue Agent · line 8
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Rogue Agent · line 497
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00025 $0.06695
Opus 5.5 $0.00010 $0.02678
Sonnet 5.5 $0.00005 $0.01339
Haiku 4.5 $0.00003 $0.00670

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

Security

Grade A, and why

document-generate scanned grade A with 1 finding 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 22d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

python3 -I -c 'import pathlib,subprocess,sys; subprocess.run(["glab","mr","update","-d",pathlib.Path(sys.argv[1]).read_text()],check=True)' <body-file>
skills/document-generate/SKILL.md · 702 lines

How it starts

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

If this session was compacted, the copy of this skill in context may be cut off. Read ${CLAUDE_SKILL_DIR}/SKILL.md from disk and resume at the step you are on.

When to invoke

Use when asked to "write docs", "generate documentation", "document this feature", "create a tutorial", or "explain this module". "ADR this", "record this decision" or --adr runs ADR mode instead.

Preamble

eval "$("${VIBESTACK_HOME:-$HOME/.vibestack}/bin/vibe-slug" 2>/dev/null)" 2>/dev/null || SLUG="unknown"
_LEARN_FILE="${VIBESTACK_HOME:-$HOME/.vibestack}/projects/${SLUG:-unknown}/learnings.jsonl"
if [ -f "$_LEARN_FILE" ]; then
  _LEARN_COUNT=$(wc -l < "$_LEARN_FILE" 2>/dev/null | tr -d ' ')
  echo "LEARNINGS: $_LEARN_COUNT entries loaded"
  if [ "$_LEARN_COUNT" -gt 5 ] 2>/dev/null; then
    "${VIBESTACK_HOME:-$HOME/.vibestack}/bin/vibe-learnings-search" --limit 5 2>/dev/null || true
  fi
else
  echo "LEARNINGS: none yet"
fi

{{include lib/snippets/session-host.md}}

{{include lib/snippets/decision-brief.md}}

{{include lib/snippets/working-protocols.md}}

{{include lib/snippets/state-protocols.md}}

Step 0: Detect base branch

Determine which branch this work targets, or the repo's default branch. Probes GitHub (gh) and GitLab (glab) before the git-native fallback, so the base is correct on either host:

BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null)
[ -z "$BASE" ] && BASE=$(glab mr view -F json 2>/dev/null \
  | python3 -I -c "import sys,json; print(json.load(sys.stdin).get('target_branch',''))" 2>/dev/null)
[ -z "$BASE" ] && BASE=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||')
[ -z "$BASE" ] && git rev-parse --verify origin/main >/dev/null 2>&1 && BASE=main
[ -z "$BASE" ] && git rev-parse --verify origin/master >/dev/null 2>&1 && BASE=master
[ -z "$BASE" ] && BASE=main
echo "Base branch: $BASE"

Use $BASE in subsequent git diff / git log commands.


Document Generate: Diataxis Documentation Writer

Read the full file on GitHub · 702 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. 22d ago Changed · +4 lines 000da68f3ff9
  2. 1mo ago Changed · +53 lines 63a23c0e814c
  3. 1mo ago Changed · -33 tokens per session 352209ddcdc8
  4. 1mo ago Changed · +123 lines 67e969c6e97b
  5. 2mo ago Changed · +19 lines 6e54145d5f13
  6. 3mo ago First seen · 503 lines · 58 tokens per session scan A 326819c924e4

Subscribe to this mod's changes

document-generate is a skill published in the GitHub repository timurgaleev/vibestack (8 stars, last pushed 20d ago), licensed MIT. It adds 25 tokens to every session and 6,695 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

document-generate compared with skills from other repositories

document-generate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
document-generatetimurgaleev/vibestackSkill820d agoMITA25Claude Code
artifact-deploykirodotdev/KiroCrewSkill5.2ktodayApache-2.0A74Claude Code, Codex
explain-forkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A71Claude Code, Codex
learn-from-sagekirodotdev/KiroCrewSkill5.2ktodayApache-2.0A56Claude Code, Codex
web-verifykirodotdev/KiroCrewSkill5.2ktodayApache-2.0A0Claude Code, Codex
mochi-remindkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A20Claude Code, Codex
web-previewkirodotdev/KiroCrewSkill5.2ktodayApache-2.0A68Claude Code, Codex