Complete command list
Syntax, type, availability, and guide links for all 114 entries in the official Claude Code slash table.
Key takeaways
- Reviewed 2026-09-22 against Claude Code 2.1.278. The 114 official rows can include aliases and removed entries; this is not a count of universally runnable commands.
- Use these commands inside the running CLI. Shell commands and flags are in the terminal CLI reference.
Reading the labels · Terminal CLI reference
Official slash table
| Command / syntax | Kind · status | Purpose and availability | Details |
|---|---|---|---|
/add-dir <path> | Built-in · Current reference | Add a working directory for file access in this session. | Guide |
/advisor [model|off] | Built-in · Current reference | Select or disable the second-model advisor tool. | Reference |
/agents | Built-in · Current reference | On current versions, explain how to manage subagents. | Guide |
/artifacts | Built-in · Conditional | Find and attach available Claude artifacts. Requires artifacts access; attaching with Enter requires v2.1.216+. | Reference |
/auto-mode-setup | Built-in · Conditional | Draft Auto mode environment rules from the project. Requires Pro, Max, or Team on v2.1.228+; native Windows requires v2.1.233+. | Reference |
/autocompact [auto|<tokens>] | Built-in · Current reference | Set the context level that triggers automatic compaction. | Reference |
/autofix-pr [prompt] | Built-in · Conditional | Start a cloud session that fixes PR failures and review comments. Requires gh and cloud-session access; watches the PR for the checked-out branch. | Guide |
/background [prompt] | Built-in · Current reference | Detach the current session as a background agent (/bg). | Guide |
/batch <instruction> | Bundled skill · Conditional | Parallelize a large change across worktree subagents (skill). Requires a Git repository; worktree tasks start after the proposed plan is approved. | Guide |
/branch [name] | Built-in · Current reference | Branch the conversation and switch into the branch. | Guide |
/btw [question] | Built-in · Current reference | Ask a side question without adding it to conversation history. | Reference |
/bug [report] | Built-in · Current reference | Report a bug or share the conversation after consent (/share). | Reference |
/cd <path> | Built-in · Current reference | Move the session to another working directory. | Reference |
/chrome | Built-in · Current reference | Configure Claude in Chrome. | Reference |
/claude-api [migrate|upgrade|managed-agents-onboard|prompt-audit|cost-optimize|build-eval|hillclimb] | Bundled skill · Current reference | Claude API and Managed Agents support skill. | Guide |
/clear [name] | Built-in · Current reference | Start an empty-context conversation (/reset, /new). | Guide |
/code-review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [pr#|branch|path] | Bundled skill · Current reference | Review a diff, PR, branch, or path (skill). | Guide |
/color [color|default] | Built-in · Current reference | Set the current session prompt-bar color. | Guide |
/compact [instructions] | Built-in · Current reference | Summarize the current conversation to free context. | Guide |
/config [key=value ...] | Built-in · Current reference | Open settings or apply direct key/value settings (/settings). | Guide |
/context [all] | Built-in · Current reference | Visualize context usage and heavy contributors. | Guide |
/copy [N] | Built-in · Current reference | Copy a recent assistant response or selected code block. | Guide |
/cost | Alias · Current reference | Alias for /usage. | Guide |
/dataviz [request] | Bundled skill · Current reference | Apply chart and dashboard design guidance (skill). | Reference |
/debug [description] | Bundled skill · Current reference | Enable debug logging and analyze the session issue (skill). | Guide |
/deep-research <question> | Dynamic workflow · Conditional | Research web sources with a multi-agent workflow. Use in an environment with dynamic workflows enabled. | Reference |
/design [brief] | Bundled skill · Conditional | Draft UI mockups, screen flows, or posters on an artifact canvas (skill). Requires v2.1.265+ and an Anthropic API session with artifacts available Requires v2.1.265+ and an Anthropic API session with artifacts available. | Reference |
/design-login | Built-in · Current reference | Authorize Claude Design for /design-sync. | Reference |
/design-sync [hint] | Bundled skill · Current reference | Sync a React design system to Claude Design (skill). | Reference |
/desktop | Built-in · Current reference | Continue the session in Claude Code Desktop (/app). | Guide |
/diff | Built-in · Current reference | Open the interactive uncommitted and per-turn diff viewer. | Guide |
/doctor | Bundled skill · Current reference | Diagnose and optionally repair setup and configuration (skill). | Guide |
/effort [level|auto|status] | Built-in · Current reference | Set or inspect model-specific reasoning effort. | Guide |
/exit | Built-in · Current reference | Exit the CLI or detach from a background session (/quit). | Guide |
/export [filename] | Built-in · Current reference | Copy or save the current conversation as plain text. | Guide |
/fast [on|off] | Built-in · Current reference | Toggle fast mode. | Guide |
/feedback [report] | Built-in · Current reference | Write, review, and send product feedback or drafts. | Reference |
/fewer-permission-prompts | Bundled skill · Current reference | Propose a read-only allowlist from transcripts (skill). | Guide |
/focus | Built-in · Conditional | Toggle fullscreen focus view. A display feature for the fullscreen renderer. | Guide |
/fork [prompt] | Built-in · Current reference | Copy the conversation into a new background session. | Guide |
/goal [condition|clear] | Built-in · Current reference | Persist work until a completion condition is met. | Guide |
/heapdump | Built-in · Current reference | Write heap and memory diagnostics; hidden from the menu. | Reference |
/help | Built-in · Current reference | Show help and available commands. | Guide |
/hooks | Built-in · Current reference | Inspect hook configuration and events. | Guide |
/ide | Built-in · Current reference | Manage IDE integrations and status. | Guide |
/import [codex|gemini|cursor] [--dry-run] [--yes] | Built-in · Conditional | Import supported coding-agent configuration. Cursor import requires v2.1.265+. Check provider-specific import restrictions. | Guide |
/init | Built-in · Current reference | Initialize a project CLAUDE.md. | Guide |
/insights | Built-in · Current reference | Generate an HTML report from recent local sessions. | Reference |
/install-github-app | Built-in · Current reference | Walk through Claude GitHub App installation. | Reference |
/install-slack-app | Built-in · Current reference | Open the Claude Slack App OAuth install flow. | Reference |
/keybindings | Built-in · Current reference | Open the keyboard-shortcut file. | Guide |
/list-agents | Built-in · Conditional | List messageable agents, teammates, and sessions (/peers). Available where cross-session messaging is enabled. | Reference |
/login | Built-in · Current reference | Sign in to an Anthropic account. | Reference |
/logout | Built-in · Current reference | Sign out from the Anthropic account. | Reference |
/loop [interval] [prompt] | Bundled skill · Current reference | Repeat a prompt while the session stays open (skill, /proactive). | Guide |
/mcp [reconnect <server>|enable|disable [<server>|all]] | Built-in · Current reference | Manage MCP connections, OAuth, and enabled state. | Guide |
/memory | Built-in · Current reference | Manage CLAUDE.md files and auto memory. | Guide |
/mobile | Built-in · Current reference | Show the Claude mobile-app QR (/ios, /android). | Reference |
/model [model] | Built-in · Current reference | Select a model and save the default. | Guide |
/output-style [style] | Built-in · Current reference | List or select an output style (v2.1.269+). | Guide |
/passes | Built-in · Conditional | Share an eligible free Claude Code trial. Visible only when the account is eligible to share a trial. | Reference |
/permissions | Built-in · Current reference | Manage allow, ask, deny, and Auto rules (/allowed-tools). | Guide |
/plan [description] | Built-in · Current reference | Enter plan mode and optionally start the described task. | Guide |
/plugin [subcommand] | Built-in · Current reference | Browse, install, enable, or disable plugins. | Guide |
/powerup | Built-in · Current reference | Learn Claude Code features interactively. | Guide |
/pr-comments [PR] | Built-in · Removed | Legacy command removed in v2.1.91. | Guide |
/privacy-settings | Built-in · Conditional | View Pro or Max privacy settings. Available to Pro and Max subscribers. | Reference |
/radio | Built-in · Current reference | Open the Claude FM stream. | Reference |
/rate-limit-options | Built-in · Conditional | Choose wait, credits, or upgrade after a limit; hidden from menu. Requires a claude.ai subscription and the full command name because it is hidden from the menu. | Reference |
/recap | Built-in · Current reference | Generate a one-line session summary. | Guide |
/release-notes | Built-in · Current reference | Browse changelog entries by version. | Guide |
/reload-plugins [--force] | Built-in · Current reference | Reload active plugins, warning on MCP changes. | Guide |
/reload-skills | Built-in · Current reference | Re-scan skill and command directories. | Guide |
/remote-control | Built-in · Current reference | Enable Remote Control for this session (/rc). | Reference |
/remote-env | Built-in · Conditional | Select the default cloud-agent environment. Check cloud-session or routine access and the required account connections. | Guide |
/rename [name] | Built-in · Current reference | Name or auto-name the current session. | Guide |
/resume [session] | Built-in · Current reference | Resume by ID, name, or picker (/continue). | Guide |
/review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [pr#|branch|path] | Alias · Current reference | Alias for /code-review. | Guide |
/rewind | Built-in · Current reference | Restore or summarize from a checkpoint (/undo). | Guide |
/run | Bundled skill · Current reference | Launch and drive the app to verify a change (skill). | Guide |
/run-skill-generator | Bundled skill · Current reference | Generate project-specific /run and /verify skills. | Guide |
/sandbox | Built-in · Conditional | Toggle sandbox mode on supported platforms. Supported on macOS and Linux/WSL2, not native Windows. Check the bubblewrap and socat dependencies on Linux/WSL2. | Guide |
/schedule [description] | Built-in · Conditional | Create and manage cloud routines (/routines). Check cloud-session or routine access and the required account connections. | Guide |
/scroll-speed | Built-in · Conditional | Adjust fullscreen mouse-wheel speed. Requires fullscreen rendering and is unavailable in the JetBrains IDE terminal. | Reference |
/security-review | Built-in · Conditional | Analyze the current branch diff for vulnerabilities. Requires a Git repository with an origin remote and a resolvable base branch. | Guide |
/setup-bedrock | Built-in · Conditional | Configure Amazon Bedrock; conditionally hidden. Hidden from the menu until CLAUDE_CODE_USE_BEDROCK=1; the full command can still be typed. | Reference |
/setup-vertex | Built-in · Conditional | Configure the Google cloud provider; conditionally hidden. Hidden from the menu until CLAUDE_CODE_USE_VERTEX=1; the full command can still be typed. | Reference |
/simplify [target] | Bundled skill · Current reference | Improve reuse, simplicity, efficiency, and abstraction (skill). | Guide |
/skill-doctor | Built-in · Conditional | Inspect skill context cost and usage frequency. Requires v2.1.252+ and feature-flag fetching Requires v2.1.252+ and feature-flag fetching. | Reference |
/skills | Built-in · Current reference | Browse, filter, and manage skill visibility. | Guide |
/stats | Alias · Current reference | Open /usage on the Stats tab. | Guide |
/status | Built-in · Current reference | Show version, model, account, and connectivity. | Guide |
/statusline | Built-in · Current reference | Generate or configure the status line. | Guide |
/stickers | Built-in · Current reference | Order Claude Code stickers. | Reference |
/stop | Built-in · Conditional | Stop the attached background session. Available only while attached to the current background session. | Reference |
/subtask <task> | Built-in · Current reference | Run a conversation-inheriting forked subagent. | Guide |
/tasks | Built-in · Current reference | Manage current-session background work (/bashes). | Guide |
/team-onboarding | Built-in · Current reference | Generate a team guide from 30 days of usage. | Guide |
/teleport | Built-in · Conditional | Pull a web session into the local terminal (/tp). Check cloud-session or routine access and the required account connections. | Guide |
/terminal-setup | Built-in · Current reference | Configure multiline input and clipboard behavior by terminal. | Guide |
/theme | Built-in · Current reference | Choose a built-in or custom theme. | Guide |
/tui [default|fullscreen] | Built-in · Current reference | Switch TUI renderer while preserving the conversation. | Guide |
/ultraplan <prompt> | Built-in · Removed | Removed; use plan mode. | Reference |
/ultrareview [PR or branch] | Alias · Conditional | Cloud deep review; /code-review ultra is preferred. Prefer /code-review ultra. Pro and Max include three free runs; later runs require usage credits. | Guide |
/update-config [request] | Bundled skill · Current reference | Edit settings.json from a request (skill); use /config for theme/model. | Guide |
/upgrade | Built-in · Current reference | Open the plan-upgrade page. | Guide |
/usage | Built-in · Current reference | Show session cost, plan limits, and activity. | Guide |
/usage-credits | Built-in · Current reference | Configure credits or request them from an admin. | Guide |
/verify | Bundled skill · Current reference | Build, run, and observe the app to verify a change (skill). | Guide |
/vim | Built-in · Removed | Removed in v2.1.92; use /config Editor mode. | Guide |
/voice [hold|tap|off] | Built-in · Conditional | Configure voice dictation mode. Requires a Claude.ai account; supports hold, tap, and off modes. | Reference |
/web-setup | Built-in · Conditional | Connect Claude Code web using local gh credentials. Check cloud-session or routine access and the required account connections. | Guide |
/workflow-authoring | Bundled skill · Conditional | Load dynamic-workflow script reference (v2.1.248+, skill). Use in an environment with dynamic workflows enabled. | Reference |
/workflows | Built-in · Conditional | Watch, pause, resume, or save dynamic workflows. Use in an environment with dynamic workflows enabled. | Guide |
Release additions, aliases, and older commands
These entries track evidence outside the official table and names from older documents. For removed or renamed entries, use the current replacement in the guide.
| Command | Kind · status | Current guidance |
|---|---|---|
/approved-tools | Legacy · Not in current table | Migrate the older permission command to /permissions. |
/commands | Legacy · Not in current table | Find current command help and custom skills from an older playbook. |
/extra-usage | Legacy · Renamed | Move from the older extra-usage name to /usage-credits. |
claude project purge [path] | Terminal CLI · Release-tracked | Remove local project session data through the terminal CLI. |
/settings | Alias · Current reference | Alias for the /config settings interface. |
/tag <label> | Legacy · Not in current table | Interpret older session tagging instructions and use current session naming. |
/todos | Legacy · Not in current table | Interpret the older task-list command and inspect current background work. |