Antigravity Commands and Shortcuts¶
This page lists the commands of the Antigravity command-line interface (CLI), Google's artificial intelligence (AI) agent for the terminal, and then keyboard shortcuts and symbols, for the Antigravity CLI and, in a few rows, for the Antigravity App and the Gemini app. In the Antigravity CLI you type a command starting with a slash, such as /plan, in the same box as your requests; the commands in Google's slash command catalog, such as /goal and /schedule, also work in the Antigravity App. Every command a student, faculty member, or staff member is likely to use has a worked example below, grouped by what it helps with: a small, realistic situation, what you type, and what you then see, drawn from Google's documentation. The rest are listed under More Commands, Mostly for Developers. The Gemini app itself has no commands of this kind: there, / calls one of your skills and @ chooses a connected app, as the symbols table below shows.
Plans and models are on the Gemini (Google) page, with how the Antigravity CLI asks before acting. A listing here is not an endorsement, and for work at the American University of Antigua, the AI Responsible Use Policy applies.
Getting Started, Settings, and Help¶
/help Opens the help panel of commands and keyboard shortcuts.
A first-year student opens the Antigravity CLI in a folder of anatomy lecture notes and is not sure what to type.
/help
- A help panel lists the slash commands and keyboard shortcuts
Typing / on its own opens a menu of commands that narrows as you type, and typing ? also shows the help.
/config Opens the settings editor (also /settings).
A course director wants every session to start by planning, so nothing in the shared syllabus folder changes before a plan is approved.
/config
- A full-screen list of settings; under Agent Mode the choices are
- default
- accept-edits
- auto
- plan
Enter saves the choice to your settings file, and it applies to the current session at once. Auto appears only where your account and computer can use it.
/voice Dictates a prompt with your microphone (also /record, or the F5 key).
A clerkship coordinator would rather speak a long request than type it between student meetings.
/voice
- ● Recording 0:07 enter or f5 to insert · esc to discard
- Your words appear in the prompt box; Enter stops recording, and the text waits there for you to edit and send
Dictation is not available on business or enterprise accounts. If transcription fails on first use, Google's fix is /logout, then signing in again once.
/keybindings Opens the keyboard shortcut editor, to change which keys do what.
On a faculty member's laptop the F5 key also needs the Fn key, so starting dictation takes two hands, and they want a simpler key.
/keybindings
- The interactive Keyboard Shortcut Editor opens
- You find the action voice.start_dictation, which F5 starts by default, and give it a new key
The dictation hint on screen changes to show the new key. Other Antigravity CLI shortcuts can be changed the same way.
/changelog Shows the Antigravity CLI's release notes.
A staff member who runs training sessions on the Antigravity CLI wants to know what changed in the latest release before the next session.
/changelog
- A full-screen panel shows the release notes for the CLI
Typed in your own terminal, agy changelog shows them too. Google's online changelog also covers the Antigravity App and the other Antigravity apps.
/feedback Opens the panel for sending feedback to Google.
A faculty member notices the agent keeps misreading the column headings of an exam blueprint table and wants to report it.
/feedback
- The feedback submission panel opens
Antigravity's terms count feedback among the interactions Google records and may review, so describe the problem rather than pasting the material itself.
Staying in Control¶
/plan Researches first, asks about anything unclear, and drafts an Implementation Plan for you to approve before any change.
A clerkship coordinator wants 120 teaching-case files sorted into weekly folders with an index page, but wants to see the approach first.
/plan sort the teaching-case files into one folder per week, with an index page
- The agent reads the folder and the files that matter
- If anything is unclear, it asks you questions or offers choices
- It drafts an Implementation Plan: the approach, steps with checks, and risks
- You comment on or approve the plan; only then does it start work
Shift+Tab switches to plan mode, which puts /plan in front of every prompt until you switch back.
/grill-me Has the agent interview you about details and edge cases before it starts.
A faculty member wants a self-quiz web page built from the renal physiology practice questions but has not decided how it should behave.
/grill-me I want a self-quiz page built from the renal physiology practice questions
- The agent asks targeted questions, step by step, before writing anything
/permissions Opens the Permissions Manager, where you list what the agent may do without asking, must ask about, or may never do.
A faculty member wants the agent never to open the folder of student grade exports kept beside the course files.
/permissions
- First, choose which set of rules to edit
- Project
- Shared
- Global
- Tabs for the allowlist, denylist, and asklist; A adds a rule in the form action(target), such as read_file(grade-exports)
Deny beats Ask, and Ask beats Allow. Denying reading a folder also blocks writing to it.
Checking the Work¶
/artifact Opens the Artifact Review panel of plans and files waiting for your approval (also Ctrl+R).
The agent has drafted three new study-guide files for the cardiology block, and the faculty member wants to read them before they are saved.
/artifact
- A checklist of new and changed files, with open, approve, and reject beside each
- Keyboard: ↑/↓ Navigate y/n Approve/reject shift+a Approve all p Preview esc Done
Opening a file shows it in full, and pressing c on a line attaches a comment for the agent.
/diff Opens a viewer of what changed, including the agent's changes turn by turn.
Before sending an updated module handbook to colleagues, a course director checks exactly what the agent changed in this session.
/diff
- A list of changed files; Enter opens a file's line-by-line changes
- Tab switches modes; Turn mode groups the agent's changes by the turn that made them
- C adds a comment to a line; on leaving, Y sends your comments to the agent as your next prompt
The first mode lists uncommitted changes in a folder tracked by Git, Mercurial, or Jujutsu; the third shows past commits.
/rewind Rolls the conversation back to an earlier step and returns the files to how they were then (also /undo).
The agent reformatted a reading list across several files in the wrong citation style.
/rewind
- A list of earlier steps, each with a relative time, with the most recent one selected
- Choosing a step takes the conversation and your files back to that point
In very long conversations, older steps cleared to save space are labeled and cannot be chosen.
/codesearch Searches the files in your folder from inside the session, without interrupting the agent (also /cs or /search).
A course director wants to find every lecture note file in the module folder that still uses the old course code, PHM-201.
/codesearch -F PHM-201
- A Code Search panel lists the matches grouped by file, with a line of context above and below
- Enter opens a file at the match; c adds a comment to a line
- On leaving a file with comments, the CLI asks whether to send them
- Y (send + close)
- N (discard + close)
With -F the text is matched exactly; without it, the query is treated as a pattern. Adding f: and a file pattern limits the search to matching files.
/btw Asks a side question in the background without interrupting the main task.
Midway through a long task, a faculty member forgets which file held this year's learning objectives.
/btw which file has the 2026 learning objectives?
- The question runs in a light background thread while the main task keeps going
/open Opens a file in your default text editor.
The agent has written a one-page summary of a published trial, and the faculty member wants to tidy a sentence by hand.
/open summaries/ace-inhibitor-trial.md
- The file opens in your default editor, outside the CLI
Managing Conversations¶
/clear Clears the screen and starts a new conversation (also /new).
A student finishes a cardiology study guide and moves on to an unrelated microbiology task.
/clear
- The terminal clears and a new conversation session starts
/resume Opens a picker of earlier conversations in this folder (also /switch or /conversation).
A faculty member started outlining a pharmacology workshop in the Antigravity App and wants to carry on in the terminal.
/resume
- A list of past conversations, newest first; typing filters it
- Tab switches to the Antigravity tab, which lists conversations from the desktop app
- A prompt asks whether to import the chosen one; y copies its history into the terminal session
F2 renames the highlighted conversation. Typed in your own terminal, agy -c reopens the latest conversation for the current folder.
/rename Renames the current conversation.
A course director keeps several threads for the renal block and wants this one easy to find later.
/rename renal-block-question-review
- The conversation takes the new name, which you can search for in /resume
/fork Copies the conversation so far into a new, separate session (also /branch).
A faculty member has a good outline for a case-based lecture and wants to try a different structure without losing it.
/fork
- A new session starts with a copy of the conversation, and the terminal switches to it
The copy is of the conversation, not your files. /resume returns to the original.
/copy Copies the agent's last response to the clipboard.
The agent drafted an announcement of a curriculum change, and a staff member wants to paste it into an email.
/copy
- The last response is copied to the system clipboard
/exit Closes the session and returns you to your own terminal (also /quit).
A faculty member stops for the day partway through drafting small-group cases on sepsis.
/exit
- The session closes, and the CLI prints the exact command that resumes this session later
Ctrl+D on an empty prompt does the same.
Model, Usage, and Account¶
/model Chooses the model the agent reasons with; the choice is kept for later sessions.
A researcher on a paid Google AI Pro plan wants Gemini 4 Carbon for a careful reorganization of a large set of teaching cases.
/model
- A list of the reasoning models your plan includes
Google's Models page shows which models each plan includes. On Free and Google AI Plus, the plan in the student offer outside the United States, Gemini 4 Hydrogen is the one model; Anthropic's Claude 5.5 models are on paid Pro and on Ultra.
/effort Shows and changes how long the current model reasons before it answers (its reasoning effort).
A researcher using Gemini 4 Carbon on a paid Google AI Pro plan wants quicker replies while renaming a folder of lecture files, a job that needs little reasoning.
/effort
- A gauge of the effort levels the current model offers; Left and Right move along it
- Low
- Medium
- High
Typing the level after the command, such as /effort high, sets it in one step. The levels on offer depend on the model, and the same gauge appears in the /model picker.
/usage Shows how much of each model's quota you have used (also /quota).
A student without a paid plan wonders how much of the week's quota a big summarizing task used.
/usage
- A Model Quotas panel with the remaining usage for each model, freshly checked
Without Google AI Pro or Ultra the quota refreshes weekly; on Pro it refreshes every five hours, up to a weekly limit.
/credits Shows your remaining AI credits, what you have used this billing cycle, and links to buy more.
A faculty member on Google AI Pro has used up the plan's quota and wants to know whether paid credits will be spent.
/credits
- A credits panel: your balance, a usage summary, and links to buy credits or upgrade
Credits are spent after the quota runs out only if the Use AI Credits setting in /config is on.
/context Shows how much of the agent's working memory (its context window) is in use.
After the agent has read a dozen long review articles, its answers start to drift.
/context
- A panel showing how much of the context window is used
/logout Signs you out and removes the saved sign-in from this computer.
A student has used the Antigravity CLI on a shared library computer and is about to leave.
/logout
- Your account is disconnected, and its saved sign-in is removed from the computer's secure keyring
Folders, Skills, and Connections¶
/add-dir Adds another folder to the session's workspace.
While drafting practice questions for a lecture, the agent needs to check them against the lecture's slides in another folder.
/add-dir ../lecture-slides
- The folder is added to the active workspace
/skills Lists the skills (saved instructions for a kind of task) loaded for this folder and for your whole computer.
A faculty member wants to see which skills are already installed before writing one for item writing.
/skills
- A list of the local and global skills that are loaded
Each skill also becomes a command of its own name, so a skill called item-writing-checklist runs as /item-writing-checklist.
/learn Turns the corrections and feedback from this session into lasting rules or skills.
After correcting the agent several times, a course director wants every future session to give lab values in SI units (the International System of Units) and use American spelling.
/learn save our rule that lab values use SI units and American spelling
- The agent distills the session's corrections into a rule or a skill that later sessions follow
/plugin Opens the Plugins Manager to find, install, and switch on bundles of skills, rules, and connections (also /plugins).
A researcher wants to see whether a ready-made plugin exists before building anything.
/plugin
- A Plugins Manager with Installed and Discover tabs; Tab switches between them
- The Discover tab groups plugins into the same sections as the Antigravity plugin marketplace
/mcp Opens the manager for MCP (Model Context Protocol) connections to outside tools and data.
A researcher's connection to a reference manager has stopped responding.
/mcp
- An MCP Manager panel showing each server as active, disconnected, or loading
- Options to reload a server's configuration or read its connection log
/agents Opens the Agent Manager, to switch to a custom agent or to watch and stop the helpers (subagents) working in the background.
A faculty member asked the agent to summarize 30 published papers, and it handed the reading to several helpers.
/agents
- ▸ Subagents (1 running, 2 done)
- Each helper shows its state (running, done, error, or killed); Enter opens its full log
K stops a running helper. Helpers waiting for your approval can also be reached with Alt+J from the main conversation.
Long Jobs and Background Work¶
/goal Works toward an objective until it is met, without stopping for turn-by-turn confirmation.
Every lecture handout in a module folder needs a one-page summary beside it.
/goal every handout in this folder has a one-page summary file next to it
- The agent works through the files, checking and correcting its own work, until the goal is met
Esc stops the agent at any point.
/schedule Runs an instruction later in this conversation, once after a set time or on a repeating schedule.
While the agent converts a folder of 200 lecture slide files, a coordinator wants it to check every 30 minutes for the next 3 hours and report any files that failed.
/schedule every 30 minutes for the next 3 hours, list any slide files that failed to convert
- The agent sets the schedule and ends its turn, so you can keep working
- Each time it fires, the agent picks the instruction up in this conversation and reports back
A schedule lasts only as long as this conversation, and /tasks can stop it. For a standing weekly job, such as a Monday summary of new course files, Google points to Automations in the desktop app instead.
/browser Starts a helper that drives Google Chrome, for web research or checking a page.
A librarian has the address of a module's online reading list and wants every link on it checked.
/browser open the reading list page and report any links that fail to load
- The browser helper opens the page in Google Chrome
- Before it visits a site, it asks your permission unless you have allowed that site
- It reports back, often with a walkthrough that includes screenshots
Google's guide to this command says the helper controls your own Google Chrome, which must already be running with remote debugging turned on.
/tasks Opens the Task Manager to watch, read the logs of, or stop work running in the background.
The agent started converting a folder of 200 slide decks in the background, and a staff member wants to see how far it has got.
/tasks
- A Task Manager panel lists background commands, timers, and recurring jobs, with their logs and states
A running task can be stopped from the panel.
/remote-control Lets you follow and steer this terminal session from a browser on another device.
A faculty member starts a long reorganization of course files before a meeting and wants to approve steps from a phone.
/remote-control
- Remote control on for this session.
- The computer's hostname, and a link that opens this conversation on another device
Approvals and questions can be answered from either device. /remote-control off ends it, as does closing the session.
/teamwork Starts a team of agents on a large, long-running project after a scoping interview (paid plans).
A journal club leader wants a thorough, multi-angle critique of a published trial report to prepare discussion questions.
/teamwork review this published trial report and critique its methods from several angles
- The agent interviews you about scope, requirements, and how success will be checked
- It writes a prompt artifact for you to review; once you approve it, the team works through milestones on its own
Requests to review a paper follow Google's Document Review path, a multi-angle critique and synthesis. The team works in its own project folder.
More Commands, Mostly for Developers¶
/compact Summarizes the conversation so far to free up room for the agent to keep working; with a message typed after the command, it summarizes and then answers that message.
/swarm Preview. Runs a team of named agents that split a task, work on the pieces at the same time, and coordinate on one shared message board, with a verifier that checks the work (Google AI Pro and Ultra; it uses quota much faster than a single conversation).
/swarm board Opens the live board of a running swarm full screen, showing each agent's state and every post (also Alt+S).
/generative_ui In the Antigravity App only, has the agent build an interactive widget, such as a diagram, chart, or step-by-step explainer, that opens in the side panel or appears in its reply.
/boost Runs several agents in parallel on a hard programming problem, such as a subtle bug, and checks their solutions before reporting (paid plans).
/hooks Lists the scripts set to run before or after the agent acts.
/statusline Turns the status line on or off, or sets a script to draw it.
/title Turns updates to the terminal window's title on or off.
/migrate-workflows In the Antigravity App (version 2.12.0 or later), turns workflows saved in the Antigravity IDE (integrated development environment, a code editor) into skills; Google says those workflows keep working for now.
Google's own complete references: Antigravity CLI Reference, Slash Commands Overview, Agent Permissions.
Shortcuts and Symbols¶
These are for the Antigravity CLI, except the rows marked for the Antigravity App or the Gemini app.
| Keys | What They Do |
|---|---|
| Shift+Tab | Cycle modes (default, accept-edits, auto where available, plan). At a pending file edit it switches to accept-edits or auto and approves the pending edits. |
| Esc | Stop the agent's turn, close a panel, or clear an empty prompt. |
| 1 / 2 / F | At a proposed file change, accept it, reject it, or open the full-screen diff. (y and n still approve or reject a proposed terminal command.) |
| Ctrl+R | Open the Artifact Review panel. |
| Ctrl+G | Write your prompt in your own text editor. |
| Ctrl+O | Show or hide the detail of what the agent's tools did. |
| Ctrl+V | Paste an image or video into the prompt. |
| Alt+J | Jump to the next helper (subagent) waiting for your approval. |
| Ctrl+K | Approve that helper's pending action without leaving the main conversation. |
| F5 | Start or stop voice dictation. |
| Shift+Enter | Start a new line without sending (also Ctrl+J, or \ at the end of a line). |
| Ctrl+D | Exit, when the prompt is empty. |
| Ctrl+K (Cmd+K on Mac) | In the Antigravity App, open the conversation picker, which searches what conversations contain. |
| Ctrl+N (Cmd+N on Mac) | In the Antigravity App, start a new conversation. |
| Ctrl+L (Cmd+L on Mac) | In the Antigravity App, move to the message box. |
| Ctrl+M | In the Antigravity App, start or stop voice transcription. |
| Type | What It Does |
|---|---|
| @ | Mentions a file, with path suggestions as you type. |
| ! | At the start of the prompt, runs a terminal command yourself. |
| ? | Shows the help and lists all slash commands. |
| /skill-name | Runs one of your skills as a command. |
| agy -c | Typed in your own terminal, reopens the latest conversation for the current folder. |
| agy --mode=plan | Typed in your own terminal, starts the CLI in plan mode (or --mode=accept-edits, or --mode=auto where available). |
| @ | In the Gemini app, chooses a connected app for Gemini to use, such as Gmail; if that app is not connected yet, Gemini connects it or asks your permission first. |
| /skill-name | In the Gemini app, uses one of your skills in a chat. Google is moving skills to @: tasks already use @, and chats do once the updated shortcut arrives. |
More in This Section
Color key: Tool
- Tools & Prompts Section overview
- ChatGPT (OpenAI) Plans, models, Codex, and its commands
- Claude (Anthropic) Plans, models, Claude Code, and its commands
- Gemini (Google) Plans, models, Antigravity, and its commands
- Grok (xAI) Plans, models, Grok Build, and its commands
Browse Tools & Prompts21 pages
Find a Tool1 page
Use a Prompt2 pages
Work with Sources2 guides
Work with AgentsOptional, after the basics6 guides
Related Lesson in Learn
The Guides
- AI Agents What an agent is, and what it can do
- Choosing Your Interface Chat, work, or code
- Your First Agent Session Run one, once, on a safe folder
- Standing Setups: Assistants That Remember Assistants that remember your work
- Agent Skills Give an agent a playbook
- Always-On Agents: Study Help That Comes to You Reminders, practice, and a weekly check, sent to you
Run Models Locally2 guides
By Company4 company guides
Compare Models3 leaderboards
Color key: ToolPromptGuideLessonBenchmark