Reference
Slash commands
The /agb-* commands the plugin adds to Antigravity, generated from commands/*.md.
The plugin ships one slash command per Markdown file in commands/. Each command tells the agent to run the ~/.local/bin/agb terminal shim with the user's arguments, so every slash command is a thin wrapper around the CLI command of the same name. The table is generated from each file's frontmatter and its H1 usage line.
| Command | Usage | Description |
|---|---|---|
| /agb-bootstrap | /agb-bootstrap [--force-reinstall] | Install or refresh antigravity-booster's ADLC doctrine plugin, skills and the ~/.local/bin/agb terminal shim |
| /agb-doctor | /agb-doctor | Verify your environment and tools |
| /agb-migrate | /agb-migrate [--rollback] [--force-rollback] [--force] [--break-lock] | Migrate from the npm-global/legacy install to the native agy plugin, or roll back |
| /agb-plan | /agb-plan <id | spec.md> <repo-path> [--out <file>] [--force] [--no-coldstart] [--no-parallax] [--no-premortem] | Compile an Antigravity brain plan or spec file into plan.json |
| /agb-review | /agb-review [repo-path] [ref] | Read-only lens fleet over a diff, loop-until-dry |
| /agb-run | /agb-run <plan.json> [options] | Execute a ticket DAG (build, gate, prosecute, merge) |
| /agb-sidecar | /agb-sidecar [repo-path] [--port <port>] | Launch the HTTP server for the Antigravity Sidecar UI |
How they run
- The agent runs
~/.local/bin/agb <command> ...from the user's workspace, passing arguments through unchanged, and reports the output and exit code (0 pass, 2 gate failure or findings, 1 usage or internal error) (agb-run instructions). - If the shim is missing, the agent stops and asks the user to bootstrap once from a terminal (missing shim). See Bootstrap.
- When the
agbMCP server is connected, the agent may call the matching MCP tool instead (see MCP tools).
Slash commands run in the interactive session; see Headless and MCP for print mode.