Skip to content

Claude Code Built-in Slash Commands

Per-section reference for every built-in slash command dispatched by the Claude Code CLI.

  1. How slash commands work
  2. Session Management
  3. Memory & Context
  4. Account & Subscription
  5. Plugins, Permissions, Hooks, MCP, Skills
  6. IDE & Integrations
  7. Diagnostics & Health
  8. Team, Scheduling, Multi-Agent
  9. Help & Miscellaneous
  10. Removed / Deprecated Commands
  11. Additional / Undocumented Commands
  12. Experimental / Unreleased / Feature-Flag-Gated Commands
  13. Discrepancies and Gaps
  14. Notes on Sourcing

14 sections, 97 command entries across documented, internal, experimental, and tombstoned commands.

#SectionDescriptionEntries
1How slash commands workDispatch model, aliases, env-var disablers, provider/plan/feature-flag gating, and the [Skill] marker.narrative
2Session ManagementConversation control — clear, compact, resume, branch, model, effort, plan, tui, theme, copy, export, etc.21 commands
3Memory & Context/init, /memory, /context — read/write CLAUDE.md and visualize context usage.3 commands
4Account & SubscriptionLogin/logout, upgrade, usage, passes, privacy, mobile, stickers, setup-bedrock/vertex, web-setup.12 commands
5Plugins, Permissions, Hooks, MCP, Skills/mcp, /plugin, /reload-plugins, /hooks, /permissions, /skills, /less-permission-prompts.7 commands
6IDE & IntegrationsIDE, Chrome, Desktop, terminal setup, remote control/env, teleport, voice, diff, autofix-pr, GitHub/Slack apps, review, ultrareview.15 commands
7Diagnostics & Health/doctor, /status, /heapdump, /insights, /stats, /release-notes, /security-review, /cost, /debug, /simplify.11 commands
8Team, Scheduling, Multi-Agent/schedule, /tasks, /team-onboarding, /ultraplan, /batch, /loop — cross-session coordination primitives.6 commands
9Help & Miscellaneous/help, /powerup, /feedback, /config, /claude-api.6 commands
10Removed / Deprecated CommandsDeprecated (/vim — still registered, superseded by /config → Editor mode as of v2.1.92) and removed (/pr-comments → v2.1.91) commands with replacement guidance.2 commands
11Additional / Undocumented CommandsSource-tree commands NOT on the public commands page — includes ant-only developer tools, experimental git workflows, remote/bridge primitives, and disabled stubs.12 commands
12Experimental / Unreleased / Feature-Flag-Gated CommandsCommands gated by env flags (CLAUDE_CODE_TEAM_ONBOARDING, CLAUDE_CODE_ENABLE_TASKS, CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS, CLAUDE_CODE_ENABLE_CFC).2 commands
13Discrepancies and Gaps10 known mismatches between env vars, public docs, and source — naming collisions, dual-gate patterns, tombstones.narrative
14Notes on SourcingProvenance of each section — which data came from official docs vs source tree vs community citations.narrative

★ = commonly used by junior developers; start with these

