Skip to content

Antigravity Commands and Shortcuts

Command reference48 commands, 39 with a worked example Facts checked against Google's own pages on November 10, 2026

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.

Antigravity CLI

/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.

The quickest way to see what this installation offers. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Settings change in one place, with no file to edit by hand. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Long instructions are often easier to say than to type, and you still check the text before sending. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Shortcuts that suit your keyboard make features such as dictation easier to use. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

New features and fixes are easier to use, and to teach, once you know they exist. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Reports a problem to the people who can fix it. An illustration drawn from Google's documentation, not a screenshot.

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.

Antigravity CLI

/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.

Nothing changes until you have read and agreed to the plan, which suits unfamiliar folders and work that matters. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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
Settles the details you would otherwise discover only after the work is done. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

A hard limit that does not depend on the model's judgment. An illustration drawn from Google's documentation, not a screenshot.

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.

Antigravity CLI

/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.

You see exactly what will be written before it reaches your folder. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

You review the output yourself before anyone else sees it. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

An undo for the agent's edits, without needing version control. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Find every place that needs updating, then hand the agent precise, line-by-line instructions. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/btw which file has the 2026 learning objectives?

  • The question runs in a light background thread while the main task keeps going
A quick check that does not pause the work. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/open summaries/ace-inhibitor-trial.md

  • The file opens in your default editor, outside the CLI
Small fixes are often quicker to make yourself than to describe. An illustration drawn from Google's documentation, not a screenshot.

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.

Antigravity CLI

/clear

  • The terminal clears and a new conversation session starts
Unrelated work gets a clean start, and better answers. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

You pick up where you left off, even across apps, instead of explaining it all again. An illustration drawn from Google's documentation, not a screenshot.

/rename Renames the current conversation.

A course director keeps several threads for the renal block and wants this one easy to find later.

Antigravity CLI

/rename renal-block-question-review

  • The conversation takes the new name, which you can search for in /resume
A clear name makes the right conversation easy to find. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Try an alternative while keeping the version that works. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/copy

  • The last response is copied to the system clipboard
Saves selecting text by hand in the terminal. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

You can stop at any point and come back to the same conversation. An illustration drawn from Google's documentation, not a screenshot.

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.

Antigravity CLI

/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.

Match capability and quota to the task in front of you. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Simple jobs come back sooner, and harder ones get more careful reasoning. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

You see a limit coming before it interrupts important work. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Extra spending stays a deliberate choice. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/context

  • A panel showing how much of the context window is used
It tells you when to start fresh rather than push on. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/logout

  • Your account is disconnected, and its saved sign-in is removed from the computer's secure keyring
The next person at the computer cannot use your account or your quota. An illustration drawn from Google's documentation, not a screenshot.

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.

Antigravity CLI

/add-dir ../lecture-slides

  • The folder is added to the active workspace
Access widens one folder at a time, on purpose, rather than to a whole drive. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Check what is there before adding more. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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
Explanations you would otherwise repeat become standing instructions. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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
Add capabilities as one bundle, and see exactly what is installed. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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
See, and fix, which outside tools the agent can reach. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

You see what each helper is doing, and can stop one that has gone astray. An illustration drawn from Google's documentation, not a screenshot.

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.

Antigravity CLI

/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.

Suits long jobs with a clear end, and you still review the result. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Check-ins during a long job happen without anyone remembering to ask. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Routine web checks run while you keep working on something else. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Long jobs stay visible, and stoppable, while you keep working. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

A long job keeps moving without you at the desk. An illustration drawn from Google's documentation, not a screenshot.

/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.

Antigravity CLI

/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.

Big jobs get several agents checking one another's work before you see the result. An illustration drawn from Google's documentation, not a screenshot.

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.

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.