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.01283 |
| Opus 5 | $0.00051 | $0.00642 |
| Sonnet 5 | $0.00021 | $0.00257 |
| Haiku 4.5 | $0.00010 | $0.00128 |
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 9d 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 — 83 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. Run
cadence 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.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.
- 9d 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 today), licensed MIT. It adds 103 tokens to every session and 1,283 once invoked, about $0.0005 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-31.
Other skills, from other repositories
argot-setup
Set argot up for a repository end to end — audit its history, decide what should shape its voice, fit, verify the fit actually catches things, tune the rules its own history says are noisy, and wire the places it runs (pre-write hook, pre-commit, MCP, CI). One sitting, one decision at a time, each proposed with the…
using-git-worktrees
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback.
finishing-a-development-branch
Use when implementation is complete, all tests pass, and the user needs to decide how to integrate the work - presents the integration candidates (merge locally, push and open a PR, push only, keep) and executes only the chosen one; never merges on its own.
ph-git
(PH) Use only for an explicit Git operation with scoped status, diff, and transport discipline.
gwm
Manage git worktrees across any repository with the gwm Rust binary (CLI + ratatui TUI). Use when the user asks to create / list / remove / bootstrap / switch / link worktrees, run a command across worktrees (gwm exec) or reclaim build artifacts (gwm clean), materialise a PR into a worktree (gwm review), drive a…
ring:creating-worktrees
Creating an isolated git worktree for parallel branch work: selects the directory by priority order, verifies/adds .gitignore safety, auto-installs the detected toolchain's dependencies, runs a baseline test, and reports readiness. Use before a feature that needs isolation from the main workspace or before executing…