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

commands
26
tools
5

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

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

/details

configuration

OpenCode

Toggle tool execution details in the conversation output.

detailstoolsdebugging
view command →

/models

configuration

OpenCode

List available models across all configured providers. Keybind: Ctrl+x m.

modelsprovidersconfiguration
view command →

/themes

configuration

OpenCode

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

themesuivisual
view command →

/thinking

configuration

OpenCode

Toggle visibility of reasoning blocks in the response.

thinkingreasoningvisibility
view command →