This page installs BuildKeel in Claude Code or in Antigravity, checks that it works, and shows how to update or remove it. Install it one way, then set up your repository with Your first change.
Before you start
Section titled “Before you start”You need three things on your machine.
- Claude Code or Antigravity.
- Node.js 20 or later. It comes with
npx, which the Antigravity install uses. Check withnode --version. If it is missing or older, install it from nodejs.org or with your version manager (for examplenvm install 20). BuildKeel tells you if it cannot find a suitable Node.js. - git.
1. Install in Claude Code
Section titled “1. Install in Claude Code”You install BuildKeel from its marketplace, the public repository each version of BuildKeel is published to.
-
Open Claude Code.
-
Add BuildKeel’s marketplace:
/plugin marketplace add BuildKeel/buildkeel -
Install BuildKeel from it:
/plugin install bk@buildkeel -
Choose where to install it when Claude Code asks:
- For you, in every project on this machine.
- For everyone working in this repository. Claude Code records it in the repository’s
.claude/settings.json. Commit that file so the people working in the repository get BuildKeel too. - For you, in this repository only.
-
If Claude Code says to run
/reload-plugins, run it, or start a new session.
From a terminal instead, with --scope user (for you), project (for everyone working in the repository) or local (for you, in this repository only):
claude plugin marketplace add BuildKeel/buildkeelclaude plugin install bk@buildkeel --scope userInstalling is not setting up. Installing makes BuildKeel’s commands available on your machine. Each repository is then set up once with /bk:init, which writes its .buildkeel.yaml and points it at a spec tree; the people working in it commit that, and nobody runs /bk:init there again.
A teammate, after cloning a repository that is set up, installs BuildKeel for their own host (Claude Code offers it on its own when it was installed for everyone working in the repository) and, when the spec tree has a repository of its own, clones that too. Nothing else: the repository is set up already.
2. Install in Antigravity
Section titled “2. Install in Antigravity”This installs BuildKeel for every project you open in Antigravity.
-
In a terminal, run:
Terminal window npx buildkeel installThis puts BuildKeel in
~/.gemini/config/plugins/buildkeel/. -
Quit Antigravity if it is running.
-
Open Antigravity again with your project.
-
Start a new conversation.
Antigravity starts BuildKeel’s server once and keeps it running until you quit, for all its windows. Reloading a window is not enough.
3. Install for one project only
Section titled “3. Install for one project only”In Claude Code, choose For everyone working in this repository or For you, in this repository only in step 4 of the Claude Code install. In Antigravity, you install into the project’s folder.
-
In a terminal, run:
Terminal window npx buildkeel install --workspace /path/to/your/projectThis puts BuildKeel in
.agents/plugins/buildkeel/inside that project. It also adds that folder to the repository’s local ignore file (.git/info/exclude), so the folder is never committed and never shows as a change. -
Quit Antigravity if it is running, open it again with your project, and start a new conversation.
4. Install without npm
Section titled “4. Install without npm”Each release on BuildKeel’s releases page carries the Antigravity package as an archive, buildkeel-antigravity-<version>.zip.
-
Download the archive.
-
Unzip it.
-
In the folder it makes, run this to install for every project:
Terminal window node install.mjsOr run
node install.mjs --workspace /path/to/your/projectto install for one project. -
Quit and reopen Antigravity, then start a new conversation.
To update, do the same with a newer release’s archive. To remove it, run node install.mjs --remove, with --workspace /path/to/your/project for a project install.
5. Check that it works
Section titled “5. Check that it works”Run two checks in a new session or conversation.
In Claude Code
Section titled “In Claude Code”- Run
/mcp. Thebuildkeelserver is listed as connected. - Run
/bk:status. In a project that is not set up yet, it tells you how to set one up. In a project that is, it shows your spec tree.
BuildKeel’s commands are all named /bk:<command>. In the command menu they are listed by their short name, such as status, with descriptions starting with “BuildKeel:”, so type buildkeel to see them all. Claude Code has its own /status; BuildKeel’s is /bk:status.
In the command menu, press Tab to put a command in the prompt and type its input, such as /bk:approve US-001, then press Enter. Pressing Enter in the menu runs the command at once; a command that takes input then asks what you want.
In Antigravity
Section titled “In Antigravity”- Open a new conversation in the agent panel.
- Run
/bk-status. In a project that is not set up yet, it tells you how to set one up. In a project that is, it shows your spec tree. - Ask “Which BuildKeel tools do you have?”. The agent lists twelve, from
get_contexttoresolve_suspect.
BuildKeel’s server comes with the plugin, so it is not shown under Additional options (…) > MCP Servers, which lists the servers you added yourself.
BuildKeel’s commands are all named /bk-<command>, such as /bk-init and /bk-build. Type /bk in the agent panel to see them all. A command that takes input, such as /bk-approve, asks what you want when you run it on its own. You can also type the input after it, such as /bk-approve US-001.
6. Update or remove it
Section titled “6. Update or remove it”Update BuildKeel the way you installed it.
In Claude Code
Section titled “In Claude Code”Claude Code updates BuildKeel on its own only if you turn that on.
-
To turn on updates, run
/plugin, open Marketplaces, selectbuildkeeland turn on auto-update. -
To update by hand, run these in a terminal, then start a new session:
Terminal window claude plugin marketplace update buildkeelclaude plugin update bk@buildkeel -
To remove BuildKeel, run
claude plugin uninstall bk@buildkeel. Add--scope projector--scope localif you installed it for a repository. -
To remove its marketplace as well, run
claude plugin marketplace remove buildkeel.
In Antigravity
Section titled “In Antigravity”-
To update BuildKeel to the newest version, run this, then quit and reopen Antigravity:
Terminal window npx buildkeel@latest update@latestmakes npx fetch the newest version rather than run one it has kept from before. For a project install, add--workspace /path/to/your/project. -
To remove BuildKeel, run
npx buildkeel remove, with--workspace /path/to/your/projectfor a project install. For a project install, it also takes its line out of.git/info/exclude, leaving the rest of the file as it was.
What stays behind
Section titled “What stays behind”Removing BuildKeel removes the plugin. It leaves your work as it is:
- the spec tree, and
.buildkeel.yamlin each repository: your work, committed with your code; .buildkeel/in each repository: BuildKeel’s local state, never committed, which you can delete;~/.buildkeel/: your own settings, usage record and claims on this machine, which you can delete;.git/buildkeel.yamland.git/buildkeel/in each clone where BuildKeel is kept out of the repository: its pointer and local state, inside git’s own folder, never committed;- the hook that stamps your own commits, in each repository where it was installed: turn stamping off before removing BuildKeel (ask Claude), or delete
.git/hooks/commit-msgif BuildKeel wrote it.
To undo setting up a repository as well:
- Kept out of the repository: delete
.git/buildkeel.yamland.git/buildkeel/in each clone. Nothing was committed, so there is nothing else to undo. - Set up in the repository, for the team: delete
.buildkeel.yaml,.buildkeel/and the.buildkeel/line in.gitignore, then commit.
Hearing about new versions
Section titled “Hearing about new versions”Once a day, BuildKeel asks the npm registry for its latest version number. When there is a newer one, the next session start says so once, with the command to update. It sends nothing about you or your work; to turn it off, see Personal settings.
Details
Section titled “Details”What BuildKeel adds to your sessions, and what to do when something goes wrong.
What it adds to a Claude Code session
Section titled “What it adds to a Claude Code session”- Commands starting with
/bk:. - A local server, started by Claude Code for the session and stopped with it. Claude reads and changes your spec tree through it. Nothing about you or your work is sent anywhere; once a day it asks the npm registry for BuildKeel’s latest version number.
- Hooks that run when a session starts, when you send a message and when Claude edits a file. They read small files in
.buildkeel/in your project and never use the network.
What it adds to an Antigravity conversation
Section titled “What it adds to an Antigravity conversation”- Commands starting with
/bk-. - A rule that is always on. It tells the agent how to work in a project set up with BuildKeel: change the spec tree only through BuildKeel, add a
BuildKeel-Unitline to every commit, and put test case IDs in test names. - A local server, started by Antigravity and stopped with it. The agent reads and changes your spec tree through it. Nothing about you or your work is sent anywhere; once a day it asks the npm registry for BuildKeel’s latest version number.
- Hooks that run before each step of the agent and when it edits a file. They read small files in
.buildkeel/in your project and never use the network. Antigravity has every hook that checks an edit approve or refuse it. So BuildKeel refuses edits to approved records, approves other edits inside the folders open in Antigravity and the agent’s own working files, and leaves edits anywhere else for Antigravity to ask you about.
If something goes wrong in Claude Code
Section titled “If something goes wrong in Claude Code”- “BuildKeel needs Node.js 20 or later”: install Node.js as in Before you start, and start a new session.
- The
buildkeelserver is not connected in/mcp: check thatnode --versionworks in the terminal you start Claude Code from, then start a new session.
If something goes wrong in Antigravity
Section titled “If something goes wrong in Antigravity”- “BuildKeel needs Node.js 20 or later”: install Node.js as in Before you start, run the install command again, and quit and reopen Antigravity.
- The first conversation after opening Antigravity says BuildKeel’s tools are not available: Antigravity starts BuildKeel’s server when that conversation starts, and the conversation can begin before the server is ready. Start a new conversation. BuildKeel’s tools are there from then on.
/bk-statusis not listed, or the agent has no BuildKeel tools in a new conversation either: check thatnode --versionworks in a terminal, run the install command again, and quit and reopen Antigravity.- BuildKeel works in the wrong project: the agent passes the project’s folder to every BuildKeel tool. If it did not, ask it to call the tool again with
workspaceset to your project’s folder. - “… exists and is not a BuildKeel plugin; nothing was installed”: another plugin already uses the folder
buildkeelthere. BuildKeel leaves it alone.