project-doc-bootstrap

project-doc-bootstrap is a skill for Claude Code, Codex from longranger2/project-doc-bootstrap. It costs 73 tokens per session (1,075 once invoked), scanned A, original, MIT.

A setup guide for creating organised project documentation that helps AI coding agents understand a repository. It uses CLAUDE.md as the main guide and matching AGENTS.md links in relevant folders.

In plain words
What is it for?
Use it when starting project documentation, adding directory-level guides, keeping agent instructions consistent, or setting up checks for documentation changes.
Why use it?
It reduces the need for each new AI session to rediscover how the project is structured and maintained.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it when starting project documentation, adding directory-level guides, keeping agent instructions consistent, or setting up checks for documentation changes.

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

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 project-doc-bootstrap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/longranger2/project-doc-bootstrap/project-doc-bootstrap"><img src="https://agentmods.dev/badge/skills/longranger2/project-doc-bootstrap/project-doc-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,075 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.00073 $0.01075
Opus 5.5 $0.00029 $0.00430
Sonnet 5.5 $0.00015 $0.00215
Haiku 4.5 $0.00007 $0.00108

Measured 2mo ago against content hash 862c7d0ffa9b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

project-doc-bootstrap 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 2mo 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.

SKILL.md · 93 lines

How it starts

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

Project Doc Bootstrap

Use this skill to set up a repository so future AI sessions can reach useful context in a few reads instead of re-deriving structure from source every time.

Default convention:

  • CLAUDE.md is the source of truth.
  • AGENTS.md is a sibling symlink to CLAUDE.md.
  • Every directory that has a CLAUDE.md must also have an AGENTS.md symlink as a sibling. This is a hard invariant — never create one without the other.
  • Docs follow a fractal hierarchy: L1 root guide, L2 directory guides, L3 file-header notes only where needed.

If the user explicitly wants different filenames or a different source-of-truth file, adapt the convention. Otherwise default to CLAUDE.md + AGENTS.md.

When to Use

Use this skill when the user wants to:

  • initialize a new project's AI-facing docs
  • set up CLAUDE.md / AGENTS.md
  • design a directory-level documentation hierarchy
  • make a repo easier for AI to understand and maintain
  • standardize how docs are updated when files move or modules grow
  • install a pre-commit hook that enforces doc-sync at commit time

Quick Start Workflow

  1. Read references/blueprint.md to choose the documentation model.
  2. Read references/workflow.md to bootstrap the repo in the right order.
  3. Read references/templates.md for ready-to-copy templates: CLAUDE.md skeletons, symlink commands, and pre-commit hook scripts.

Core Outcomes

By the end of the task, the repo should have:

  • one root CLAUDE.md that explains architecture, rules, and the doc system
  • one root AGENTS.md -> CLAUDE.md symlink
  • L2 docs for top-level and core module directories
  • L2 docs for subdirectories that cross the documentation threshold
  • explicit rules for when new L2 docs should be created later
  • a pre-commit hook (.git/hooks/pre-commit) that warns when staged source files are in a documented directory whose CLAUDE.md was not also staged (hook is local-only, not committed)
  • a verification pass confirming symlink integrity, hook installation, and obvious gaps

Read the full file on GitHub · 93 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. 2mo ago First seen · 93 lines · 73 tokens per session scan A 862c7d0ffa9b

Subscribe to this mod's changes

project-doc-bootstrap is a skill published in the GitHub repository longranger2/project-doc-bootstrap (2 stars, last pushed 6mo ago), licensed MIT. It adds 73 tokens to every session and 1,075 once invoked, about $0.0003 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

project-doc-bootstrap compared with skills from other repositories

project-doc-bootstrap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
project-doc-bootstraplongranger2/project-doc-bootstrapSkill26mo agoMITA73Claude Code, Codex
cf-clicloudflare/skillsSkill3.3kyesterdayApache-2.0A78Claude Code
ccccocoindex-io/cocoindex-codeSkill3.0kyesterdayApache-2.0A80Claude Code
workers-best-practicescloudflare/skillsSkill3.3kyesterdayApache-2.0A25Claude Code
cloudflare-app-bootstrapcloudflare/skillsSkill3.3kyesterdayApache-2.0A69Claude Code
find-journalistselvisun/newsjackSkill1.7k2d agoMITA58Claude Code
story-origin-checkelvisun/newsjackSkill1.7k2d agoMITA40Claude Code