Skip to content
Slash commands overview2-0Antigravity AppFeaturesSlash commands overview Antigravity App FeaturesAntigravity AppAntigravity CLI
Available on:
Antigravity AppAntigravity CLI

Slash commands provide quick shortcuts for invoking specialized agent workflows, reasoning modes, interactive planning tools, and background automations. These commands operate consistently across both the Google Antigravity App (Desktop and Web) and the Antigravity CLI.


Modern software development calls for different agent workflows depending on the complexity and scope of the task:

  1. Everyday engineering: Standard prompts for interactive feature development, navigation, and refactoring.
  2. Agent orchestrators: Multi-agent coordination for hard reasoning problems (/boost), parallel tasks on a shared message board (/swarm), and multi-milestone campaigns (/teamwork).
  3. Structured planning: Interactive requirement interviews and reviewable plans before modifying code.
  4. Continuous autonomy: Uninterrupted execution until every requirement and verification check passes (/goal).
  5. Background tools: Sandboxed browser research, scheduled automations, and side queries.

Slash commands give you precise, instantaneous control over these capabilities.


The following table provides a complete reference for all public slash commands:

CommandCategoryDescriptionPlan TierHorizon
/boostReasoningMulti-agent deep reasoning for complex bugs, race conditions, and algorithms.Paid plansSeconds to hours
/teamworkReasoningCollaborative agent teams for repo-scale migrations, simulation, and research.Paid plansHours to days
/run-workflowReasoningWrites and runs a Python script that orchestrates many agents across parallel and sequential phases.Google AI Pro and UltraMinutes to hours
/swarmReasoningNamed workers and a verifier split a task and coordinate on a shared message board.Google AI Pro and UltraMinutes to hours
/goalReasoningAutonomous execution until the goal is achieved without intermediate pauses.All plansMinutes to hours
/planPlanningResearches code, conducts requirement interviews, and drafts a reviewable plan artifact.All plansMinutes
/grill-mePlanningInterviews you one question at a time, with a recommended answer for each, to align on design details and edge cases.All plansMinutes
/learnCustomizationDistills session feedback and corrections into persistent Rules or Skills.All plansImmediate
/agy-customizationsCustomizationLoads the customization reference so the agent can create, fix, or explain rules, skills, plugins, hooks, and MCP servers.All plansImmediate
/pluginCustomizationOpens the interactive Plugins Manager or manages and creates plugins.All plansImmediate
/automationAutomationHas the agent set up a scheduled background automation managed in the Automations tab. Antigravity App only.All plansScheduled
/scheduleAutomationSchedules an instruction as a one-time timer or recurring cron job.All plansScheduled
/browserToolsLaunches a browser subagent for live UI testing, screenshots, and web inspection (built-in browser on personal App accounts v2.30.0+, or Chrome DevTools MCP).All plansMinutes
/btwToolsAsks a quick contextual question in the background without pausing work.All plansImmediate
/generative_uiToolsBuilds interactive widgets, such as diagrams, charts, and explainers, as HTML artifacts or inline in the conversation. Antigravity App only.All plansMinutes
/antigravity-guideToolsAnswers questions about using Antigravity from the official documentation.All plansImmediate

Activates the on-demand three-tier multi-agent reasoning hierarchy (Orchestrator -> DeepCoder / DeepInvestigator -> isolated workers). It explores multiple hypotheses, runs test suites, and independently verifies solutions before returning results.

To invoke Boost for an algorithmic optimization, run the following command:

/boost Optimize the sparse matrix multiplication routine using SIMD intrinsics and benchmark throughput.

For detailed architectural documentation and CLI keybindings, refer to the Boost deep reasoning guide and the CLI reference.

Initiates the multi-agent framework for multi-day engineering campaigns, subsystem rewrites, and open-ended scientific research. Begins with an interactive scoping interview led by the Sentinel to draft a binding specification plan.

To launch a multi-agent migration, run the following command:

/teamwork Migrate our REST backend from Express to Fastify with full test parity and benchmarks.

For complete multi-agent lifecycle documentation and engineering patterns, refer to the Teamwork agent teams guide.

Launches Dynamic Workflows: the agent writes a short Python script that orchestrates many agents, shows it to you for approval, and runs it in the background. The script fans out the same task across a list of items with parallel(), runs staged steps with pipeline(), and collects a structured result from each agent, while you follow phases and agents live in the workflow step.

To review every changed file in parallel, run the following command:

/run-workflow List the Python files changed since main, review each file in parallel for unhandled exceptions, and log a one-line verdict per file.

For script building blocks, agent options, and permissions, refer to the Dynamic Workflows guide.

Turns your conversation into the coordinator of a swarm: named workers that each own one piece of the task, plus a verifier that reviews and tests their changes. The workers coordinate on a shared message board with @mentions, and idle workers wait without using tokens until someone mentions them.

To split a test expansion across workers, run the following command:

/swarm Add unit tests for src/utils/date.ts and src/utils/currency.ts in parallel, and have a verifier run npm test.

