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 noho/code-is-cheap --skill phaseflowgit clone --depth 1 https://github.com/noho/code-is-cheapWrote 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/noho/code-is-cheap/phaseflow)<a href="https://agentmods.dev/skills/noho/code-is-cheap/phaseflow"><img src="https://agentmods.dev/badge/skills/noho/code-is-cheap/phaseflow/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/noho/code-is-cheap/phaseflow"><img src="https://agentmods.dev/badge/skills/noho/code-is-cheap/phaseflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00083 | $0.05081 |
| Opus 5.5 | $0.00033 | $0.02032 |
| Sonnet 5.5 | $0.00017 | $0.01016 |
| Haiku 4.5 | $0.00008 | $0.00508 |
Grade A, and why
phaseflow 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 16d 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 — 353 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Phaseflow
Phaseflow 是项目分步总控。定义:phase = work unit。一个 phase/work unit 可以是 feature、issue、bug fix 或其它单个可交付开发单元。
Phaseflow 只做总控任务;除总控任务外的具体任务必须交给 Agent 完成。用户只和 phaseflow 总控交互,其它 Agent 都通过 phaseflow handoff。
Inputs
推荐调用:
$phaseflow design_doc=docs/host/design.md control_doc=docs/host/implementation-control.md
也接受位置参数:
$phaseflow docs/host/design.md docs/host/implementation-control.md
design_doc:设计真源,用于裁决目标、边界、架构、契约、非目标和 review finding。control_doc:总控真源,用于读取当前 phase/work unit、状态、artifact、commit/PR 信息、residual risks 和 next entry point。
缺少任一文档、路径不明确或无法读取时,先停下来询问。
Controller Scope
允许亲自做的总控任务:
- 读取
control_doc、design_doc、artifact、diff、review 结果; - 读取 Gateflow 的
Gate Order和 gate 规则; - 识别当前 phase/work unit、当前 gate、next entry point;
- 执行 preflight;
- 执行 goal confirmation;
- 核对简单计划,判断 Planreview 是否适用;
- 执行 draft PR 交付身份/版本/diff、title/body、必要 CI 和 push 核对;
- 复述当前目标、非目标、约束、风险和下一步;
- 生成交给 Agent 的任务说明;
- 派发 Agent、等待结果、读取结果;
- 裁决 accepted / rejected / deferred / needs-more-evidence findings;
- 更新
control_doc的状态、artifact、commit hash、PR 信息、finding 裁决、residual risk、next entry point; - 做 branch/status 检查、必要 commit / push / create draft PR、记录验证结果等交付 bookkeeping。
必须交给 Agent 的具体任务:
- 足以指导正确实现的 plan;
- implementation;
- fix;
- 适用 Planreview、一轮最终组合版本的完整 Deepreview,以及必要受影响面 re-review;
- source code、tests、migration、schema、配置、运行时行为或产品功能文档修改。
如果具体任务没有可用 Agent 或职责不清,先停下来报告,不要自己补做。
Startup
启动后先读取 control_doc,再按需要读取 design_doc,并读取 Gateflow 的 Gate Order 和 Gate State Machine。首次回复必须包含:
- 当前 phase/work unit;
- 它属于 feature、issue、bug fix 还是其它可交付单元;
- 当前 gate / next entry point;
- Gateflow
Gate Order中下一步对应的 gate; - 将使用的 Agent 派发协议;
- 下一步由总控执行,或将派发给哪个 Agent 做具体任务;
- 将如何使用
design_doc和control_doc裁决结果; - blocking open questions(如有)。
Preflight
任何 discussion、plan、派发或文件修改前,phaseflow 总控先执行与 Gateflow 相同的 preflight:
git branch --show-current
git status --short
如果当前 branch 是 main、master、develop、release/* 或项目定义的 protected trunk branch,先停下来让用户确认创建
工作分支。若 branch、dirty changes 或 scope ownership 不清,也先停下来问用户。
What ships with it
1 file 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.
- 16d ago Changed · -6 lines · -8 tokens per session b87328544210
- 17d ago Changed · +1 lines ea758568f07c
- 29d ago Changed · +18 lines 003f404788a1
- 1mo ago Changed · +11 lines 3a347b35db80
- 2mo ago First seen · 329 lines · 91 tokens per session scan A 1ceb94c469a7
phaseflow is a skill published in the GitHub repository noho/code-is-cheap (94 stars, last pushed 7d ago), licensed Apache-2.0. It adds 83 tokens to every session and 5,081 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-30.
Other skills, from other repositories
story-readiness
Checks whether a story is ready to implement: clear acceptance criteria, no open questions, valid ADR and dependencies. Use when the user asks if a story, or the sprint's stories, are ready to start or build.
recipe-create-meet-space
Create a Google Meet meeting space and share the join link.
workthreads
SpecStory Workthreads - a weekly work-thread rollup across a team's repos from SpecStory coding histories (any agent - Claude Code, Codex, Cursor, Gemini, and more). It groups the window's sessions into threads of work per project and labels each new / open / recently closed, so a lead sees what shipped, what is still…
atmos-config
Atmos root configuration: atmos.yaml discovery, precedence, deep merging, basepath, imports, minimal bootstrap, and routing to narrower Atmos skills.
qa-project-bootstrap
Onboard a new QA engineer to an existing codebase, or audit an existing test architecture. Produces a 30-day ramp plan: codebase orientation, framework walkthrough, test architecture audit, mentorship pairing, and first-test guidance. Use when: "QA onboarding," "new tester," "ramp up," "test architecture audit,"…
remove
Remove a deployed framework or addon from the current workspace.