BuildKeel has 15 commands. This page gives each one: what it does, what you can type, and how it behaves in each mode. The commands are the same in both modes, and each adapts to the mode of your spec tree (see Choose a mode).
All commands
Section titled “All commands”| Command | What it does | In Antigravity |
|---|---|---|
| /bk:init | Sets up BuildKeel in this repository, with a new spec tree or an existing one. | /bk-init |
| /bk:capture | Turns what you discussed into a plan: a plain summary, then the artifacts or the change, agreed one by one or all at once. | /bk-capture |
| /bk:new | Drafts an artifact or a change, breaks a parent down into drafts of its children, or records a defect. | /bk-new |
| /bk:approve | Approves a draft or a new version after checking it, or a set of drafts in one review. | /bk-approve |
| /bk:build | Starts a unit and builds it: all of it, the next piece only, or set up to work together. | /bk-build |
| /bk:done | Finishes a unit: checks its tests, then writes its completion record, or archives a change. | /bk-done |
| /bk:review | Reviews the work on a unit or change with fresh reviewers: its spec by ID, its code quality, and tests that try to break it. | /bk-review |
| /bk:pause | Pauses where you are, to pick it up in a new session or on another machine: the work on a unit or change, or an exploration, kept as a thread. | /bk-pause |
| /bk:resume | Resumes paused work, by its ID, or from a list of what is paused, the most recent first. | /bk-resume |
| /bk:status | Shows the overview: the tree, work in progress, claims, gaps and what can be started next. | /bk-status |
| /bk:settings | Shows how the repository is set up: the mode, the process and its gates or the numbering, and the templates. | /bk-settings |
| /bk:impact | Reviews what a change to an approved artifact or a capability spec affects, one suspect at a time. | /bk-impact |
| /bk:onboard | Documents code from before BuildKeel, area by area. | /bk-onboard |
| /bk:stats | Shows your own BuildKeel usage over a period, kept on this machine only. | /bk-stats |
| /bk:migrate | Moves a Spec-driven tree to Full SDLC, or upgrades a spec tree in an older format, without touching approved versions. | /bk-migrate |
How commands ask you
Section titled “How commands ask you”When a command asks a quick choice with nothing to read, such as the pace, it asks with choices, the default listed first: press Enter to take it. When it shows you something to agree, such as a summary, a plan, a document or what finishing will write, Claude writes it out in its reply and asks in plain text at the end: answer in your own words. Agreement goes on; anything else is feedback, which Claude answers point by point, with the final version, before it saves anything.
A command that asks you something first checks that the repository is set up; when it is not, it says so and names /bk:init, and asks nothing.
You can start a command by typing it, or by asking in your own words, such as “let’s capture this” or “build the next task”: Claude then starts it and says so in a line. Claude never starts one on its own initiative. Four commands start only when you type them, since they approve, finish, set up or migrate: /bk:approve, /bk:done, /bk:init and /bk:migrate; asked for one of them in words, Claude asks you to type it. Claude may run /bk:status, /bk:settings and /bk:stats on its own, since they only read, and /bk:pause when you say words such as “let’s stop here”, since it saves nothing until you agree. In Claude Code the four are enforced; Antigravity has no way to enforce it, so there Claude is told to follow it.
/bk:init
Section titled “/bk:init”What it does. Sets up BuildKeel in this repository, with a new spec tree or an existing one. It asks one question at a time and lists every file and setting it will add before anything is written.
What you can type. The path of an existing spec tree, such as /bk:init ../payments-specs. Before any question, it checks that the folder is a git repository, and offers Run git init for me (the default) or Stop when it is not. Typed on its own, it asks where the spec tree lives: In this repository, An existing spec tree or A new spec repository, with Claude’s recommendation first. For a new spec tree, it then asks for the mode: Spec-driven (the default) or Full SDLC. Then it asks about stamping your own commits: Stamp my commits (the default) or Don’t stamp them.
In Full SDLC. It shows the default process as a table, gates included, and asks whether to use it as it is or how your team works, in your own words. It then asks about each topic your answer left out, one at a time, shows the whole process again, and asks whether to go ahead, change something, or stop. Each stage, kind or document you added then gets a template: Claude drafts it (the default) or I’ll provide a file. See Process: stages, kinds and documents.
In Spec-driven. There is no process to choose. It shows how the tree’s IDs read, changes, requirements, scenarios, defects and ad-hoc units, and asks whether to keep them (the default) or change them. Setup ends by asking whether to be guided: Guide me through my first change (the default) or Jump right in. See Your first change.
An existing spec tree keeps its own mode and process, and setup names the mode:
The spec tree follows Spec-driven: capability specs say how the system behaves, and each piece of work is a change to them, with no approvals or gates./bk:capture
Section titled “/bk:capture”What it does. Turns the conversation into a plan. Claude first sums up what it heard in plain words, with the pitfalls raised, then proposes what to draft, then asks the pace: Step by step (the default), each artifact shown and agreed before the next, or All at once. Nothing is saved until you agree, and Claude invents nothing: each gap is yours to decide. Along the way it records the approaches weighed, and, as your settings say, runs edge-case suggestions on test plans and scenarios (without asking, by default), offers design options for an interface several tasks share, and, for larger work, offers the readiness check before it closes, where minor questions are settled as “my call” and yours come with a recommendation. A thread the capture started from is closed with a link to what was saved.
What you can type. Which part of the conversation to capture, such as /bk:capture the text message reset. Typed on its own, it captures the whole conversation. After the summary, it asks: Create the artifacts (the default), Change something, or Keep talking.
Claude reads the capability specs the work touches and proposes one change, as a table of the capabilities it adds or modifies, saying whether it needs a design. The choices are Looks right (the default), Change the plan and Keep talking. Step by step saves the proposal first, which creates the change, then each other file in turn; all at once saves the whole change together. Nothing is approved.
Claude proposes the artifacts your process needs as a table, level by level, and where the work fits in your tree. The choices are Looks right (the default), Place it somewhere else, Change the plan and Keep talking. Step by step goes epic, design document, each story with its test plan, then tasks as one batch. Every artifact stays a draft until it is approved.
/bk:new
Section titled “/bk:new”What it does. Drafts one artifact, breaks a parent down into drafts of its children, or records a defect. After each save, Claude tells you what the draft still lacks.
What you can type. The type, the parent and what to draft, such as /bk:new story EP-01, /bk:new stories from EP-01 or /bk:new defect TK-001. Typed on its own, it asks what to draft, with examples: Suggest what to draft next (the default) or Type what to draft.
What you draft is a change, or one file of an open change: /bk:new change for reset by text message, /bk:new spec change for CH-012. A defect found while building is attached to the change whose work found it, such as /bk:new defect CH-012; a reported one names the requirement it affects, or stands alone. A reported problem is checked against the spec and the code first, and Claude proposes whether it is a defect or a change in behavior.
Types are idea, epic, story, task, test-plan, design and defect, or your team's own names for its stages and documents. Every draft goes through approval, including a reported defect, which has the work it affects as its parent. A defect found while building gets its permanent ID at once.
Created draft EP-01-DD (design document) at epics/EP-01/design/design.md. It is saved; 2 things stand in the way of approval, listed below./bk:approve
Section titled “/bk:approve”What it does. Checks a draft or a new version, shows what approval will do, and approves it once you confirm. Several drafts, such as a captured plan, can be approved in one review.
What you can type. One or more IDs, such as /bk:approve US-draft-k3x9, or /bk:approve US-draft-k3x9@v0 US-draft-k3x9 for a version 0 and its change. Typed on its own, it asks what to approve: The drafts from this conversation, in one review (the default, offered only when drafts were saved in this conversation), Show what is ready to approve (the default otherwise), or Type an artifact ID.
A Spec-driven tree has no approvals. /bk:approve writes nothing, and says so.
Each artifact goes through the approve gate, gets its permanent number, and is approved with its own record and commit.
Ready to approve user story US-draft-k3x9 "Reset link expires" as v1. Approving will:- give it its permanent number: the next user story number, US-002 unless someone else approves one first; its directory becomes stories/US-002/- rewrite references to US-draft-k3x9 in: stories/US-002/test-plan/plan.md- record it against its parent EP-01@v1- freeze v1 and record the approval by Jane Doe <jane@example.com>- commit only those files in the spec repo as "approve: US-002 v1", without pushing/bk:build
Section titled “/bk:build”What it does. Starts a unit and builds it. Starting checks the unit is ready, switches to its branch, claims it (on this machine, and shared on the spec repo’s claims branch), makes it the active unit, and loads its context for Claude; a unit already active is not started again. Then Claude shows what it would build and asks how to go on: Build them all, each in a fresh agent (the default, unless your settings put Build them all here first, or the session cannot start agents), Build them all here, Build the next one only, or Set it up and work together. Each task is reviewed once it is built, by the reviewers that are on; when fixes do not clear a finding, Principal handoff gives it one more round on a stronger tier. A run stops and asks you when a test keeps failing, a requirement is unclear, agreed behavior looks wrong, or the work would change what you agreed. When you change behavior, the spec changes first: see Full SDLC mode in depth and Spec-driven mode in depth. A paused unit or change is resumed, with its brief, and paused ones are listed first; one paused by someone else, or on another machine, is resumed only once you confirm.
What you can type. A unit’s ID, such as /bk:build TK-001 or /bk:build CH-012; a parent’s ID, such as /bk:build US-001 to build its tasks; or the change in words, such as /bk:build fix the footer link, which Claude matches to the titles of the units that can start, or else offers to record as an ad-hoc unit. Typed on its own, it asks what to build: The active unit (the default, when there is one), Show what can be started, or Type an ID or describe the change.
The units are changes, defects and ad-hoc units. No gate runs: a unit starts unless another working tree on this machine holds it. A change's branch comes from its ID and title, such as bk/CH-002-reset-links-expire. Claude builds the change's unticked tasks in order, ticking each once its verification passes and saying so in a line. It does not finish the change: it offers /bk:done.
The units are tasks, stories built without tasks, defects and ad-hoc units. The start gate checks that the unit, everything above it and the documents your process requires are approved, and that none of them is suspect. Under a parent, each ready unit is started, built, reviewed, tested and finished in turn, with its own branch, stacked on the one before, and its own completion record. Independent tasks can be built at the same time, each in its own worktree.
Ready to start (2):- DEF-001 defect "Reset link expires early"- TK-001 task "Reset endpoint"
Not ready yet (1):- TK-002 task "Reset email": The test plan US-001-TP is not approved./bk:done
Section titled “/bk:done”What it does. Finishes a unit with you. It checks the unit without writing anything, shows what finishing will record, and writes the record only once you confirm. The preview shows the context part of the completion record, built from the unit’s working notes, and finishing names any pattern in the records the unit is part of.
What you can type. An ID, such as /bk:done TK-001, /bk:done US-001 for a story built through tasks, or /bk:done CH-002. Typed on its own, it asks what to finish: The active unit in this working tree (the default) or Another unit, or a story or epic whose work is all done. Then it asks: Finish TK-001 (the default) or Stop, and do not finish yet.
The final review reviews nothing twice: only the commits since the last review, with one spec-compliance review of a whole change built in a run. See Reviews and the fix loop.
Finishing a change archives it: its spec changes are merged, and each capability it touches gets its next version. The final review by fresh reviewers runs first, and you choose Fix first or Finish anyway. Nothing blocks the finish but uncommitted work. A change need not be the active unit.
The final review by fresh reviewers runs first. The done gate checks the unit's tests, its branch and its review findings. A story or an epic is finished once every unit under it is done, its defects fixed or closed, and its own test cases pass.
For a defect. Beside finishing it, /bk:done offers Close without a fix, for a defect that turns out not to be one: a duplicate, one that cannot be reproduced, behavior that works as intended, a test that was wrong, or a change in behavior, naming the change, version or item that takes it over. Nothing is written until you confirm. See Small fixes, defects and spikes.
TK-001 "Reset endpoint" v1 can be finished. Finishing will:- write its completion record in the spec tree, built against US-001@v1, EP-01@v1, BI-01@v1, with a summary of its test runs; its record files (working notes, test-run summaries, reviews and the rest) go into it in full and leave the tree- commit only those files in the spec repo as "done: TK-001 v1", without pushing- release its claim on this machine and clear the active unit here; the code branch is left as it is/bk:review
Section titled “/bk:review”What it does. Reviews work with fresh reviewers who did not write it and do not see your conversation: one checks each requirement, acceptance criterion or scenario by ID, one reviews the code’s quality, and one writes tests that try to break it. Each can be turned off in your settings. Each finding has a severity, a file and a line, and is kept on the unit or change until it is fixed, parked as a defect, or rejected with evidence.
What you can type. Nothing, for the active unit or change; an ID, such as /bk:review TK-001 or /bk:review CH-002; or a range of commits, such as /bk:review main..HEAD, whose review is shown and not recorded.
The same in both modes.
/bk:pause
Section titled “/bk:pause”What it does. Pauses where you are, so you can pick it up in this session, a new one, or on another machine. With a unit or change active, it offers to commit uncommitted changes as work in progress or to leave them (named in the record, never discarded), shows the working notes since the last checkpoint, records where things stand and who holds it, and offers to push both repositories. With nothing active, it keeps the conversation as a thread, such as TH-004 "Reset by text message", with the idea, the approaches, your words kept apart from Claude’s proposals, and the next thing to discuss. The Threads setting decides whether it asks first (the default), saves without asking, or saves nothing.
What you can type. Nothing, for the active unit or change, or the conversation when none is active; or an ID, such as /bk:pause TK-013. Saying “let’s stop here” or “I’m switching machines” does the same.
The same in both modes.
/bk:resume
Section titled “/bk:resume”What it does. Resumes paused work. A unit or change starts on its branch with a brief: where things stand, the decisions and dead ends, open questions, the next step, and any files left uncommitted on another machine. A thread shows its brief, and the conversation is then free. Someone else’s work, or work paused on another machine, is resumed only once you confirm taking it over.
What you can type. Nothing, to pick from what is paused, the most recent first; or an ID, such as /bk:resume TK-013 or /bk:resume TH-004.
The same in both modes.
/bk:status
Section titled “/bk:status”What it does. Shows where everything stands: the tree with each artifact’s state, the work in progress, claims, what is missing, what is not shared yet, and what can be started next. It changes nothing. In both modes it also lists paused work, open threads, the active unit’s missing red runs, open review findings, spike branches and the Learning loop’s patterns, each section only when it has something to say.
What you can type. Nothing: /bk:status takes no arguments and asks nothing first.
The overview is about changes and capability specs: open changes with their progress, capability specs at their version in force, and scenarios with no tagged test. When a change is active, it offers to review it: Review CH-002 now (the default) or Not now. The review writes nothing.
The overview shows the tree of stages, coverage gaps, documents still needed, suspects and approvals not pushed.
BuildKeel status: Payments, spec tree /home/ana/payments-specs (format 5)In short: TK-001 is in progress here; 3 units are ready to start; 1 gap in coverage or required documents; 1 approval not pushed; 1 commit with no unit.
Active unit here: TK-001 task "Reset endpoint" on branch bk/TK-001-reset-endpoint.Spec repo: up to date at the last check (2026-10-01T09:00:00Z). Not pushed yet: 1 approval; push the spec repo to share it./bk:settings
Section titled “/bk:settings”What it does. Shows how this repository is set up, at any time: the mode, where the spec tree lives, whether your own commits are stamped, organization templates, whether your usage record is kept, the process with its gates or the numbering, and each template with where it comes from. Then it offers to show any template in full. It changes nothing. It also shows every feature switch with its value and default, the model and effort of each agent role on this host, and the read-only copy’s paths. See Feature switches.
What you can type. Nothing: /bk:settings takes no arguments and asks nothing first. You can also ask in words, such as “what’s our process?”.
It shows the numbering (changes, requirements and scenarios, defects and ad-hoc units) and the lock gate, and the templates of capability specs, a change's files, defects and ad-hoc units.
It shows the process table setup showed, with the documents each stage requires, the gates and task test plans, and the template of each stage, kind and document.
To change a setting, edit buildkeel.yaml or templates/ in the spec tree and commit the change; BuildKeel does not change them after setup. Stamping your own commits is the exception: ask Claude to turn it off or on. See Change your configuration.
/bk:impact
Section titled “/bk:impact”What it does. Shows what a change makes suspect: work and tests built against an older version of something that has changed since. Claude goes through each suspect with you and records only what you decide: still valid, or needs change.
What you can type. An ID, such as /bk:impact US-001 to preview what approving its new version would affect, or /bk:impact US-001-TC2 to review one suspect. Typed on its own, it asks what to review: Every suspect (the default) or Type an ID.
Suspects are tests tagged with a scenario, archived changes, and open defects linked to a requirement, built against a requirement a later capability version modified or removed. An open defect is decided in its own file: it names the version it still applies to, or it is closed. /bk:impact CH-002 previews what archiving an open change would make suspect. Needs change adds a task to revisit it. Suspects never block anything.
A suspect is a task, story, epic, defect or test case. Needs change opens its next version as a draft, and a suspect stops work from starting until it is decided.
2 items are suspect: built against an older version of something that has changed since in what they rely on.
US-001 "Request a reset link", from v1 to v2:- US-001-AC2 changed was: - **US-001-AC2** The link expires after 30 minutes. now: - **US-001-AC2** The link expires after 15 minutes.- US-001-AC3 added now: - **US-001-AC3** A used link cannot be used again.Suspect (2):1. Task TK-001 "Reset endpoint": any change to US-001 affects it. Finished (tasks/TK-001/completions/20261001T120000Z-sam.yaml): 1 commit in payments-api: a1b2c3d Add the reset endpoint. Files: src/reset/endpoint.ts, test/reset.test.ts.2. Test case US-001-TC2 "Link expires" in US-001-TP v1: covers US-001-AC2./bk:onboard
Section titled “/bk:onboard”What it does. Documents code that existed before BuildKeel, one area at a time. Existing code is the code up to each repository’s baseline, the commit it was at when /bk:init set it up. Claude maps the code into areas and drafts each one from the code and what you bring; you correct, complete and confirm it. Run it any time after setup, as often as you like: you can stop after any area and carry on later.
What you can type. An area to onboard, such as /bk:onboard Billing. Typed on its own, it shows where onboarding stands and asks what to do. With no map yet: Map the code (the default), Fill in what onboarding left empty (only when something was), or Stop. With a map: Continue with an area, Adjust the map, Fill in what onboarding left empty or Stop.
Each area is documented as capability specs, version 0, each saved once you confirm it. Moving the tree to Full SDLC is /bk:migrate's, not onboarding's.
Each area is drafted as version 0 of every stage from the business idea down to the story, and its drafts are approved in one review. Then Claude matches the existing tests to the new test cases.
Onboarding: 1 of 3 areas onboarded, from the map in onboarding/map.yaml.
| Area | Paths | Where it stands ||---|---|---|| Password reset | src/reset/ | onboarded: 2 of 2 files described || Billing | src/billing/ | not started: its one file is not described || Accounts | src/accounts/ | partly done: 1 of 2 files described |
Next area: Billing./bk:stats
Section titled “/bk:stats”What it does. Shows your own use of BuildKeel in this spec tree over a period, from a record kept on your machine. Nothing is sent anywhere.
What you can type. A number of days, such as /bk:stats 7, or off, on, delete or export to change the record. Typed on its own, it asks for the period: The last 30 days (the default), The last 7 days, All of it, or Change the record.
It counts changes and what finishing them reported, in place of gate figures.
It counts units finished, the time to done, what the gates caught and the suspects decided.
In the last 30 days (since 2026-09-02): 4 units finished, the gates stopped work 4 times and caught 3 coverage gaps, and 3 suspects were decided.Recorded on this machine only, for Payments; nothing is sent anywhere.
Units finished: 4 (task 3, ad-hoc unit 1).Recorded as ad-hoc units: 1 of 4 (25%).Time from start to done: 1 h 3 min typically (the median), 2 h 30 min at the longest./bk:migrate
Section titled “/bk:migrate”What it does. Upgrades a spec tree in an older format to the one this version of BuildKeel uses, in one commit you can review, with approved versions and records left exactly as they are. With no upgrade due, it moves a Spec-driven tree to Full SDLC.
What you can type. Nothing: /bk:migrate takes no arguments. When an upgrade is due, it shows what migrating changes, then asks: Migrate (the default) or Not now.
With no upgrade due, it offers to move the tree to Full SDLC: Not now (the default) or Move this tree to Full SDLC, once no change is open. Your process is set up first, as /bk:init sets up a new Full SDLC tree, templates included. Then your stages are drafted from the capability specs and archived changes, area by area, for you to review and approve, and the next /bk:migrate carries on where you stopped. Each open defect keeps its ID and goes under the artifact it affects, chosen with you when its requirement does not say. The move is one way.
It upgrades the format when an update needs it; otherwise there is nothing to do.
The spec tree is already in format 5, the one this version of BuildKeel uses; there is nothing to migrate.