bootstrap-skill

bootstrap-skill is a skill for Claude Code, Codex from yunzeforbetter/CastFlow. It costs 42 tokens per session (1,284 once invoked), scanned A, original, MIT.

Instructions for installing and updating the CastFlow setup in a project’s .claude folder. CastFlow is a project workflow system for coordinating coding agents and skills.

In plain words
What is it for?
Use it to initialize CastFlow, update its core files, or create project skills such as programmer, architect, debugger, and profiler skills.
Why use it?
It defines the setup process, required questions, templates, and rules for creating module-specific skills without skipping project constraints.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/yunzeforbetter/castflow/bootstrap-skill
Any agent
npx skills add yunzeforbetter/CastFlow --skill bootstrap-skill
Clone the repo
git clone --depth 1 https://github.com/yunzeforbetter/CastFlow

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunzeforbetter/castflow/bootstrap-skill.svg)](https://agentmods.dev/skills/yunzeforbetter/castflow/bootstrap-skill)
Your own site
<a href="https://agentmods.dev/skills/yunzeforbetter/castflow/bootstrap-skill"><img src="https://agentmods.dev/badge/skills/yunzeforbetter/castflow/bootstrap-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,284 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00042 $0.01284
Opus 5 $0.00021 $0.00642
Sonnet 5 $0.00008 $0.00257
Haiku 4.5 $0.00004 $0.00128

Measured 5d ago against content hash c6fc2fb63386, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bootstrap-skill 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 5d 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.

bootstrap-skill/SKILL.md · 82 lines

How it starts

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

bootstrap-skill

作用:装架 CastFlow 到项目 .claude/project/模块 skill 只在 Phase 5 用 子代理 + skill-creator 写。

铁律(与 SKILL_MEMORY 规则 5 一致):主 agent 第一条对外消息只能是 Phase 0 语言询问;该步之前禁止扫项目、读除 EXAMPLES 外文件、写盘。

职责:(1) 全量初始化 (2) 核心更新 (3) 给模块 skill 提供流程与模板入口。

要点:装架后项目里有 skill-creator。Phase 5 手话不抄路径表、不枚举四文件名;子代理由 harness(.castflow/...)读规范,产出写到 项目/.claude/skills/<name>/

必读(读 harness 源,与装架后项目内 .claude/... 为同内容拷贝)
../.castflow/core/skills/SKILL_ITERATION.md → 必读资料栈(创建与冷启动统一)(含 AUTHORING、域 README.template.md 约定)。


快速导航

要查 位置
Phase 0/2/3 话术 EXAMPLES.md#示例-1
cf_manifest、content 占位 EXAMPLES.md#示例-2、#示例-3
模块 skill 对话例 EXAMPLES.md#示例-4
核心更新 EXAMPLES.md#示例-5
域模板(architect/debug/profiler) ../.castflow/bootstrap-assets/skill-templates/<域>.template/ + 各目录 README.md
模块模板 programmer ../.castflow/core/templates/skills/programmer.template/(装架后:项目/.claude/templates/skills/programmer.template/
Phase 5 手话 + skill-creator 上节链到 SKILL_ITERATION;见下 Phase 5
硬规则 SKILL_MEMORY.md
维护 ITERATION_GUIDE.md

运行前置

  1. 先读同目录 EXAMPLES.md 示例 1(Phase 0/2/3 话术),再发第一条对外消息
  2. bootstrap-output/cf_manifest.json 是否存在,决定全量 / 复用 / 更新(见 SKILL_MEMORY)。

全量初始化

前提:castflow 为 submodule(.castflow/),项目有源码。

  • Phase 0:语言菜单,等用户;不落盘。脚本不管语言,见 EXAMPLES。

  • Phase 1:扫技术栈、规模、目录。

  • Phase 2:debug/profiler 开关(一条消息)。

  • Phase 3:命名规范(接在 Phase 2 后,单条消息)。

  • Phase 4(仅装架,一条命令)
    python .castflow/bootstrap.py
    同步到项目 .claude/CLAUDE.md.claude/templates/生成 architect/debug/profiler/programmer-* 正文。
    主命令前需已有 cf_manifest.jsoncontent/claude/
    可选:--claude-md-only / --templates-only
    验收:装架后项目内存在从 core 同步的元规范、protocols、templates、skill-creator 等(以实际仓库为准)。

  • Phase 5禁止bootstrap.py 代写 project skill)

    • 子任务:子代理 + skill-creator,产出 项目/.claude/skills/<name>/
    • 子代理必读SKILL_ITERATION 必读栈 为准(harness 路径在表内、含 .castflow/corebootstrap-assets)。
    • 主 agent 一段话含:目标 skill 名、语言、实值化的栈/目录/{HARNESS} 等;列四文件名。规则 9:SKILL_MEMORY。

Read the full file on GitHub · 82 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. 5d ago First seen · 82 lines · 42 tokens per session scan A c6fc2fb63386

Subscribe to this mod's changes

bootstrap-skill is a skill published in the GitHub repository yunzeforbetter/CastFlow (108 stars, last pushed 2mo ago), licensed MIT. It adds 42 tokens to every session and 1,284 once invoked, about $0.0002 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

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens