Skip to main content
reopt Handbook
reopt Handbook
Claude Code Command MasterLabels and command selectionHow to read a detail guideComplete command listTerminal CLI Commands and Flags

Task guides

Core command basicsStarting and resuming workSkills and Custom CommandsAutomation and Web CommandsOperations and Safety CommandsCustom commands and skillsMCP connections and commands

Conversation and context

Cmd. /add-dirCmd. /backgroundCmd. /compactCmd. /contextCmd. /copyCmd. /exportCmd. /forkCmd. /importCmd. /initCmd. /memoryCmd. /recapCmd. /renameCmd. /resumeCmd. /rewindCmd. claude purge

Planning and execution

Cmd. /autofix-prCmd. /batchCmd. /desktopCmd. /goalCmd. /loopCmd. /planCmd. /remote-envCmd. /scheduleCmd. /tasksCmd. /teleportCmd. /workflows

Review and verification

Cmd. /code-reviewCmd. /runCmd. /run-skill-generatorCmd. /security-reviewCmd. /simplifyCmd. /verify

Models and settings

Cmd. /claude-apiCmd. /configCmd. /effortCmd. /fastCmd. /modelCmd. /output-styleCmd. /update-config

Permissions and integrations

Cmd. /agentsCmd. /hooksCmd. /ideCmd. /mcpCmd. /permissionsCmd. /pluginCmd. /reload-pluginsCmd. /reload-skillsCmd. /sandboxCmd. /skillsCmd. /web-setup

Status and diagnostics

Cmd. /debugCmd. /diffCmd. /doctorCmd. /fewer-permission-promptsCmd. /release-notesCmd. /team-onboarding

Display and input

Cmd. /colorCmd. /focusCmd. /keybindingsCmd. /powerupCmd. /statuslineCmd. /terminal-setupCmd. /themeCmd. /tui

Account and usage

Cmd. /upgradeCmd. /usageCmd. /usage-credits

Legacy

Cmd. /costCmd. /pr-commentsCmd. /reviewCmd. /statsCmd. /ultrareviewCmd. /vimCmd. /approved-toolsCmd. /commandsCmd. /extra-usageCmd. /settingsCmd. /tagCmd. /todos

Verification and history

Current verification scopeHandbook updatesRelease coverage historyEarlier verification recordsCommand change history
Handbook›Claude Code Command Master›Complete command list
한국어KOEnglishEN

Complete command list

Syntax, type, availability, and guide links for all 119 entries in the official Claude Code slash table.

Written and reviewed by Eric Han · Co-founder & CTO, reopt

Key takeaways

  • Reviewed 2026-10-23 against Claude Code 2.1.308. The 120 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 / syntaxKind · statusPurpose and availabilityDetails
/add-dir <path>Built-in · Current referenceAdd a working directory for file access in this session.Guide
/advisor [model|off]Built-in · Current referenceSelect or disable the second-model advisor tool.Reference
/agentsBuilt-in · Current referenceOn current versions, explain how to manage subagents.Guide
/artifact-capabilitiesBundled skill · ConditionalLoad the reference for runtime capabilities a published artifact can use (skill). Available where artifacts are. Claude normally loads it on its own before building a page that calls connectors or offers a file download.Reference
/artifact-diagrammingBundled skill · Current referenceLoad diagramming guidance for artifacts (v2.1.221+, skill).Reference
/artifactsBuilt-in · ConditionalFind and attach available Claude artifacts. Requires artifacts access; attaching with Enter requires v2.1.216+.Reference
/auto-mode-setupBuilt-in · ConditionalDraft 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 referenceSet the context level that triggers automatic compaction.Reference
/autofix-pr [prompt]Built-in · ConditionalStart 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 referenceDetach the current session as a background agent (/bg).Guide
/batch <instruction>Bundled skill · ConditionalParallelize a large change across worktree subagents (skill). Requires a Git repository or a WorktreeCreate hook that creates the worktrees (outside Git: v2.1.281+); worktree tasks start after the proposed plan is approved.Guide
/branch [name]Built-in · Current referenceBranch the conversation and switch into the branch.Guide
/btw [question]Built-in · Current referenceAsk a side question without adding it to conversation history.Reference
/bug [report]Built-in · Current referenceReport a bug or share the conversation after consent (/share).Reference
/cd <path>Built-in · Current referenceMove the session to another working directory.Reference
/chromeBuilt-in · Current referenceConfigure Claude in Chrome.Reference
/claude-api [migrate|upgrade|api-version|managed-agents-onboard|managed-agents-secure|prompt-audit|cost-optimize|build-eval|hillclimb|preserved-thinking-migration]Bundled skill · Current referenceClaude API and Managed Agents support skill.Guide
/claude-in-chrome [task]Bundled skill · ConditionalHave Claude carry out a task in your browser through Claude in Chrome (skill). Shown when Chrome integration is enabled for the session, for example with claude --chrome, or when Claude Code can offer to install the extension. From v2.1.290 a project settings file can no longer turn the integration on.Reference
/clear [name]Built-in · Current referenceStart an empty-context conversation (/reset, /new).Guide
/code-review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [--max-findings n|all|default] [pr#|branch|path]Bundled skill · Current referenceReview a diff, PR, branch, or path (skill).Guide
/color [color|default]Built-in · Current referenceSet the current session prompt-bar color.Guide
/compact [instructions]Built-in · Current referenceSummarize the current conversation to free context.Guide
/config [key=value ...]Built-in · Current referenceOpen settings or apply direct key/value settings (/settings).Guide
/context [all]Built-in · Current referenceVisualize context usage and heavy contributors.Guide
/copy [N]Built-in · Current referenceCopy a recent assistant response or selected code block.Guide
/costAlias · Current referenceAlias for /usage.Guide
/dataviz [request]Bundled skill · Current referenceApply chart and dashboard design guidance (skill).Reference
/debug [description]Bundled skill · Current referenceEnable debug logging and analyze the session issue (skill).Guide
/deep-research <question>Dynamic workflow · ConditionalResearch web sources with a multi-agent workflow. Use in an environment with dynamic workflows enabled.Reference
/design [brief]Bundled skill · ConditionalDraft UI mockups, screen flows, or posters on an artifact canvas (skill). Requires v2.1.265+ and an Anthropic API session with artifacts available.Reference
/design consent, /design revokeBuilt-in · Current referenceGrant or revoke Claude Design access; the user must type consent themselves.Reference
/design-loginBuilt-in · Current referenceAuthorize Claude Design for /design-sync. Standalone claude.ai/design closes by 2026-12-14.Reference
/design-sync [hint]Bundled skill · ConditionalSync a React design system to Claude Design (skill). Standalone claude.ai/design closes by 2026-12-14. Available on the Anthropic API; unavailable on Bedrock, Google Cloud's Agent Platform, Foundry, Claude Platform on AWS, and Claude apps gateway sessions because it needs claude.ai. Distinguish the current /design artifact from migration off the standalone site.Reference
/desktopBuilt-in · ConditionalContinue the session in Claude Code Desktop (/app). Requires macOS or x64 Windows and a Claude subscription.Guide
/diffBuilt-in · Current referenceOpen the interactive uncommitted and per-turn diff viewer.Guide
/doctor [prompt-audit [path]]Bundled skill · Current referenceDiagnose and optionally repair setup and configuration (skill); the prompt-audit subcommand requires v2.1.283+.Guide
/effort [level|auto|status|ultracode [on|off]]Built-in · Current referenceSet or inspect model-specific reasoning effort.Guide
/exitBuilt-in · Current referenceExit the CLI or detach from a background session (/quit).Guide
/export [filename]Built-in · Current referenceCopy or save the current conversation as plain text.Guide
/fast [on|off]Built-in · Current referenceToggle fast mode.Guide
/feedback [report]Built-in · Current referenceWrite, review, and send product feedback or drafts.Reference
/fewer-permission-promptsBundled skill · Current referencePropose a read-only allowlist from transcripts (skill).Guide
/focusBuilt-in · ConditionalToggle fullscreen focus view. A display feature for the fullscreen renderer.Guide
/fork [prompt]Built-in · Current referenceCopy the conversation into a new background session.Guide
/goal [condition|clear]Built-in · Current referencePersist work until a completion condition is met.Guide
/heapdumpBuilt-in · Current referenceWrite heap and memory diagnostics; hidden from the menu.Reference
/helpBuilt-in · Current referenceShow help and available commands.Guide
/hooksBuilt-in · Current referenceInspect hook configuration and events.Guide
/ideBuilt-in · Current referenceManage IDE integrations and status.Guide
/import [codex|gemini|cursor] [--dry-run] [--yes]Built-in · ConditionalImport supported coding-agent configuration. Requires v2.1.213+ (Cursor: v2.1.265+). Unavailable on Bedrock, Google Cloud's Agent Platform, Foundry, Claude Platform on AWS, Claude apps gateway, or with feature-flag fetching off.Guide
/initBuilt-in · Current referenceInitialize a project CLAUDE.md.Guide
/insightsBuilt-in · Current referenceGenerate an HTML report from recent local sessions.Reference
/install-github-appBuilt-in · Current referenceWalk through Claude GitHub App installation.Reference
/install-slack-appBuilt-in · Current referenceOpen the Claude Slack App OAuth install flow.Reference
/keybindingsBuilt-in · Current referenceOpen the keyboard-shortcut file.Guide
/list-agentsBuilt-in · ConditionalList messageable agents, teammates, and sessions (/peers). Available where cross-session messaging is enabled.Reference
/loginBuilt-in · Current referenceSign in to an Anthropic account.Reference
/logoutBuilt-in · Current referenceSign out from the Anthropic account.Reference
/loop [interval] [prompt]Bundled skill · Current referenceRepeat a prompt while the session stays open (skill, /proactive).Guide
/mcp [reconnect (<server>|all)|enable|disable [<server>|all]]Built-in · Current referenceManage MCP connections, OAuth, and enabled state.Guide
/memoryBuilt-in · Current referenceManage CLAUDE.md files and auto memory.Guide
/mobileBuilt-in · Current referenceShow the Claude mobile-app QR (/ios, /android).Reference
/model [model]Built-in · Current referenceSelect a model and save the default.Guide
/output-style [style]Built-in · Current referenceList or select an output style (v2.1.269+).Guide
/passesBuilt-in · ConditionalShare an eligible free Claude Code trial. Visible only when the account is eligible to share a trial.Reference
/permissionsBuilt-in · Current referenceManage allow, ask, deny, and Auto rules (/allowed-tools).Guide
/plan [description]Built-in · Current referenceEnter plan mode and optionally start the described task.Guide
/plugin [subcommand]Built-in · Current referenceBrowse, install, enable, or disable plugins.Guide
/plugin-authoringBundled skill · Current referenceLoad the reference Claude works from to write a mod (v2.1.287+, built-in plugin skill).Reference
/powerupBuilt-in · Current referenceLearn Claude Code features interactively.Guide
/pr-comments [PR]Built-in · RemovedLegacy command removed in v2.1.91.Guide
/privacy-settingsBuilt-in · ConditionalView Pro or Max privacy settings. Available to Pro and Max subscribers.Reference
/radioBuilt-in · Current referenceOpen the Claude FM stream.Reference
/rate-limit-optionsBuilt-in · ConditionalChoose 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
/recapBuilt-in · Current referenceGenerate a one-line session summary.Guide
/release-notesBuilt-in · Current referenceBrowse changelog entries by version.Guide
/reload-plugins [--force]Built-in · Current referenceReload active plugins, warning on MCP changes.Guide
/reload-skillsBuilt-in · Current referenceRe-scan skill and command directories.Guide
/remote-controlBuilt-in · Current referenceEnable Remote Control for this session (/rc).Reference
/remote-envBuilt-in · ConditionalSelect the default cloud-agent environment. Check cloud-session or routine access and the required account connections.Guide
/rename [name]Built-in · Current referenceName or auto-name the current session.Guide
/resume [session]Built-in · Current referenceResume by ID, name, or picker (/continue).Guide
/review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [--max-findings n|all|default] [pr#|branch|path]Alias · Current referenceAlias for /code-review.Guide
/rewindBuilt-in · Current referenceRestore or summarize from a checkpoint (/undo).Guide
/runBundled skill · Current referenceLaunch and drive the app to verify a change (skill).Guide
/run-skill-generatorBundled skill · Current referenceGenerate project-specific /run and /verify skills.Guide
/sandboxBuilt-in · ConditionalToggle 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 · ConditionalCreate and manage cloud routines (/routines). Check cloud-session or routine access and the required account connections.Guide
/scroll-speedBuilt-in · ConditionalAdjust fullscreen mouse-wheel speed. Requires fullscreen rendering and is unavailable in the JetBrains IDE terminal.Reference
/security-reviewBuilt-in · ConditionalAnalyze the current branch diff for vulnerabilities. Requires a Git repository with an origin remote and a resolvable base branch.Guide
/setup-bedrockBuilt-in · ConditionalConfigure Amazon Bedrock; conditionally hidden. Hidden from the menu until CLAUDE_CODE_USE_BEDROCK=1; the full command can still be typed.Reference
/setup-vertexBuilt-in · ConditionalConfigure 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 referenceImprove reuse, simplicity, efficiency, and abstraction (skill).Guide
/skill-doctorBuilt-in · ConditionalInspect skill context cost and usage frequency. Requires v2.1.252+ and feature-flag fetching.Reference
/skillsBuilt-in · Current referenceBrowse, filter, and manage skill visibility.Guide
/slides [brief]Bundled skill · ConditionalMake a presentation as a Claude Slides artifact from a brief (skill). Requires v2.1.265+, a session where artifacts are available, and an account with the Slides template; otherwise the command does not appear. Unavailable on Bedrock, Agent Platform, Foundry, and Claude Platform on AWS.Reference
/statsAlias · Current referenceOpen /usage on the Stats tab.Guide
/statusBuilt-in · Current referenceShow version, model, account, and connectivity.Guide
/statuslineBuilt-in · Current referenceGenerate or configure the status line.Guide
/stickersBuilt-in · Current referenceOrder Claude Code stickers.Reference
/stopBuilt-in · ConditionalStop the attached background session. Available only while attached to the current background session.Reference
/subtask <task>Built-in · Current referenceRun a conversation-inheriting forked subagent.Guide
/tasksBuilt-in · Current referenceManage current-session background work (/bashes).Guide
/team-onboardingBuilt-in · Current referenceGenerate a team guide from 30 days of usage.Guide
/teleportBuilt-in · ConditionalPull a web session into the local terminal (/tp). Check cloud-session or routine access and the required account connections.Guide
/terminal-setupBuilt-in · Current referenceConfigure multiline input and clipboard behavior by terminal.Guide
/themeBuilt-in · Current referenceChoose a built-in or custom theme.Guide
/tui [default|fullscreen]Built-in · Current referenceSwitch TUI renderer while preserving the conversation.Guide
/ultraplan <prompt>Built-in · RemovedRemoved; use plan mode.Reference
/ultrareview [PR or branch]Alias · ConditionalCloud 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 referenceEdit settings.json from a request (skill); use /config for theme/model.Guide
/upgradeBuilt-in · Current referenceOpen the plan-upgrade page.Guide
/usageBuilt-in · Current referenceShow session cost, plan limits, and activity.Guide
/usage-creditsBuilt-in · Current referenceConfigure credits or request them from an admin.Guide
/verifyBundled skill · Current referenceBuild, run, and observe the app to verify a change (skill).Guide
/vimBuilt-in · RemovedRemoved in v2.1.92; use /config Editor mode.Guide
/voice [hold|tap|off]Built-in · ConditionalConfigure voice dictation mode. Requires a Claude.ai account; supports hold, tap, and off modes.Reference
/web-setupBuilt-in · ConditionalConnect Claude Code web using local gh credentials. Check cloud-session or routine access and the required account connections.Guide
/workflow-authoringBundled skill · ConditionalLoad dynamic-workflow script reference (v2.1.248+, skill). Use in an environment with dynamic workflows enabled.Reference
/workflowsBuilt-in · ConditionalWatch, 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.

CommandKind · statusCurrent guidance
/approved-toolsLegacy · Not in current tableMigrate the older permission command to /permissions.
/commandsLegacy · Not in current tableFind current command help and custom skills from an older playbook.
/extra-usageLegacy · RenamedMove from the older extra-usage name to /usage-credits.
claude purge [path]Terminal CLI · Current referenceRemove local project session data through the terminal CLI. Named claude project purge before v2.1.288.
/settingsAlias · Current referenceAlias for the /config settings interface.
/tag <label>Legacy · Not in current tableInterpret older session tagging instructions and use current session naming.
/todosLegacy · Not in current tableInterpret the older task-list command and inspect current background work.

Official sources

  • Claude Code command reference
  • Changelog

Related docs

Complete command list

Codex Command Master · Every Codex CLI slash command on one page: syntax, kind, and availability for all 57 official rows, plus examples, effects, and cautions by category.

Cmd. /team-onboarding

Generate a team guide from 30 days of usage.

Labels and command selection

Codex Command Master · Distinguish Codex CLI terminal commands, slash commands, skills, availability labels, and argument notation.

Labels and command selection

Distinguish Claude Code terminal commands, slash commands, skills, availability labels, and argument notation.

Claude Code Complete Guide

A practical guide to multi-session workflows, automation, and extension patterns in Claude Code.

How to read a detail guide

Claude Code: Read detail guides in order: availability, concrete examples, persistence, and official evidence.

Terminal CLI Commands and Flags

All 36 invocation forms and 80 common flags from the official Claude Code CLI reference, plus recent subcommand options

On this page

Official slash tableRelease additions, aliases, and older commandsOfficial sources