blauwtje/exo/build
Claude Code and agent skill by blauwtje/exo
- community
Checking that the SKILL.md file is still in the repository.
Builds a change with a proof for each step and one review of the result. Use when the user asks to build, implement, add or change behavior ('add X', 'implement this', 'make Y do Z'), or to run or resume a plan ('run the plan'). Not for a typo or one-line edit, writing a plan, or a bug whose cause is unknown.
Install
npx vskill@latest install blauwtje/exo/buildSKILL.md
The same SKILL.md was published earlier as blauwtje/exo/build.
Build
Purpose
Build lands a plan one task at a time. A task lands when its proof passes after the change and the plan's Land gate passes; land-task.mjs checks both and commits. A task that changes structure but not behaviour proves itself by the same command giving the same output at the base and at the head; a type check or lint alone shows nothing about behaviour.
Prerequisites
node and git; gh when the run ends on exo:ship.
Instructions
The loop
A plan path runs this loop. With no path and no decided change, run step 2's script with --plan on each file in docs/specs/; when exactly one prints a Next: task, use that plan and say so, and ask for the path when several or none do. --land pushes at the end without asking.
- Settle the workspace. A branch or worktree the request names is the answer; otherwise build on the current branch. On
main, create a branch named after the plan topic and say so, without asking, because a plan run needs its own branch to review.
- Invoking build authorizes commits there; a push waits for
exo:ship, except with--land. - Once the workspace is settled, run
node "${CLAUDE_SKILL_DIR}/scripts/adopt-plan.mjs" --plan <path> --root <checkout>, which commits an untracked or changed plan on this branch, and use thePlan:path it prints for the rest of the run. A non-zero exit is a blocker to report. - Note the run start with
date -u +%Y-%m-%dT%H:%M:%SZ. - Before the first task, run the plan's
Land gate:once, in the background, to a log, and read only the failing lines, unless it isnone. - A failure already there is not any task's, so hand it to
exo:diagnosebefore Task 1 and name it in the final report.
- Ask the branch what landed. Run
node "${CLAUDE_SKILL_DIR}/scripts/build-dispatch.mjs" --plan <path> --root <checkout>, adding--attempt <n>on a retry and--missing-inputwhen the report names a missing input.
- It prints the landed tasks, the
Next:line, aBrief:path, aReport:path, theAgent:andModel:for the Agent call and thePrompt:block; the brief file holds the task text with the plan's Decisions, Non-goals and Facts. - Only a
Plan-task:commit shows what landed, so on a restart rerun it. Next: nonegoes to End of the run.
- Build one task. A task line with
Model: <model> <effort>sets the Agent tool'smodelandeffortfor that builder; else the Models table decides. TheRoute:line picks who builds, and the builder or this session lands the task withland-task.mjs, which proves red then green, runs the Land gate and commits.
Route: builder: send the task of theNext:line to a freshexo:builderin the background, with thePrompt:block it printed and only your own lines added, and wait for its completion notification.Route: builder chain <k>: send one freshexo:builderthe same prompt plus thenext-task.mjscommand path andChain: <k>; it lands up to<k>tasks in sequence.Route: this session: openreferences/self-build.md, then readreferences/code-rules.mdand write the report in the layout ofreferences/run-task-prompt.md, and run the sameland-task.mjscall a builder runs.
- Route the return.
GREENgoes back to step 2; a chain builder returns one status line per task, and each line is routed here, starting at step 2 again. ARemoved test lines:block in the landing report is a weakened test unless the task text asks for the removal, because a loosened test hides a regression; send it to a fix round.
BLOCKED <n> NEEDS ANSWER: <question>: ask the user with the builder's options and recommendation as the question, then re-dispatch that task with the answer in its prompt.PLAN DRIFT: append a## Logline to the plan, then stop and hand the plan back toexo:specwith the builder's reason, because the plan no longer fits the code.- When the reason makes a landed task wrong, add the lines that
node "${CLAUDE_SKILL_DIR}/scripts/undo-task.mjs" --plan <path> --root <checkout> <n>prints. - A builder that returns no status line: read
git statusof its checkout and its report file before sending a fresh builder, and pass both in that builder's prompt. BLOCKED <reason>: append a## Logline to the plan before you report it.- A build that fails once, a self-built task included, goes back to a fresh
exo:builderwith theFailed report:pathnext-task.mjsprinted in its prompt, on the second-attempt row of the Models table that fits its report. BLOCKED proof <command> did not fail first:land-taskrefused the task because its proof passes without the change and so proves nothing.- Send a fresh
exo:builderto tighten that test, or hand the plan toexo:specfor aRed: none (<reason>). - Name the task in the final report.
- A build that fails twice, or a repair that must change a module outside the task's
Files:: stop, report both and hand it toexo:diagnose, because a third try repeats the same premise. - A repair names the rule the code broke and fixes the hits the finding names; one guard that fails on a new instance, at most one new test per cause, so the suite stays small.
Models
| Job | Who | Model, effort | |
|---|---|---|---|
Build a task, Route: builder | exo:builder | Sonnet, medium | |
Build a chain, Route: builder chain <k> | exo:builder | Sonnet, medium | |
Build a task, Route: this session | this session | its own model | |
| Second attempt, the report names a missing input | exo:builder with the Agent tool's model: sonnet and effort: medium, with the missing answer in its prompt | Sonnet, medium | |
| Second attempt, any other failure | exo:builder with the Agent tool's model: opus and effort: high | Opus, high | |
| A design choice the plan leaves open | this session | its own model, high | |
| Find a cause (diagnose investigator) | exo:builder with the Agent tool's model: opus and effort: high | Opus, high | |
Code lookup (Sources: repo) | exo:researcher with the Agent tool's model: haiku and effort: high | Haiku, high | |
| Research | exo:researcher | Sonnet, medium | |
Write a brief (exo:spec, more than 3 tasks) | exo:builder with the Agent tool's model: opus and effort: medium | Opus, medium |
End of the run
- Review the branch diff first, so the last code written is the code checked:
- Call the built-in
code-reviewskill once through the Skill tool with args<effort> <branch>, where<effort>is the word of theReview effort:line thatnext-task.mjsprints withNext: none, ormediumwith no plan. Openreferences/review.mdat that moment and brief the review as it says; it names the code rules in${CLAUDE_SKILL_DIR}/references/code-rules.md. With nocode-reviewskill listed, say no review ran. - Use each finding's severity field (important, nit or pre_existing), counting a finding with no severity as important.
- Send each important finding to one fresh
exo:builder, all in one message, and check every launch result for an error. Start at mostCLAUDE_CODE_MAX_CONCURRENT_SUBAGENTS(20 by default) at once. - Brief each: "write the failing test or repro for this finding in a new test file named for its finding, so parallel builders never share a file; with no repro, drop it". A structure finding's repro is the command whose output shows it, such as the import line or a line count, because a finding nobody reproduced may be wrong.
- Fix only the reproduced findings, in one builder fix round that commits with the land command's
--fix <subject>. - List the dropped findings as unproven, and the nit and pre_existing ones, in the report.
- Run the plan's
Success criterioncommand once, in the background, to a log, and read only the failing lines.
- Then run the plan's
Land gate:command once the same way unless it isnone;land-task.mjsskips a gate whose last pass took 60 s or more, so this is the one run of a slow gate. - A failure goes to one builder fix and one rerun; a second failure ends with what still fails.
- Build the report from the
Diff stat:andPlan-task commits:lines thatnext-task.mjsprinted withNext: none, not from the builders' summaries, which can overstate.
Diff stat: base unknownmeans there is no base: no origin/HEAD and no local main or master, or a checkout on the default branch. Then name the branch, say the diff stat is unknown and build on thePlan-task commits:lines.- State whether the branch is ready, the findings and what the user does next, and label each claim measured, inferred or guess.
- Keep
Proof:lines and## Manual checksout of the message; the task reports in the temp folder hold them. - List every
Noticed:line it printed, so no issue a builder left unfixed is lost. - Run
node "${CLAUDE_SKILL_DIR}/scripts/run-usage.mjs" --session ${CLAUDE_SESSION_ID} --since <start>and put its lines in the report.
- Before ending, commit the plan's new
## Loglines as one commit on the branch, because the plan belongs in the pull request. Skip it when the plan lies outside the checkout or git ignores it, and do not usegit add -f.
- End on
exo:ship, unless the request rules out a push; then say nothing left the machine.--landpasses--landtoship.
No plan
A decided change with no plan file runs the steps in references/no-plan.md, so a small change gets the same proof. Open it when the request has no plan path; it reads references/code-rules.md too.
Examples
Request: "run the plan docs/specs/login.md". Build runs the loop, one fresh exo:builder per task, and ends on exo:ship.
Limitations
- Outside
Route: this session, this session writes at most 2 product files in a run; send anything larger to a builder, one per independent part. - Run no check of your own after a landing.
Available Scripts
| Script | Purpose | Arguments | |
|---|---|---|---|
adopt-plan.mjs | Commits an untracked or changed plan on the build branch, moving it from another checkout of the repository, and prints Plan: <path> | --plan <path> --root <checkout> | |
next-task.mjs | Prints the landed tasks, the Next: line, a Brief: path to a file with the task text and the plan's Decisions, Non-goals and Facts, the Report: path of the task's report and the Dispatch: lines; with Next: none it also prints the review effort, the Review focus: lines, the Diff stat:, the Plan-task commits: and the Noticed: lines of the task reports | --plan <path> --root <checkout> | |
build-dispatch.mjs | Runs next-task.mjs and prints, for the next task, the Agent:, the Model: (none on attempt 1, the retry model on a later attempt, the builder's own with --missing-input) and the Prompt: block of Dispatch: lines | --plan <path> --root <checkout> [--attempt <n>] [--missing-input] | |
undo-task.mjs | Prints the revert commands for one landed task and the landed tasks that depend on it | --plan <plan> --root <checkout> <n> | |
run-usage.mjs | Prints the input tokens, output tokens and minutes of the lead session and each helper transcript since the run start, then the totals | --session <id> --since <ISO time> [--projects <dir>] | |
proof-run.mjs | Runs a proof command in the checkout to <logs>/<name>.log and prints Log: <path>, Exit: <code> and the lines holding not ok, ✖ or FAIL, else the last 40 lines | --name <name> --command <command> | |
land-task.mjs | Proves a task red then green, runs the Land gate and commits | --plan <path> --task <n> --root <checkout>, or --fix <subject> |
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/build/SKILL.md
Popularity
- Repository stars
- 1
- 7-day trend score
- 8
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/blauwtje/exo/build)