CommandAliasesCategoryArgumentsDisabler env varGating/condition
/add-dirSession Management<path>
/agentsSession Managementnone
/autofix-prIDE/GitHub[prompt]Requires gh CLI and Claude Code web access
/batchSession Management [Skill]<instruction>Requires git repository
/branch/forkSession Management[name]
/btwSession Management<question>
/chromeIDEnone
/claude-apiSession Management [Skill]noneCLAUDE_CODE_DISABLE_CLAUDE_API_SKILLAuto-activates with anthropic or @anthropic-ai/sdk imports
/clear/reset, /newSession Managementnone
/colorSession Management[color|default]Colors: red, blue, green, yellow, purple, orange, pink, cyan
/compactSession Management[instructions]DISABLE_COMPACT
/config/settingsSession Managementnone
/contextMemory/Contextnone
/copySession Management[N]
/costDiagnosticsnone
/debugDiagnostics [Skill][description]Requires claude --debug flag or manual activation
/desktop/appIDEnonemacOS and Windows only
/diffIDEnone
/doctorDiagnosticsnoneDISABLE_DOCTOR_COMMAND
/effortSession Management[level|auto]CLAUDE_CODE_DISABLE_FAST_MODELevels: low, medium, high, xhigh, max, auto
/exit/quitSession Managementnone
/exportSession Management[filename]
/extra-usageAccountnone
/fastSession Management[on|off]CLAUDE_CODE_DISABLE_FAST_MODE
/feedback/bugHelp[report]DISABLE_FEEDBACK_COMMAND, DISABLE_BUG_COMMAND
/focusSession ManagementnoneFullscreen rendering only
/heapdumpDiagnosticsnone
/helpHelpnone
/hooksPlugin Mgmtnone
/ideIDEnone
/initMemory/ContextnoneSet CLAUDE_CODE_NEW_INIT=1 for interactive flow
/insightsDiagnosticsnone
/install-github-appIDE/GitHubnoneDISABLE_INSTALL_GITHUB_APP_COMMAND
/install-slack-appIDE/Integrationsnone
/keybindingsIDEnone
/less-permission-promptsPlugin Mgmt [Skill]none
/loginAccountnoneDISABLE_LOGIN_COMMAND
/logoutAccountnoneDISABLE_LOGOUT_COMMAND
/loop/proactiveSession Management [Skill][interval] [prompt]
/mcpPlugin Mgmtnone
/memoryMemory/ContextnoneCLAUDE_CODE_DISABLE_AUTO_MEMORYDisabler only affects auto-memory, not the command
/mobile/ios, /androidAccountnone
/modelSession Management[model]
/passesAccountnoneOnly visible if account is eligible
/permissions/allowed-toolsPlugin Mgmtnone
/planSession Management[description]
/pluginPlugin Mgmtnone
/powerupHelpnone
/privacy-settingsAccountnonePro and Max only
/recapSession Managementnone
/release-notesHelpnone
/reload-pluginsPlugin Mgmtnone
/remote-control/rcIDEnone
/remote-envIDEnone
/renameSession Management[name]
/resume/continueSession Management[session]
/reviewIDE[PR]
/rewind/checkpoint, /undoSession ManagementnoneCLAUDE_CODE_DISABLE_FILE_CHECKPOINTINGDisabler affects checkpointing feature
/sandboxSession ManagementnoneSupported platforms only
/schedule/routinesTeam[description]
/security-reviewDiagnosticsnone
/setup-bedrockAccountnoneOnly visible with CLAUDE_CODE_USE_BEDROCK=1
/setup-vertexAccountnoneOnly visible with CLAUDE_CODE_USE_VERTEX=1
/simplifyDiagnostics [Skill][focus]
/skillsHelpnonePress t to sort by token count
/statsDiagnosticsnone
/statusDiagnosticsnoneWorks while Claude is responding
/statuslineIDEnone
/stickersAccountnone
/tasks/bashesTeamnoneCLAUDE_CODE_DISABLE_BACKGROUND_TASKSFull system gated by CLAUDE_CODE_ENABLE_TASKS
/team-onboardingTeamnoneRequires CLAUDE_CODE_TEAM_ONBOARDING + tengu_flint_harbor flag
/teleport/tpIDEnoneRequires claude.ai subscription
/terminal-setupIDEnoneVS Code, Alacritty, Warp only
/themeSession Managementnone
/tuiIDE[default|fullscreen]
/ultraplanTeam<prompt>
/ultrareviewDiagnostics[PR]3 free runs on Pro/Max, then requires extra usage
/upgradeAccountnoneDISABLE_UPGRADE_COMMANDOnly visible on Pro and Max plans
/usageAccountnoneDISABLE_EXTRA_USAGE_COMMANDNote: env var name mismatch (see Discrepancies and Gaps)
/voiceIDEnoneRequires Claude.ai account
/web-setupAccountnone