In the Antigravity CLI, run /swarm board or press Alt+S to open the live board full screen.

For how to monitor the board, message workers, and choose between multi-agent commands, refer to the Swarm guide.

Instructs the agent to work continuously until the specified objective is fully achieved. The agent autonomously runs builds, diagnoses errors, and applies corrective edits without pausing for turn-by-turn confirmations.

To run a test suite repair autonomously, run the following command:

/goal Fix all failing unit tests in the authentication package and ensure 100% pass rate.

For details on how goal mode intercepts stops, audits deliverables, and how to cancel a goal, refer to the Goal command guide.


The /plan slash command facilitates structured planning, codebase exploration, and requirements discovery before jumping directly into execution. It makes sure complex tasks are well-understood, properly scoped, and organized before code changes are made.

When you invoke /plan, Antigravity runs a four-step workflow:

  1. Analysis and discovery: The agent examines your prompt, analyzes the workspace, reads relevant source files, and discovers dependencies or potential roadblocks.
  2. Clarification and interviewing: If details are underspecified or architectural decisions are ambiguous, the agent conducts a focused interview with you (leveraging interactive question prompts or structured options) to clarify requirements and trade-offs.
  3. Structured plan creation: The agent creates a comprehensive Implementation Plan artifact detailing the high-level approach, step-by-step task breakdowns with verification gates, and potential risks.
  4. User review and approval: The agent presents the plan artifact for your review. Once you review, comment on, or approve the plan, the agent transitions into execution mode.

Use /plan in the following scenarios:

  • Complex refactors: When refactoring architectural components across multiple files or packages.
  • Ambiguous requirements: When starting a feature with open questions, trade-offs, or missing specifications.
  • High-risk changes: For database migrations, core protocol changes, or security-sensitive updates where an upfront checklist and risk assessment are critical.
  • Collaborative alignment: When you want to review and guide the agent’s proposed steps before any code modifications occur.

To plan a specific task, run /plan with your objective:

/plan Refactor our authentication middleware to support OIDC token verification with JWKS caching

To begin an interactive discovery session for the current workspace context without a predefined prompt:

/plan

For complete workflow details, refer to the Plan slash command guide and the Implementation plan artifact guide.

Has the agent interview you about a task before it starts work. The agent asks one question at a time and recommends an answer for each. It explores the codebase instead of asking you anything the code can answer, and keeps going until you share the same understanding of the task.

To align on design constraints, run the following command:

/grill-me I want to redesign the notification dispatch queue to support priority scheduling.

To turn your answers into a reviewable plan, stack it with /plan (/plan /grill-me <task>). For complete workflow details, refer to the Grill me command guide.


