Slash commands let you control Claude Code’s behavior, navigate sessions, configure tools, and access information without leaving the terminal. TypeDocumentation 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.
/ at the prompt to see a filtered list of available commands.
Session & Navigation
/clear — Clear conversation history
/clear — Clear conversation history
/reset, /newClears the current conversation history and frees up context, starting a fresh session without restarting the process./compact instead./compact — Compact conversation with summary
/compact — Compact conversation with summary
/compact [instructions]Clears conversation history but preserves a generated summary in context. Reduces token usage while retaining the important context Claude needs to continue working. You can optionally pass custom summarization instructions.DISABLE_COMPACT=1./resume — Resume a previous conversation
/resume — Resume a previous conversation
/continueUsage: /resume [conversation id or search term]Opens a picker to resume a previous conversation. Pass a conversation ID or a search term to filter the list./session — Show remote session info
/session — Show remote session info
/remoteDisplays the URL and QR code for the current remote session. Only available when running in remote mode (CLAUDE_CODE_REMOTE=true)./exit — Exit Claude Code
/exit — Exit Claude Code
/quitExits the Claude Code REPL immediately./rename — Rename the current conversation
/rename — Rename the current conversation
/rename [name]Renames the current conversation. If you omit the name, Claude Code prompts you to enter one interactively./copy — Copy Claude's last response
/copy — Copy Claude's last response
/copy [N]Copies Claude’s most recent response to the clipboard. Pass a number N to copy the Nth-latest response instead./rewind — Restore to a previous checkpoint
/rewind — Restore to a previous checkpoint
/checkpointRestores the code and/or conversation to a previous point in the session, allowing you to undo recent changes./branch — Branch the current conversation
/branch — Branch the current conversation
/branch [name]Creates a branch of the current conversation at the current point, letting you explore a different direction without affecting the original thread.AI & Model
/model — Set the AI model
/model — Set the AI model
/model [model]Opens the model picker or directly sets the model Claude uses. Shows the currently active model in the command description./effort — Set effort level
/effort — Set effort level
/effort [low|medium|high|max|auto]Controls how much thinking effort Claude applies to responses. Higher effort levels use more tokens and take longer but produce more thorough results.| Level | Behavior |
|---|---|
low | Minimal thinking, fastest responses |
medium | Balanced thinking and speed |
high | Extended thinking for complex problems |
max | Maximum thinking budget |
auto | Claude decides based on task complexity |
/plan — Enable plan mode
/plan — Enable plan mode
/plan [open|description]Enables plan mode or views the current session plan. In plan mode, Claude proposes a plan before taking actions, letting you review and approve before execution./fast — Toggle fast mode
/fast — Toggle fast mode
/fast [on|off]Toggles fast mode, which uses a smaller, faster model for responses. Only available for claude.ai subscribers and direct Anthropic API users when fast mode is enabled for your account.Tools & Permissions
/permissions — Manage tool permission rules
/permissions — Manage tool permission rules
/allowed-toolsOpens the permissions management panel where you can view, add, and remove allow/deny rules for tools. Permission rules control which shell commands and file operations Claude can run without asking.Bash(git *) to allow all git commands, or Edit(src/**) to allow edits within the src/ directory./hooks — View hook configurations
/hooks — View hook configurations
settings.json or project-level CLAUDE.md files. See /help for documentation links./mcp — Manage MCP servers
/mcp — Manage MCP servers
/mcp [enable|disable [server-name]]Opens the MCP server management panel. You can enable, disable, and inspect connected MCP (Model Context Protocol) servers from here./ide — Manage IDE integrations
/ide — Manage IDE integrations
/ide [open]Shows the status of IDE integrations (VS Code, JetBrains, etc.) and lets you manage connections. Pass open to launch the IDE integration setup.Content & Context
/memory — Edit Claude memory files
/memory — Edit Claude memory files
CLAUDE.md). Memory files provide persistent context that Claude reads at the start of every session./context — Visualize context usage
/context — Visualize context usage
/compact./add-dir — Add a working directory
/add-dir — Add a working directory
/add-dir <path>Adds a new working directory to Claude’s context. Claude can then read and modify files in that directory./diff — View uncommitted changes
/diff — View uncommitted changes
Skills & Agents
/skills — List available skills
/skills — List available skills
~/.claude/skills/ directory, plugin directories, or bundled with Claude Code./agents — Manage agent configurations
/agents — Manage agent configurations
/plugin — Manage plugins
/plugin — Manage plugins
/plugins, /marketplaceOpens the plugin marketplace and management panel. You can browse, install, enable, disable, and configure Claude Code plugins./tasks — List background tasks
/tasks — List background tasks
/bashesLists all currently running and recent background tasks (shell commands and agents launched in the background). You can view output and manage tasks from here.Information & Diagnostics
/help — Show help
/help — Show help
/status — Show Claude Code status
/status — Show Claude Code status
/doctor — Diagnose installation
/doctor — Diagnose installation
- Installation type and path (npm global, npm local, native, package manager)
- Whether
~/.local/binis inPATHfor native installs - Auto-update eligibility and permissions
- Multiple conflicting installations
- Large CLAUDE.md files consuming context
- MCP tool schema token usage
- Unreachable permission rules
- ripgrep availability and mode
/cost — Show session cost
/cost — Show session cost
/stats — Show usage statistics
/stats — Show usage statistics
/usage — Show plan limits
/usage — Show plan limits
Appearance
/theme — Change the theme
/theme — Change the theme
/color — Set prompt bar color
/color — Set prompt bar color
/color <color|default>Sets the color of the prompt bar for the current session. Pass a named color or hex value, or default to reset./vim — Toggle Vim mode
/vim — Toggle Vim mode
/keybindings — Configure keybindings
/keybindings — Configure keybindings
/statusline — Set up the status line
/statusline — Set up the status line
/statusline [description]Launches an agent to configure Claude Code’s status line UI, optionally guided by a description of what you want. If no argument is given, it reads your shell PS1 configuration to set up a matching status line./config — Open config panel
/config — Open config panel
/settingsOpens the configuration panel where you can adjust Claude Code settings.Workflows
/review — Review code changes
/review — Review code changes
/feedback — Submit feedback
/feedback — Submit feedback
/bugUsage: /feedback [report]Opens a feedback dialog to submit product feedback or bug reports to Anthropic. Not available for Bedrock, Vertex, or Foundry API users./upgrade — Upgrade to Max plan
/upgrade — Upgrade to Max plan