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›Cmd. /sandbox
한국어KOEnglishEN

Cmd. /sandbox

Toggle sandbox mode on supported platforms.

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

Key takeaways

  • Toggle sandbox mode on supported platforms.
  • Check the input surface and availability before using the examples below.

Purpose

Toggle sandbox mode on supported platforms.

/sandbox

Availability

FieldValue
Input surfaceRunning CLI prompt
KindBuilt-in
StatusConditional
Aliases—
Documented minimumNot specified
Reviewed against2026-10-23 · Claude Code 2.1.308

Supported on macOS and Linux/WSL2, not native Windows. Check the bubblewrap and socat dependencies on Linux/WSL2.

Examples

/sandbox

Effects and persistence

Changes sandbox mode for tool execution on supported platforms.

Cautions

On v2.1.248+, claude --restricted or CLAUDE_CODE_RESTRICTED=1 starts a restricted execution profile.

Keep sandbox boundaries and tool approval rules distinct; changing one does not describe the complete permission policy.

Official sources

  • Commands
  • Sandboxing

Complete command list · Verification scope

Related docs

Cmd. /release-notes

Displays selected release notes in the transcript without adding them to model conversation context.

Cmd. /run-skill-generator

Generate project-specific /run and /verify skills.

Ch8. Sandbox Secure Runtime

Enterprise Eve Agent Development · Turn Eve sandbox trust boundaries, backends, network policy, credential brokering, and workspace lifecycle into operating standards.

Cmd. /app

Codex Command Master · Continue the current CLI session in the ChatGPT desktop app on macOS and Windows.

Ch14. Enterprise Patterns

Enterprise Eve Agent Development · Combine Eve features into support, research, code, back-office, analytics, and incident-response agent patterns.

Cmd. /reload-skills

Re-scans on-disk skill and command directories and refreshes session availability.

Cmd. /skills

Browse, filter, and manage skill visibility.

On this page

PurposeAvailabilityExamplesEffects and persistenceCautionsOfficial sources