Analyzes recent corrections, user feedback, and debugging resolutions from your active session, distilling them into persistent project rules (AGENTS.md, GEMINI.md, or .agents/rules/*.md) or reusable agent skills (.agents/skills/<name>/SKILL.md). The agent proposes changes in a learning_proposal.md artifact and writes files only after you approve.

To capture recent session patterns into persistent rules, run the following command:

/learn Save our database transaction retry pattern as a project rule for all future database changes.

For the proposal workflow and the full list of rule and skill locations, refer to the Learn command guide and the Rules documentation.

Loads the Antigravity Customization System Guide into the agent’s context for the rest of the conversation, so the agent works from the documented formats, discovery locations, and precedence rules when it creates, fixes, or explains rules, skills, plugins, hooks, and MCP servers. Available in the Antigravity App, the Antigravity CLI, and the Antigravity IDE.

To build a customization with the reference loaded, describe what you want after the command:

/agy-customizations create a PreToolUse hook that blocks git push --force

For what the reference covers and more examples, refer to the Customizations command guide.

Manages installed plugins, browses the Marketplace, and packages reusable skills, rules, subagents, MCP servers, and hooks into a single deployable plugin bundle.

In the Antigravity CLI, running /plugin (or its alias /plugins) opens the interactive Plugins Manager panel with Installed and Discover tabs, or executes inline subcommands directly (<marketplace-name> supports the official marketplace, antigravity-plugins-official):

/plugin
/plugin install <plugin-name>@antigravity-plugins-official
/plugin install <local-path>
/plugin list

In the Antigravity App, you can also invoke /plugin with natural-language instructions to enable, disable, install, or scaffold custom plugins.

For complete plugin manifest and marketplace documentation, refer to the Plugins guide and the Marketplace guide.


Has the agent set up a scheduled background automation (formerly called a Scheduled Task) in the Google Antigravity App. You can also start the same flow by selecting Create with Prompt in the Automations tab, which opens a new conversation with the command filled in for you to send. The agent asks for a cadence, day, and time, pins the schedule to an IANA timezone with CRON_TZ=<zone>, and writes a self-contained prompt. It then saves the automation to ~/.gemini/config/sidecars/<automation-id>/sidecar.json, turned off until you turn it on in the Automations tab.

To set up a weekly pull request check, run the following command:

/automation every Monday at 9am Pacific time, check my open pull requests and list any with failing checks

For the full flow and how /automation compares with /schedule, refer to the Automation command guide.

Configures the agent to execute a prompt at a specified future time or on a recurring cron schedule using background scheduled tasks.

To set up a daily cleanup routine, run the following command:

/schedule "0 9 * * 1-5" Run git fetch, prune stale local branches, and summarize pending PR reviews.

For timer and cron parameters and managing active schedules, refer to the Schedule command guide. For how /schedule differs from persistent automations, refer to /automation compared with /schedule.


Delegates a task directly to the browser subagent to open pages, test flows, capture screenshots, and inspect console errors or network requests. On personal Google Accounts in the Antigravity App (v2.30.0+), it runs inside the App’s built-in browser with zero Chrome setup (where plain-language prompts also invoke browser subagents automatically); in the Antigravity CLI, the Antigravity IDE, and business or enterprise accounts, it connects to Google Chrome (v144+) through Chrome DevTools MCP.

To verify a local web server layout, run the following command:

/browser Open http://localhost:3000/dashboard, verify that the analytics charts render, and capture a screenshot.

For built-in browser workflows, parallel tabs, and sign-in handoff, refer to Browser use. For Chrome setup and DevTools profiling tools, refer to the Browser command guide.

Submits an out-of-band query that runs in a lightweight background thread without interrupting or pausing the primary agent’s active execution.

To ask an aside while an implementation is running, run the following command:

/btw Which file did you say defines the UserSession interface?

For CLI card navigation, history browsing, and /copy btw clipboard support, refer to the Side question (/btw) command guide.

Has the agent build an interactive widget, such as a diagram, chart, or step-by-step explainer, as an HTML artifact that you open in the side panel. Compact widgets can also appear inline in the conversation. Available in the Antigravity App only.

To see how a request moves through your middleware, run the following command:

/generative_ui Show a simple left-to-right diagram of a request going from the client through requireApiKey and the bookmarks router to the database, with a toggle for a valid or invalid API key. Use icons, short labels, and no code.

For placement, sizing, and sandbox details, refer to the Generative UI command guide.

Gives the agent the official Antigravity documentation, with a quick reference for the Antigravity App, the Antigravity CLI, the Antigravity IDE, and the Antigravity SDK, so it can answer questions about using and configuring Antigravity. Available in the Antigravity App and the Antigravity CLI.

To ask how to do something in Antigravity, run the following command:

/antigravity-guide how do I run the CLI in headless mode in GitHub Actions with a JSON schema?

For what the reference covers and more examples, refer to the Antigravity guide command guide.


The following decision guide outlines when to use each command based on your task requirements:

Primary ObjectiveRecommended CommandKey Capability
Complex bug, race condition, or algorithmic puzzle/boostMulti-agent deep reasoning with isolated verification loops.
Multi-day project, repository migration, or research/teamworkCollaborative agent teams with scoping interviews and milestone roadmaps.
Same task across many files or packages, or staged steps/run-workflowA reviewable Python script that runs agents in parallel or in sequence and collects structured results.
Large task that splits across independent files or packages/swarmParallel named workers and a verifier coordinating on a shared message board.
Feature requiring review before making code edits/planResearches code, interviews requirements, and generates a reviewable plan.
Vague requirements needing architectural alignment/grill-meConducts a step-by-step interview to clarify edge cases and constraints.
Task that should run continuously until 100% complete/goalAutonomous execution without turn-by-turn confirmation pauses.
Distill recent corrections into permanent project rules/learnAnalyzes session patterns and writes persistent rules and skills.
Create or debug a rule, skill, plugin, hook, or MCP server/agy-customizationsLoads the customization reference so the agent follows the documented formats and locations.
Discover, install, or manage plugins and marketplace bundles/pluginInteractive Plugins Manager in the CLI and conversational plugin management.
Web research, UI validation, and layout inspection/browserBuilt-in browser (v2.30.0+ App personal accounts) or Chrome DevTools MCP browser subagent for live page interactions.
Persistent scheduled background automation/automationCreates a scheduled automation managed in the Automations tab. Antigravity App only.
One-shot countdown timer or recurring background schedule/scheduleRuns instructions in the background on cron schedules.
Quick side query without pausing primary agent work/btwLightweight out-of-band query executed in the background.
Visual explanation, diagram, chart, or clickable prototype/generative_uiInteractive HTML widgets in the side panel or inline in the conversation (Antigravity App only).
Question about how to use or configure Antigravity/antigravity-guideAnswers from the official documentation for every Antigravity surface.

Public slash commands are supported across Antigravity developer surfaces:

SurfaceInput MethodNavigation and Management
Antigravity App (Desktop and Web)Type / in the prompt input or select from the command menu.Model selector dropdown, Artifact review panel, Visual diff viewer.
Antigravity CLIType / in the interactive prompt box./agents panel, Alt + J (switch threads), Ctrl + O (trajectory).

Explore related documentation and guides: