project-bootstrap

project-bootstrap is a skill for Claude Code from twisker/claude-project-bootstrap. It costs 55 tokens per session (2,061 once invoked), scanned A, original, MIT.

A project-starting workflow that creates documentation, collaboration rules, configuration files, Git version hooks, and sprint-planning templates.

In plain words
What is it for?
Use it when starting or initializing a project and when setting up its documentation, technical direction, collaboration model, and delivery planning.
Why use it?
It gives a new project a shared structure for people and AI agents, so expectations and working practices are recorded from the beginning.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

Part of the project-bootstrap plugin — 1 skill shipped together

Good fit Use it when starting or initializing a project and when setting up its documentation, technical direction, collaboration model, and delivery planning.

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

Made for: Claude Code.

Or install project-bootstrap, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/twisker/claude-project-bootstrap/project-bootstrap"><img src="https://agentmods.dev/badge/skills/twisker/claude-project-bootstrap/project-bootstrap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,061 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.00055 $0.02061
Opus 5.5 $0.00022 $0.00824
Sonnet 5.5 $0.00011 $0.00412
Haiku 4.5 $0.00006 $0.00206

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

Security

Grade A, and why

project-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 10d 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.

plugins/project-bootstrap/skills/project-bootstrap/SKILL.md · 147 lines

How it starts

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

Project Bootstrap

为新项目或已有项目建立精简的 AI-Human 协作框架。文档只记录代码里读不出来的决策,规则尽量由 hook 和 CI 强制执行。

用户输入: $ARGUMENTS


Phase 0: 判断模式

$ARGUMENTS 以 adopt 或 upgrade 开头时,使用指定模式。否则按以下顺序判断:

条件 模式
CLAUDE.md 含 <!-- project-bootstrap:2 --> upgrade(只更新脚本)
存在 .claude/tech-spec-registry.md 或 .claude/sprint-plan.md upgrade(迁移旧版结构)
已有提交或源代码 adopt
其他 new

Phase 1: 需求采集

目标: 理解项目的真实意图和边界。信息充足时快速确认,信息不足时多问几轮。不重复询问用户已经说过的内容。

adopt 模式先读取仓库:README、CLAUDE.md、依赖清单、CI 配置、git tag 和已有钩子。能从仓库得出的信息不再询问。

如果用户提供了文档路径,先读取文档并提取信息。然后向用户确认,并补充遗漏项。

必须明确的信息

只有这 4 项不够明确时才提问,一次问完:

  1. 做什么 — 项目名称、解决什么问题、给谁用
  2. 技术栈 — 语言、框架、数据库、部署方式
  3. 团队规模 — 几个人开发,AI 占多大比重
  4. 决策权 — 哪些事情由谁决定

其余内容不单独提问:

  • 代号从项目名称得出。
  • 交付阶段由你根据目标拟定,放进确认摘要。
  • 约束、合规要求和文档语言,只记录用户提到或文档中写明的内容。
  • 是否启用可选模块,根据以上信息判断。

确认

将收集到的信息整理成简要摘要,展示给用户确认,并说明拟定的交付阶段和将启用的可选模块。用户明确表示不用确认时,可跳过这一步。

进入 Phase 2 的条件: 以上 4 项都已明确。


Phase 2: 文件生成

生成规则

  • 所有 {占位符} 都替换为实际内容。不适用的章节直接删除,不标注“不适用”。
  • 只写用户提供或仓库中确认的事实。没有依据的性能指标、覆盖率等阈值不要写。
  • 文档语言跟随用户的对话语言,用户另有指定时除外。
  • 不覆盖已有文件。 已有 README.md、CLAUDE.md 时保留原内容,只追加缺失的部分。原有规则与模板冲突时,保留原有规则。
  • .claude/ 是受保护目录。写入被拒绝时,继续完成其余文件,最后列出未写入的文件。不要换用其他工具绕过。

生成文件清单

生成每个文件前,先读取对应的模板:

  1. 目录不是 git 仓库时,执行 git init
  2. docs/architecture.md — 读取 references/architecture-template.md
  3. docs/plan.md — 读取 references/plan-template.md
  4. README.md — 面向人类阅读:项目名称、架构、模块、技术栈、目录结构、路线图。不放 AI 协作内部细节。
  5. CLAUDE.md — 读取 references/claude-md-template.md
  6. 可选模块 — 读取 references/optional-modules.md,只生成符合启用条件的模块

Phase 3: 自动化

读取 references/scripts-template.md,生成:

  1. scripts/hooks/block-git-push.sh 和 scripts/hooks/verify-on-stop.sh — 把测试命令填入后者。测试还跑不起来时留空,并在 docs/plan.md 第一个 Sprint 加一条 P0 任务:搭建测试,把命令填入 TEST_CMD。
  2. .claude/settings.json — 已存在时合并 hooks 字段
  3. scripts/version.sh 和 scripts/release.sh — adopt 模式下,项目已有版本机制(VERSION、package.json、非 vX.Y.0 形式的 tag)时跳过,继续沿用
  4. .gitignore — 不存在时创建,存在时追加缺失项(.idea/, node_modules/, pycache/, .env 等)
  5. 执行 chmod +x scripts/*.sh scripts/hooks/*.sh

Read the full file on GitHub · 147 lines

Files

What ships with it

5 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. 10d ago Changed · +33 lines · -53 tokens per session 8a1a14087ae0
  2. 2mo ago First seen · 114 lines · 108 tokens per session scan A 8c9b13d3c1e3

Subscribe to this mod's changes

project-bootstrap is a skill published in the GitHub repository twisker/claude-project-bootstrap (14 stars, last pushed 10d ago), licensed MIT. It adds 55 tokens to every session and 2,061 once invoked, about $0.0002 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-30.

Related

project-bootstrap compared with skills from other repositories

project-bootstrap next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
project-bootstraptwisker/claude-project-bootstrapSkill1410d agoMITA55Claude Code
merge-batchdiegosouzapw/OmniRouteSkill85k2d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15ktodayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1ktodayMITA51Claude Code
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4kyesterdayMITA51Claude Code, Codex