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 project 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
한국어English

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 / 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
/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; 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|managed-agents-onboard|prompt-audit|cost-optimize|build-eval|hillclimb]Bundled skill · Current referenceClaude API and Managed Agents support skill.Guide
/clear [name]Built-in · Current referenceStart an empty-context conversation (/reset, /new).Guide
/code-review [low|medium|high|xhigh|max|ultra] [--fix] [--comment] [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 Requires v2.1.265+ and an Anthropic API session with artifacts available.Reference
/design-loginBuilt-in · Current referenceAuthorize Claude Design for /design-sync.Reference
/design-sync [hint]Bundled skill · Current referenceSync a React design system to Claude Design (skill).Reference
/desktopBuilt-in · Current referenceContinue the session in Claude Code Desktop (/app).Guide
/diffBuilt-in · Current referenceOpen the interactive uncommitted and per-turn diff viewer.Guide
/doctorBundled skill · Current referenceDiagnose and optionally repair setup and configuration (skill).Guide
/effort [level|auto|status]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. Cursor import requires v2.1.265+. Check provider-specific import restrictions.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>|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
/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] [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 Requires v2.1.252+ and feature-flag fetching.Reference
/skillsBuilt-in · Current referenceBrowse, filter, and manage skill visibility.Guide
/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 project purge [path]Terminal CLI · Release-trackedRemove local project session data through the terminal CLI.
/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 · Syntax, type, availability, and guide links for all 50 entries in the official Codex CLI slash table.

Cmd. /team-onboarding

Generate a team guide from 30 days of usage.

MCP connections and commands

Choose the commands for mcp connections and commands and follow their availability rules and concrete examples.

Labels and command selection

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

Custom Command Guide

Codex Command Master · How to design and operate team-specific slash commands.

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 34 invocation forms and 79 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