Borrowing it
Nothing to install: this file belongs to thomas-powers-jr/cadence. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/thomas-powers-jr/cadence/main/.claude/skills/phase-build/SKILL.mdgit clone --depth 1 https://github.com/thomas-powers-jr/cadenceWrote 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/thomas-powers-jr/cadence/phase-build)<a href="https://agentmods.dev/skills/thomas-powers-jr/cadence/phase-build"><img src="https://agentmods.dev/badge/skills/thomas-powers-jr/cadence/phase-build/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/thomas-powers-jr/cadence/phase-build"><img src="https://agentmods.dev/badge/skills/thomas-powers-jr/cadence/phase-build.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.00103 | $0.01465 |
| Opus 5.5 | $0.00041 | $0.00586 |
| Sonnet 5.5 | $0.00021 | $0.00293 |
| Haiku 4.5 | $0.00010 | $0.00146 |
Grade A, and why
phase-build 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 1mo 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Phase build (subagent-driven, verification-first)
The core rule this pipeline exists to enforce: a subagent's "done, all tests passing" is not evidence. Subagents in this repo have twice claimed all-green over real failures. Every completion claim gets re-verified in the main thread before it is recorded.
Preconditions
- Loop position is BUILD (or DRAFT with an approved draft — run
cadence progress). - Read the DRAFT:
.cadence/phases/<phase>/<id>-DRAFT.md. Note each task'sfiles:boundary,verify:command, anddone: AC-Nmapping. Respect## Boundaries(the Do-NOT list) absolutely.
Pipeline
- Isolate. Enter a git worktree for the phase (native worktree tool
preferred over manual
git worktree add; convention: branchfeat/<slug>, worktree under.claude/worktrees/<slug>). Before any commit in this pipeline, confirmgit rev-parse --show-toplevelpoints at the worktree — a subagent has committed to the primary checkout by mistake. If this build is deliberately running parallel agents (this phase and another in flight at once), isolate to a worktree/branch from task 1 — before any subagent touches a file — not reactively after afiles:conflict is noticed. Also confirm no other live session already holds this phase/draft (check for a runningcadenceprocess, an open terminal, or recentPROGRESS.jsonactivity viacadence doctor) before dispatching into it; if one might still be running, resume that session in place instead of starting a second one against the same draft. - Plan waves. Run
cadence dispatch plan --json. It computes dispatch waves fromdepends:edges andfiles:-overlap edges. Never parallelize two tasks whosefiles:overlap, even if the plan seems to allow it. - Per wave — implement. Dispatch one implementer subagent per task in
the wave (parallel Task-tool calls). Each prompt must contain: the task's
full DRAFT text, its
files:boundary ("touch nothing else"), TDD order (failing test referencing theAC-Ntoken inside an assertingit()/test()block, then implementation), the exactverify:command, and an instruction to report the commands it ran with their real output. - Per task — review. Dispatch a fresh, independent reviewer subagent per
completed task: adversarial, diff-scoped, checks boundary compliance, test
honesty (assertions, not
AC-Ncomment drops), and DRAFT conformance. Findings go back to a fix round, then re-review. - Per task — re-verify yourself. In the main thread: read the actual
diff, then run the full pipeline yourself —
pnpm turbo run lint typecheck test build(package-filtered while iterating; full before the wave closes). Only after this passes, recordcadence done <T>. Never record DONE from a report. - Whole-branch review. After all waves: one fresh subagent reviews the entire branch diff against the DRAFT's Objective + ACs. It must return "ready to merge" with zero Critical/Important findings. History says this pass catches real defects the per-task reviews miss (an ordering bug, doc prose describing a pre-fix algorithm, stale code comments) — do not skip it for "simple" phases.
- Settle, one commit. First write the phase's
### Phase N — <title>entry in.cadence/ROADMAP.mdand its- **Phase N** — <summary>bullet in.cadence/MILESTONES.md, in final form — no(in progress)marker (the PR number may be absent until merge). Roadmap prose is never auto-generated: a successful settle only prints a stderr notice naming a missing entry. In this reporoadmap-per-phase-entries.test.tsrequires both entries for every settled phase (one whose directory holds a-SUMMARY.json), so a missing entry turns the PR's CI red — and after a refused settle has written its SUMMARY, the retry'sbuild-test-must-passtoo. Then runcadence settle run --auto— if it refuses, the gate is right until proven otherwise; fix the cause, don't reach for--force/--allow-*. Once it passes, stage everything together — source, tests, docs, the ROADMAP/MILESTONES entries, the.changeset/*.mdfor this phase (feature PRs carry their own changeset, never deferred to the release PR), and the phase artifacts (-DRAFT.md,-PROGRESS.json,-SUMMARY.*, and-SUMMARY-snapshot.*if the phase produced any refused-attempt siblings — phase 247) — and make one commit (feat:/fix:, phase id in the subject).state.json/STATE.mdstay gitignored, never committed. If the phase closes a Praxis recommendation, promote it toshippedin this same commit. - Land. Exit the worktree, then invoke the
pr-landskill.
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.
- 1mo ago Changed · +11 lines 3b3ad7f9c9d6
- 2mo ago First seen · 83 lines · 103 tokens per session scan A feaf42550657
phase-build is a skill published in the GitHub repository thomas-powers-jr/cadence (2 stars, last pushed yesterday), licensed MIT. It adds 103 tokens to every session and 1,465 once invoked, about $0.0004 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.
phase-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| phase-buildthomas-powers-jr/cadence | Skill | 2 | yesterday | MIT | A | 103 | Claude Code |
| git-workflowericrisco/rsc-harness | Skill | 503 | 2d ago | MIT | A | 127 | Claude Code, Codex |
| argot-setupget-tmonier/argot | Skill | 52 | 5d ago | MIT | A | 129 | Claude Code |
| using-git-worktreestransparent-pegasus/herdrpowers | Skill | 14 | 3d ago | MIT | A | 36 | Claude Code |
| finishing-a-development-branchtransparent-pegasus/herdrpowers | Skill | 14 | 3d ago | MIT | A | 60 | Claude Code |
| worktree-isolationInsajin/autopus-adk | Skill | 111 | 1mo ago | MIT | A | 15 | Claude Code, Codex |
| git-worktreesInsajin/autopus-adk | Skill | 111 | 1mo ago | MIT | A | 18 | Claude Code, Codex |