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. 17 commands indexed.

commands
17
tools
6

/btw

utility

Antigravity CLI

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

questionsside-chatfast-query
view command →

/clear

utility

Antigravity CLI

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

uiclearscreen
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 →

/help

utility

Antigravity CLI

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

helpdocumentationcheatsheet
view command →

/keybindings

configuration

Antigravity CLI

Configure or review keyboard shortcuts mapped to interactive TUI operations.

shortcutshotkeyskeybinds
view command →

/statusline

configuration

Antigravity CLI

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

uistatuslinediagnostic
view command →

/title

configuration

Antigravity CLI

Toggle or customize the terminal emulator window title format.

windowuititle
view command →

/btw

context-management

Claude Code

Ask a quick side question without adding it to the main conversation history.

side-questioncontextquick
view command →

/init

setup

Claude Code

Initialize project with a CLAUDE.md guide covering repo conventions, commands, and agent instructions.

setupmemoryclaude.mdproject-init
view command →

/quit

session-management

Cursor CLI

Exit the Cursor CLI.

exitquit
view command →

/rules

setup

Cursor CLI

Create new rules or edit existing rules in .cursor/rules (.mdc files) for persistent project guidance.

rulesconventionsproject-configcursor-rules
view command →

/agents

parallel-agents

Gemini CLI

Manage subagents — list built-in, local, and remote subagents; enable, disable, or configure.

agentssubagentsparalleldelegation
view command →

/exit

session-management

OpenCode

Exit OpenCode. Aliases: /quit, /q. Keybind: Ctrl+x q.

exitquit
view command →

/init

setup

OpenCode

Guided AGENTS.md setup for the current project.

setupagents.mdmemoryproject-init
view command →

/themes

configuration

OpenCode

List available themes and switch the visual theme. Keybind: Ctrl+x t.

themesuivisual
view command →

/undo

session-management

OpenCode

Remove the last message and its responses, and revert any file changes made. Git-backed — requires a git repository. Keybind: Ctrl+x u.

undorevertgitrollback
view command →