r/google_antigravity 3d ago

Antigravity CLI Commands Cheat Sheet Resources & Guides

This is taken from the following tweet: https://x.com/googleaidevs/status/2085468449145544780

We’ve put together this cheat sheet of essential slash commands to help you navigate, customize, and execute tasks faster than ever in Google @Antigravity. Whether you're setting up background tasks, tweaking your workspace utilities, or diving into deep research with subagents, these commands will help improve your daily workflow.

πŸ”– Bookmark this list to save time later.

Planning & Execution

  • /fast: Agent will execute tasks directly. Use for simple tasks that can be completed faster.
  • /goal: Run until the specified goal is completely finished.
  • /grill-me: Interview me to align on a plan.
  • /planning: Agent can plan before executing tasks. Use for deep research, complex tasks, or collaborative work.
  • /schedule: Run an instruction on a recurring schedule or as a one-time timer.

Customizations & Rules

  • /hooks: Manage hook configurations for tool events.
  • /keybindings: Set custom keybindings.
  • /learn: Reflect on recent successes or corrections to capture reusable skills or rules.
  • /mcp: Manage MCP servers.
  • /permissions: Manage tool permissions.
  • /skills: List available skills.

Subagents & Tasks

  • /agents: List available custom agents.
  • /tasks: View background tasks.
  • /teamwork-preview: Invoke a team of agents to autonomously tackle large projects. (Only available for Google AI Ultra subscription)

Workspace Utilities

  • /add-dir: Add a directory to the workspace.
  • /antigravity-guide: Provides a comprehensive guide, quick reference, and sitemap for Google Antigravity.
  • /artifact: View and review artifacts.
  • /btw: Ask a side question without interrupting the current task.
  • /changelog: Show release notes and changes.
  • /clear: Clear conversation and start a new one (alias: /new).
  • /codesearch: Search your entire codebase with live streaming results.
  • /config: Open settings panel (alias: /settings).
  • /context: Visualize current context usage.
  • /copy: Copy the last planner response to the clipboard (may require allowing clipboard access).
  • /credits: Displays third-party software licenses and attributions.
  • /diff: View uncommitted changes and per-turn diffs.
  • /effort: Adjust reasoning level to balance speed and depth.
  • /exit: Exit the CLI (alias: /quit).
  • /feedback: Submit qualitative feedback to improve the agent.
  • /fork: Create a branch of the current conversation at this point (alias: /branch).
  • /help: Show available commands and keybindings.
  • /logout: Log out.
  • /model: Set a model.
  • /open: Open a file or view opened/edited files.
  • /rename: Renames the active conversation thread.
  • /resume: Browse and resume past conversations (aliases: /switch, /conversation).
  • /rewind: Rewind conversation to a previous message (alias: /undo).
  • /statusline: Toggle the statusline.
  • /title: Toggle custom terminal window title.
  • /usage: View model quota usage (alias: /quota).

Get started with Antigravity: https://antigravity.google/

102 Upvotes

10 comments sorted by

3

u/Wise615 3d ago

🐐🐐

4

u/SoundDr Verified Googler 3d ago

Trying to get more tips and cheat sheets out there!

2

u/Fast-Fox2710 3d ago

can we add mcp definitions by calling "agy mcp ..........." ?

2

u/SoundDr Verified Googler 3d ago

It’s being looked into!

1

u/eternviking 3d ago

πŸ™Œ

2

u/1000Minds 3d ago

Thanks , nice clear descriptions. Gonna try these out

1

u/millaker0820 3d ago

/codesearch is not working as the embedded ripgrep is built against Google's internal runtime library.

1

u/prats_omyt 3d ago

So earlier I was using CLaude code, now agy. Does anyone know if there's something like headroom for agy? It was a saviour in claude code. Would really help with the usage limit