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

commands
34
tools
6

/config

configuration

Antigravity CLI

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

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

/model

configuration

Antigravity CLI

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

modelgeminiconfiguration
view command →

/permissions

configuration

Antigravity CLI

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

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

/effort

configuration

Claude Code

Set the model effort level: low, medium, high, xhigh, max, or ultracode. Takes effect immediately without waiting for the current response.

effortreasoningmodelcost
view command →

/hooks

configuration

Claude Code

View hook configurations for tool events — pre- and post-tool hooks that run shell commands around Claude's actions.

hooksautomationshellevents
view command →

/model

configuration

Claude Code

Switch the AI model and save it as your default for new sessions. Adjust effort level with left/right arrows on models that support it.

modelconfigurationeffortspeed
view command →

/permissions

configuration

Claude Code

Manage allow, ask, and deny rules for tool permissions. Opens a dialog to view rules by scope, add or remove rules, and review auto-mode denials.

permissionssecurityallowdeny
view command →

/remote-env

configuration

Claude Code

Set or view the default environment for cloud agents spawned from Claude Code sessions.

remotecloudenvironmentmanaged-agents
view command →

/skills

configuration

Claude Code

List available skills and manage which are shown to Claude. Press t to sort by token count, Space to hide a skill.

skillsconfigurationcontext
view command →

/approve

configuration

Codex CLI

Approve one retry of a recent auto review denial — lets Codex attempt a blocked action once under current policy.

approvepermissionsoverrideretry
view command →

/fast

configuration

Codex CLI

Toggle the Fast service tier for the current model/thread, or check current state.

fastspeedtierperformance
view command →

/model

configuration

Codex CLI

Choose the active model (and reasoning effort when available). Opens a picker; press s to switch for the current session only.

modelconfigurationopenai
view command →

/permissions

configuration

Codex CLI

Set what Codex can do without asking first — switch between Auto, Read Only, or custom permission profiles mid-session.

permissionssecurityautoapproval
view command →

/personality

configuration

Codex CLI

Choose a communication style for responses — friendly, pragmatic, or none — without rewriting your instructions.

personalitycommunicationstyleux
view command →

/skills

configuration

Codex CLI

Browse and use local skills to improve task-specific behavior by loading relevant skill context.

skillscontexttask-specific
view command →

/auto-run

configuration

Cursor CLI

Toggle auto-run (default) or set explicitly on/off/status. Controls whether tools run without asking for confirmation.

auto-runpermissionsconfirmationtools
view command →

/logout

configuration

Cursor CLI

Sign out from Cursor.

authlogoutcredentials
view command →

/max-mode

configuration

Cursor CLI

Toggle max mode on models that support it — enables extended reasoning and capability.

max-modereasoningcapability
view command →

/model

configuration

Cursor CLI

Set or list available models for the current session.

modelconfiguration
view command →

/sandbox

configuration

Cursor CLI

Configure sandbox mode and network access settings for the current session.

sandboxsecuritynetworkisolation
view command →

/model set

configuration

Gemini CLI

Choose and optionally persist the active model. Pass --persist to save as default.

modelconfigurationgemini
view command →

/permissions

configuration

Gemini CLI

Manage folder trust settings. Trust a path so Gemini can operate there without per-action prompts.

permissionstrustsecuritypaths
view command →

/skills

configuration

Gemini CLI

Manage agent skills — list, enable, disable, or reload.

skillscontextconfiguration
view command →

/tools

configuration

Gemini CLI

List available tools. Pass 'desc' for descriptions or 'nodesc' for compact list.

toolsconfigurationcapabilities
view command →

/vim

configuration

Gemini CLI

Toggle Vim mode for the composer. Saved to ~/.gemini/settings.json.

vimeditorkeybindingsux
view command →

/connect

configuration

OpenCode

Add a provider and API key to connect a new AI model provider.

providerscredentialsconfigurationapi-key
view command →
Page 1 / 2