slash commands / reference

COMMAND REFERENCE

Slash commands for every AI coding tool — Claude Code, Cursor, Codex CLI, Gemini CLI, and OpenCode. Find the right command for your workflow. 30 commands indexed.

commands
30
tools
6

/add-dir

workspace-management

Antigravity CLI

Add a directory path to the active project workspace.

workspacedirectorycontext
view command →

/agents

subagents

Antigravity CLI

Open the subagents management panel to monitor and approve actions for background agents.

subagentsconcurrencymonitoringapprovals
view command →

/artifact

artifacts

Antigravity CLI

Open the terminal-based interactive viewer for staged code artifacts and documents.

artifactspreviewmarkdown
view command →

/btw

utility

Antigravity CLI

Ask a quick side-question or request info without starting a heavy agent execution state.

questionsside-chatfast-query
view command →

/changelog

utility

Antigravity CLI

Display the latest product updates, version releases, and changelog info in the terminal.

changelogreleasenews
view command →

/clear

utility

Antigravity CLI

Clear the active terminal viewport and reset the screen buffer. Alias: /new.

uiclearscreen
view command →

/config

configuration

Antigravity CLI

Open the interactive configuration panel to adjust agent behaviors and CLI parameters. Alias: /settings.

settingsconfigurationtui
view command →

/context

context-management

Antigravity CLI

List all files, symbols, and references currently loaded inside the agent's context window.

contexttokensmemory
view command →

/copy

utility

Antigravity CLI

Copy the last generated agent response directly to your host clipboard.

clipboardutilitycopy
view command →

/diff

utility

Antigravity CLI

Display the current git diff of files modified by the agent in this session.

diffgitcodecheck
view command →

/exit

session-management

Antigravity CLI

Exit the active session and terminate agy safely. Alias: /quit.

exitterminatequit
view command →

/fast

utility

Antigravity CLI

Toggle Fast Mode, modifying artificial typing delays and thought visualizations.

speeduirender
view command →

/fork

session-management

Antigravity CLI

Fork the current conversation thread into a new session, keeping original history intact. Alias: /branch.

forksessionbranch
view command →

/help

utility

Antigravity CLI

Display the command cheatsheet, syntax help, and interactive keyboard guide.

helpdocumentationcheatsheet
view command →

/hooks

utility

Antigravity CLI

List all registered lifecycle hooks (e.g. pre-command, post-edit validations).

hooksautomationevents
view command →

/keybindings

configuration

Antigravity CLI

Configure or review keyboard shortcuts mapped to interactive TUI operations.

shortcutshotkeyskeybinds
view command →

/logout

configuration

Antigravity CLI

Log out of your active Google user session and wipe local authentication caches.

authlogoutgoogle
view command →

/mcp

utility

Antigravity CLI

Inspect active Model Context Protocol (MCP) servers and list their exposed tools.

mcpintegrationtools
view command →

/model

configuration

Antigravity CLI

Change the default Gemini model used for the active reasoning conversation.

modelgeminiconfiguration
view command →

/open

utility

Antigravity CLI

Open the specified file directly inside your host's configured preferred text editor.

editorfile-openide
view command →

/permissions

configuration

Antigravity CLI

Manage fine-grained command and directory read/write authorization rules.

securitysandboxpermissions
view command →

/planning

planning

Antigravity CLI

Open the interactive task board and execution step planner dashboard.

planningboardworkflow
view command →

/rename

session-management

Antigravity CLI

Rename the active conversation thread for better tracking and retrieval.

renamesessiontitle
view command →

/resume

session-management

Antigravity CLI

Resume or switch to a past conversation session. Aliases: /switch, /conversation.

resumesessionsswitch
view command →

/rewind

session-management

Antigravity CLI

Rewind conversation state to a previous point in history. Alias: /undo.

undorewindstate
view command →

/skills

utility

Antigravity CLI

List all local project-scoped and global user-defined agent skills.

skillscustomizationautomation
view command →

/statusline

configuration

Antigravity CLI

Toggle or configure the visibility of real-time CLI diagnostic lines.

uistatuslinediagnostic
view command →

/tasks

utility

Antigravity CLI

Monitor, view output logs, or cancel active background tasks.

tasksbackgroundmonitoring
view command →

/title

configuration

Antigravity CLI

Toggle or customize the terminal emulator window title format.

windowuititle
view command →

/usage

utility

Antigravity CLI

Display current token count, model call pricing, and account limits. Alias: /quota.

quotatokenspricingcredits
view command →