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.
npx skills add twisker/claude-project-bootstrap --skill project-bootstrapgit clone --depth 1 https://github.com/twisker/claude-project-bootstrapWrote 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/twisker/claude-project-bootstrap/project-bootstrap)<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.
<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>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.00055 | $0.02061 |
| Opus 5.5 | $0.00022 | $0.00824 |
| Sonnet 5.5 | $0.00011 | $0.00412 |
| Haiku 4.5 | $0.00006 | $0.00206 |
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.
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 项不够明确时才提问,一次问完:
- 做什么 — 项目名称、解决什么问题、给谁用
- 技术栈 — 语言、框架、数据库、部署方式
- 团队规模 — 几个人开发,AI 占多大比重
- 决策权 — 哪些事情由谁决定
其余内容不单独提问:
- 代号从项目名称得出。
- 交付阶段由你根据目标拟定,放进确认摘要。
- 约束、合规要求和文档语言,只记录用户提到或文档中写明的内容。
- 是否启用可选模块,根据以上信息判断。
确认
将收集到的信息整理成简要摘要,展示给用户确认,并说明拟定的交付阶段和将启用的可选模块。用户明确表示不用确认时,可跳过这一步。
进入 Phase 2 的条件: 以上 4 项都已明确。
Phase 2: 文件生成
生成规则
- 所有
{占位符}都替换为实际内容。不适用的章节直接删除,不标注“不适用”。 - 只写用户提供或仓库中确认的事实。没有依据的性能指标、覆盖率等阈值不要写。
- 文档语言跟随用户的对话语言,用户另有指定时除外。
- 不覆盖已有文件。 已有
README.md、CLAUDE.md时保留原内容,只追加缺失的部分。原有规则与模板冲突时,保留原有规则。 .claude/是受保护目录。写入被拒绝时,继续完成其余文件,最后列出未写入的文件。不要换用其他工具绕过。
生成文件清单
生成每个文件前,先读取对应的模板:
- 目录不是 git 仓库时,执行
git init docs/architecture.md— 读取references/architecture-template.mddocs/plan.md— 读取references/plan-template.mdREADME.md— 面向人类阅读:项目名称、架构、模块、技术栈、目录结构、路线图。不放 AI 协作内部细节。CLAUDE.md— 读取references/claude-md-template.md- 可选模块 — 读取
references/optional-modules.md,只生成符合启用条件的模块
Phase 3: 自动化
读取 references/scripts-template.md,生成:
scripts/hooks/block-git-push.sh和scripts/hooks/verify-on-stop.sh— 把测试命令填入后者。测试还跑不起来时留空,并在docs/plan.md第一个 Sprint 加一条 P0 任务:搭建测试,把命令填入TEST_CMD。.claude/settings.json— 已存在时合并hooks字段scripts/version.sh和scripts/release.sh—adopt模式下,项目已有版本机制(VERSION、package.json、非vX.Y.0形式的 tag)时跳过,继续沿用.gitignore— 不存在时创建,存在时追加缺失项(.idea/, node_modules/, pycache/, .env 等)- 执行
chmod +x scripts/*.sh scripts/hooks/*.sh
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.
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.
- 10d ago Changed · +33 lines · -53 tokens per session 8a1a14087ae0
- 2mo ago First seen · 114 lines · 108 tokens per session scan A 8c9b13d3c1e3
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.
project-bootstrap compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| project-bootstraptwisker/claude-project-bootstrap | Skill | 14 | 10d ago | MIT | A | 55 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 85k | 2d ago | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | today | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.6k | today | MIT | A | 20 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | today | MIT | A | 51 | Claude Code |
| comet-githubrpamis/comet | Skill | 3.3k | today | MIT | A | 72 | Claude Code, Codex |
| re0-mergeLilMGenius/paperthin | Skill | 1.4k | yesterday | MIT | A | 51 | Claude Code, Codex |