Type / in Google Antigravity to select built-in commands. These workflows belong to Antigravity; when using Gemini, check the product and client rather than assuming the model provides the commands. Antigravity
| Task | Command | Behavior | Available on |
|---|---|---|---|
| Clarify an incomplete idea | /grill-me |
Interviews you one question at a time and recommends answers. | App, CLI, IDE extensions |
| Review the approach before complex edits | /plan |
Explores code and requirements, then drafts a plan with verification checkpoints. | App, CLI, IDE extensions |
| Carry a long task through acceptance | /goal |
Keeps implementing, checking and fixing until complete or cancelled. | App, CLI, IDE extensions |
| Reduce context after a milestone | /compact |
Summarizes history into a continuation checkpoint in the same conversation. | App, CLI |
| Ask a detail while work continues | /btw |
Forks current history; the side question and answer do not flow back to the main conversation. | App, CLI, IDE extensions |
| Retain a correction for future sessions | /learn |
Proposes rule or skill changes; writes them only after approval. | App, CLI, IDE extensions |
| Process many items or ordered stages | /run-workflow |
Writes Python to coordinate parallel and sequential agents and collect structured results. | App, CLI |
| Coordinate roles and cross-review | /swarm |
Named workers and a verifier collaborate on a shared message board. | App, CLI |
| Explain with an interactive widget | /generative_ui |
Creates a single-file HTML artifact with styles and JavaScript. | App only |
Antigravity CLI commands and configuration · AI Agent Skills · Terminal AI coding CLI comparison
Copyable prompts
/grill-me
/plan /grill-me Add per-user rate limiting to the bookmarks API. Clarify limits, counter storage, throttled responses and acceptance criteria before drafting the plan.
/plan
/plan Migrate authentication middleware to OIDC. List affected files, JWKS caching, compatibility measures and verification steps for review.
/goal
/goal Follow the approved plan to migrate packages/auth. Preserve public interfaces; finish when unit tests, integration tests and the project build pass, and report the evidence.
/compact
/compact Retain the OIDC compatibility constraints and known failure causes, then add unit tests for token refresh.
/btw
/btw Where is the API retry limit configured? Give the file location and current value.
/learn
/learn Save the confirmed test flags as a project rule and the migration procedure as a skill. Show a proposal first.
/run-workflow
/run-workflow Find TypeScript files changed from main. Review error handling per file in parallel using an available lighter model, then summarize locations, findings and suggestions.
/swarm
/swarm Assign separate workers to parser and formatter boundary tests, plus a verifier to review changes and run tests. Each worker owns only its directory.
/generative_ui
/generative_ui Show an inline request-flow widget through API Key validation, routing and database access, with valid/invalid key toggles and status codes.
Behavior and boundaries
Interview and plan.
/grill-mechecks the code before asking questions the repository can answer./planproduces an actionable plan you can comment on and adjust. Combine them as/plan /grill-me. Whether execution pauses for review depends on the artifact review policy.Goals.
/goalchanges stopping behavior, not tool permissions or artifact review rules. Define scope and verifiable acceptance criteria. Only one goal is active per conversation; a new goal cancels the old one. A follow-up request can stop or cancel it.Context. Bare
/compactcompresses and ends the turn;/compact <instructions>compresses and continues, using your text to emphasize what to retain. It must lead the message. Compaction preserves key decisions, paths, fixes, attachments, artifacts and active work; it does not edit workspace files or replace durable rules and skills.Side questions.
/btwdefaults to read-only by instruction, not through a separate sandbox. An explicit request to change something can execute within existing permissions. The App supports follow-ups in the side tab; each CLI invocation creates a fresh fork.Learning.
/learnprefers updating existing rules or skills, and applies changes only after explicit approval. No reusable lesson may mean no proposal. Project rules commonly live inAGENTS.md,GEMINI.mdor.agents/rules/<name>.md; procedures belong in.agents/skills/<name>/SKILL.md.Scripted orchestration.
/run-workflowusesparallel()orpipeline()and JSON Schema results. Script execution follows current permissions. Agents default to the current model and workspace; request a lighter model or an isolated branch workspace when needed.Team coordination.
/swarmmembers use@name,@groupand@allon the board. They default to the current model and shared workspace; request other models or isolated working copies explicitly. Assign file ownership to avoid collisions. Idle members sleep without token use; active workers consume quota faster. Swarm is in preview.Availability and display.
/run-workflowand/swarmare available on all plans in App and CLI; organization settings can restrict Swarm./generative_uiis App-only: standalone artifacts open in the side panel by default; compact widgets can appear inline.