Slash commands are special instructions you type directly at the Claude Code prompt, starting withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/VineeTagarwal-code/claude-code/llms.txt
Use this file to discover all available pages before exploring further.
/. They give you direct control over the session, settings, tools, and integrations — without consuming context or triggering a model call.
Command types
Internally, commands fall into three categories:| Type | Description |
|---|---|
local | Runs synchronously in the CLI process and returns a result |
local-jsx | Opens an interactive panel rendered in the terminal |
prompt | A skill — sends a prompt to the model |
local or local-jsx. Skills you create or install are prompt commands.
Session management
/clear — clear conversation history
/clear — clear conversation history
/reset, /new./compact — compress conversation history
/compact — compress conversation history
/resume — resume a previous session
/resume — resume a previous session
/continue/branch — branch the conversation
/branch — branch the conversation
/rewind — rewind to a previous turn
/rewind — rewind to a previous turn
Configuration
/config — open configuration panel
/config — open configuration panel
/settings./model — set the AI model
/model — set the AI model
/effort — set effort level
/effort — set effort level
low, medium, high, max, auto./theme — change the theme
/theme — change the theme
/vim — toggle Vim mode
/vim — toggle Vim mode
Tools and integrations
/mcp — manage MCP servers
/mcp — manage MCP servers
/hooks — view hook configurations
/hooks — view hook configurations
/permissions — manage tool permission rules
/permissions — manage tool permission rules
/allowed-tools. See Permissions for configuration details./ide — IDE integrations
/ide — IDE integrations
Information and diagnostics
/cost — show session cost
/cost — show session cost
/status — show session status
/status — show session status
/doctor — diagnose installation
/doctor — diagnose installation
/help — show available commands
/help — show available commands
Code workflows
/review — code review
/review — code review
gh to fetch the PR diff and produces a structured review./diff — view uncommitted changes
/diff — view uncommitted changes
/plan — enable plan mode
/plan — enable plan mode
Content and context
/memory — edit memory files
/memory — edit memory files
/skills — list available skills
/skills — list available skills
/agents — manage agent configurations
/agents — manage agent configurations
Using commands with arguments
Some commands accept arguments passed directly after the command name:Typeahead
As you type/ at the prompt, Claude Code shows a typeahead list of matching commands. The list updates as you continue typing and includes the command’s description. Press Enter or Tab to complete a command from the list.