Skip to content
tutorialintermediate

40+ Hidden Commands in Claude Code You Can Use Right Now

Complete guide to 40+ hidden and undocumented commands in Claude Code discovered in the v2.1.88 source leak. /btw, /buddy, /branch, /mobile, /plugin and more — all tested and verified. Copy-paste ready.

20 min read
40+ Hidden Commands in Claude Code You Can Use Right Now — Hidden Commands Portal
40+ Hidden Commands in Claude Code You Can Use Right Now — Hidden Commands Portal

Claude Code v2.1.88 contains 37 documented slash commands, 18 semi-public commands, and at least 15 hidden commands discovered through source code analysis. This guide catalogs every confirmed and speculative command with copy-paste examples, 60+ environment variables that unlock hidden features, and CLI flags that change how Claude Code operates. Updated April 2026 based on verified community testing.

What Are Claude Code Hidden Commands?

Claude Code is Anthropic's official CLI for AI-assisted development. While /help lists 37 official commands, the leaked source code (v2.1.88, March 31 2026) reveals dozens of additional slash commands, environment variables, and CLI flags that are functional but undocumented. Some are semi-public (mentioned in blog posts but not in /help), others are fully hidden, and a few are internal-only (gated by employee credentials).

This guide separates confirmed commands (tested by the community) from speculative ones (found in source code but unverified). Every entry includes the exact command to type, what it does, and its current status.

All 37 Public Commands (Official)

These commands appear in /help and work for all users on any plan. They form the baseline Claude Code experience.

CommandWhat It DoesExact Syntax
/add-dirAdd a directory to the context window/add-dir /path/to/folder
/agentsManage sub-agents/agents
/clearClear conversation or caches/clear or /clear caches
/colorChange the prompt bar color/color
/compactCompact conversation to free context/compact
/configEdit configuration/config
/contextView current context window contents/context
/copyCopy last message to clipboard/copy
/costShow session costs and token usage/cost
/desktopLaunch Claude Code Desktop/desktop
/diffView all diffs from this session/diff
/doctorDiagnose problems/doctor
/effortSet reasoning effort level/effort high
/exitQuit Claude Code/exit
/exportExport conversation to file/export
/fastSwitch to Haiku (fast mode)/fast
/feedbackSend feedback to Anthropic/feedback
/filesList files currently in context/files
/helpShow help/help
/hooksManage hooks/hooks
/ideConfigure IDE integration/ide
/initInitialize a project (create CLAUDE.md)/init
/installInstall Claude Code/install
/keybindingsConfigure keyboard shortcuts/keybindings
/loginLog in to Anthropic/login
/logoutLog out/logout
/mcpManage MCP servers/mcp
/memoryEdit persistent memory (CLAUDE.md)/memory
/modelChange model/model opus or /model sonnet
/output-styleChange output formatting style/output-style
/permissionsManage tool permissions/permissions
/planAsk Claude to plan before acting/plan
/renameRename the current session/rename
/resumeResume a previous conversation/resume
/skillsList available skills/skills
/statusShow current status/status
/versionShow Claude Code version/version

Semi-Public Commands: Functional but Undocumented

These 18 commands work but do not appear in /help. Some are mentioned in blog posts, Anthropic changelogs, or community guides. All are CONFIRMED functional as of v2.1.88.

CommandWhat It DoesExact SyntaxStatus
/btwAsk a side question without polluting context. Response appears in a dismissible overlay./btw is this caching approach correct?CONFIRMED
/branchCreate or switch Git branches/branch feat/new-featureCONFIRMED
/briefToggle concise output mode/briefCONFIRMED
/commitCreate a Git commit (bundled skill)/commitCONFIRMED
/commit-push-prCommit + push + create PR in one command/commit-push-prCONFIRMED
/install-github-appInstall the GitHub App/install-github-appCONFIRMED
/install-slack-appInstall the Slack App/install-slack-appCONFIRMED
/mobileGenerate a QR code/URL to control Claude Code from your phone/mobileCONFIRMED
/passesView remaining passes/credits (plan-specific)/passesCONFIRMED
/pluginManage plugins and marketplace/pluginCONFIRMED
/privacy-settingsConfigure privacy and telemetry/privacy-settingsCONFIRMED
/rate-limit-optionsConfigure behavior when rate-limited/rate-limit-optionsCONFIRMED
/release-notesView release notes/release-notesCONFIRMED
/remote-envConfigure remote environment/remote-envCONFIRMED
/remote-setupSetup remote execution/remote-setupCONFIRMED
/rewindGo back in conversation AND/OR code (selective revert)/rewindCONFIRMED
/sessionManage sessions/sessionCONFIRMED
/upgradeUpgrade plan or version/upgradeCONFIRMED

Bundled Skills (Invoke Like Slash Commands)

These skills ship with Claude Code and are invoked as slash commands. They are maintained by Anthropic and updated with each release.

SkillExact CommandWhat It Does
batch/batchExecute operations across multiple files at once
claude-api/claude-apiHelp building apps with the Claude API/SDK
debug/debugAdvanced debug mode
keybindings-help/keybindings-helpKeyboard shortcuts helper
loop/loop 5m /statusRun a command on a recurring interval (default 10 min)
lorem-ipsum/lorem-ipsumGenerate placeholder text
remember/remember <info>Memorize information for the session
schedule/scheduleSchedule remote agents on a cron
simplify/simplifySimplify and refactor code
skillify/skillifyTurn a prompt into a reusable skill
stuck/stuckHelp when Claude is stuck
update-config/update-configUpdate configuration via skill
verify/verifyVerify generated code compiles and passes tests

Hidden Commands to Test

These commands exist in the source code but are not in /help. Some require specific plans (Max/Pro) or feature flags. We categorize them by confidence level.

High Confidence (Likely Functional)

CommandWhat It DoesStatus
/insightsGenerates a detailed HTML usage report (patterns, costs, sessions, tool usage)CONFIRMED
/tasksPersistent todo-list within the session. Added in v2.1.16.CONFIRMED
/tag checkpoint-nameAnnotate a point in the conversation for future referenceCONFIRMED
/thinkbackUsage retrospective ("Spotify Wrapped" style for your Claude Code usage)CONFIRMED
/sandbox-toggleEnable/disable OS-level sandboxing (Seatbelt on macOS, bubblewrap on Linux)CONFIRMED
/shareShare a session/conversationCONFIRMED
/extra-usageConfigure behavior at the usage cap (pause, switch model, etc.)CONFIRMED
/reviewAutomated code review of modified filesCONFIRMED
/bridgeBridge mode for remote control via claude.aiCONFIRMED
/bridge-kickForce-disconnect a bridge clientCONFIRMED
/reload-pluginsHot-reload plugins without restartingCONFIRMED
/dreamManually trigger memory consolidation (merge, dedup, cleanup notes)CONFIRMED

Medium Confidence (Speculative)

CommandWhat It DoesStatus
/chromeChrome browser integration (requires extension + native host)SPECULATIVE
/ctx_vizGraphical visualization of context (tokens, structure)SPECULATIVE
/pr_commentsDisplay PR comments inside Claude CodeSPECULATIVE
/security-reviewAutomated security audit (may be gated to employees only)SPECULATIVE
/thinkback-playAnimated playback of reasoningSPECULATIVE
/voicePush-to-talk voice mode (Space bar to speak). Rolled out to ~5% of users.SPECULATIVE
/teleportTransfer a session between cloud and local terminalSPECULATIVE

Internal Only (Employee-Gated)

These commands are gated by USER_TYPE=ant (Anthropic employee credentials). Setting this variable manually does not work because verification happens server-side. Listed here for completeness only.

CommandWhat It Does
/good-claudePositive feedback / easter egg
/onboardingRe-run the onboarding flow
/envDisplay all environment variables
/summaryInternal session summary
/heapdumpNode.js heap memory dump
/ant-traceInternal API call tracing
/autofix-prAuto-fix PRs (internal CI/CD)
/mock-limitsSimulate rate limits for testing
40+ Hidden Commands in Claude Code You Can Use Right Now — Command Tiers Workflow
40+ Hidden Commands in Claude Code You Can Use Right Now — Command Tiers Workflow

Easter Eggs Found in the Source Code

/stickers -- CONFIRMED

Type /stickers to request physical Anthropic stickers by mail. Confirmed by Boris Cherny (Claude Code dev lead). The first 1,000 people to discover this easter egg received physical stickers. Stock may be exhausted, but the command still exists in the codebase.

Buddy / Crumbshaker -- PARTIALLY RELEASED

A virtual ASCII pet companion that watches you code and occasionally comments in a speech bubble. Details from the source:

  • Activation: Gated behind the BUDDY compile-time flag. Not user-activatable.
  • Species: 18 types including duck, goose, blob, cat, dragon, octopus, owl, penguin, turtle, snail, ghost, axolotl, capybara, cactus, robot, rabbit, mushroom, and chonk
  • Rarity: Common (60%), Uncommon (25%), Rare (10%), Epic (4%), Legendary (1%)
  • Shiny variant: Independent 1% chance on any species
  • Stats: DEBUGGING, PATIENCE, CHAOS, WISDOM, SNARK (0-100 each)
  • Cosmetics: 6 eye styles, 8 hats (none, crown, tophat, propeller, halo, wizard, beanie, tinyduck)
  • Your buddy is deterministic: Always the same species for the same account, seeded on your UUID
  • Timeline: Teaser April 1-7 2026, full launch May 2026

/good-claude -- SPECULATIVE

A quick positive feedback command or fun response. Found as index.js in the source. Likely an internal test pattern. Try it -- worst case, nothing happens.

Environment Variables That Unlock Features

Claude Code reads over 60 environment variables. Set them in your ~/.bashrc, ~/.zshrc, or in ~/.claude/settings.json under the "env" key for persistence across sessions.

Model and Performance (All CONFIRMED)

VariableValueEffect
ANTHROPIC_MODELclaude-opus-4-6Force Opus for all main requests
CLAUDE_CODE_SUBAGENT_MODELclaude-sonnet-4-6Sub-agents use Sonnet (cheaper) while main stays on Opus
FALLBACK_FOR_ALL_PRIMARY_MODELSclaude-sonnet-4-6Auto-fallback to Sonnet when rate-limited
MAX_THINKING_TOKENS32000More "thinking time" for complex tasks
CLAUDE_CODE_MAX_OUTPUT_TOKENS64000Increase max response size
CLAUDE_CODE_EFFORT_LEVELhighForce high effort on every request
ANTHROPIC_SMALL_FAST_MODELclaude-haiku-4-5Model used for lightweight internal tasks

Behavior and UX (All CONFIRMED)

VariableValueEffect
DISABLE_TELEMETRY1Zero telemetry sent to Anthropic
DISABLE_AUTOUPDATER1No automatic updates
DISABLE_COST_WARNINGS1Remove cost warning popups
CLAUDE_CODE_BRIEF1Shorter, more direct responses
CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY1No more survey popups
CLAUDE_CODE_DISABLE_TERMINAL_TITLE1Claude stops modifying your terminal title
IDLE_THRESHOLD_MINUTES120Increase inactivity threshold (default 75 min)
CLAUDE_CODE_ACCESSIBILITY1Better screen reader support

Agent Teams and Multi-Agent

VariableValueEffectStatus
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS1Enable agent teams (lead + parallel workers)CONFIRMED
CLAUDE_CODE_PLAN_V2_AGENT_COUNT33 agents in parallel in plan modeCONFIRMED
CLAUDE_CODE_COORDINATOR_MODE11 lead orchestrates N workersSPECULATIVE

Stealth and Privacy

VariableValueEffectStatus
CLAUDE_CODE_UNDERCOVER1Removes all AI traces from commits and PRs. System prompt: "Do not blow your cover".CONFIRMED
CLAUDE_CODE_SUBPROCESS_ENV_SCRUB1Scrubs sensitive env vars before passing to subprocessesCONFIRMED
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC1Disables all non-essential network trafficCONFIRMED
DISABLE_ERROR_REPORTING1No error reports sent to AnthropicCONFIRMED

Debug and Profiling

VariableValueEffectStatus
CLAUDE_DEBUG1General debug mode with verbose logsCONFIRMED
CLAUDE_CODE_DEBUG_LOGS_DIR/tmp/claude-logsWrite detailed logs to a directoryCONFIRMED
CLAUDE_CODE_PERFETTO_TRACE1Generate Chrome-style Perfetto performance tracesCONFIRMED
CLAUDE_CODE_PROFILE_STARTUP1Profile each startup step with timing dataCONFIRMED
CLAUDE_CODE_DIAGNOSTICS_FILE/tmp/diag.jsonWrite session diagnostics to JSON fileCONFIRMED

Tools and Limits

VariableValueEffectStatus
CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY5Up to 5 tools executed in parallelCONFIRMED
BASH_MAX_OUTPUT_LENGTH50000Capture more bash outputCONFIRMED
MCP_TIMEOUT60000MCP connection timeout in msCONFIRMED
MCP_TOOL_TIMEOUT120000MCP tool execution timeout in msCONFIRMED
CLAUDE_CODE_SHELL/bin/zshForce a specific shellCONFIRMED

Context and Compaction

VariableValueEffectStatus
CLAUDE_AUTOCOMPACT_PCT_OVERRIDE80Compact at 80% context usageCONFIRMED
DISABLE_AUTO_COMPACT1No auto-compaction, you decide with /compactCONFIRMED
CLAUDE_CODE_MAX_CONTEXT_TOKENS1000000Override the max context windowCONFIRMED

Provider Routing

VariableEffectStatus
CLAUDE_CODE_USE_BEDROCK=1Route to AWS Bedrock (requires AWS credentials)CONFIRMED
CLAUDE_CODE_USE_VERTEX=1Route to Google Vertex AI (requires GCP credentials)CONFIRMED
CLAUDE_CODE_USE_FOUNDRY=1Route to Microsoft Azure FoundryCONFIRMED
ANTHROPIC_BASE_URLCustom API URL (proxy, gateway)CONFIRMED

Danger Zone (Security Bypass Variables)

Warning: These variables disable security protections. Use only in isolated test environments.

VariableEffectRisk Level
CLAUDE_CODE_DISABLE_COMMAND_INJECTION_CHECK=1Disables command injection verificationCRITICAL
NODE_TLS_REJECT_UNAUTHORIZED=0Disables TLS certificate validationCRITICAL
DISABLE_INTERLEAVED_THINKING=1Disables interleaved thinking (reduces quality)MEDIUM

CLI Flags for Power Users

Confirmed Functional Flags

FlagExact CommandWhat It DoesStatus
--bareclaude --bareMinimal mode: no hooks, plugins, memory, LSP, skill walks. Ultra-fast startup.CONFIRMED
--bgclaude --bg "refactor all imports"Run task in background via tmuxCONFIRMED
--worktree / -wclaude -wGit worktree isolation: agent works on a separate branchCONFIRMED
--modelclaude --model opusForce a specific model for this sessionCONFIRMED
--capacityclaude --capacity 3Limit parallel workers (cost control)CONFIRMED
--spawnclaude --spawnSpawn a new Claude Code processCONFIRMED

Speculative Flags

FlagWhat It DoesStatus
--claude-in-chrome-mcpActivate Chrome MCP server (requires extension)SPECULATIVE
--chrome-native-hostNative Chrome host modeSPECULATIVE
--computer-use-mcpComputer Use via MCP (GUI automation). Gated by Max/Pro plan.SPECULATIVE
--dump-system-promptExtract the full system prompt (gated to employees)INTERNAL

Upcoming Features Confirmed in the Code

The source code reveals several major features in development. These are not yet available to users but have significant code already written.

KAIROS -- Always-On Persistent Agent

A background daemon agent that never stops. It receives heartbeat ticks and decides whether to act or sleep. Budget: 15 seconds max blocking the workflow. Has exclusive tools: SleepTool, SendUserFile, PushNotification, SubscribePR. Managed via daemon ps, daemon logs, daemon attach, daemon kill. Over 150 mentions in source. Expected H2 2026.

ULTRAPLAN -- 30-Minute Cloud Planning

Offloads planning to a cloud container (CCR) running Opus 4.6 for up to 30 minutes. Requires browser-based approval (approve/reject). Uses a sentinel token __ULTRAPLAN_TELEPORT_LOCAL__ to teleport results back to the local machine. Expected H2 2026.

Voice Mode -- Rolling Out

Push-to-talk dictation using the Space bar (speech-to-text only, no voice synthesis). Feature flag tengu_amber_quartz in GrowthBook with a kill-switch tengu_amber_quartz_disabled. Currently rolled out to approximately 5% of users. Official docs page exists at code.claude.com/docs/en/voice-dictation. Expected for all users by mid-2026.

AutoDream -- Memory Consolidation

Like REM sleep for AI memory. Triggers automatically after 24 hours plus 5 sessions. Consolidates, deduplicates, and organizes notes between sessions. Enable with "autoDreamEnabled": true in settings.json. Manual trigger: /dream. Feature flag tengu_onyx_plover in GrowthBook.

Claude Mythos (Capybara)

A new model tier ABOVE Opus. Internal codename "Capybara." Referenced as "The most advanced model on the market." Has fast/slow variants including capybara-v2-fast with a 1M token context window. Multiple versions (v2 through v8) have been tested internally.

UDS Inbox -- Inter-Session Communication

Multiple Claude sessions on the same machine can send messages to each other. Addressing via to: "researcher", to: "uds:/.../sock", or to: "bridge:...". Uses ListPeersTool reading ~/.claude/sessions/ for peer discovery.

40+ Hidden Commands in Claude Code You Can Use Right Now — /btw Overlay in Action
40+ Hidden Commands in Claude Code You Can Use Right Now — /btw Overlay in Action

OpenTelemetry: Monitor Claude Code with Your Own Stack

Claude Code supports full OpenTelemetry integration, letting you export traces, metrics, and logs to Grafana, Datadog, or any OTEL-compatible backend. This is particularly useful for teams tracking AI usage patterns and costs across developers.

VariableValueEffect
OTEL_EXPORTER_OTLP_ENDPOINThttp://localhost:4317Send all traces/metrics/logs to your OTEL collector
OTEL_TRACES_EXPORTERotlpExport traces in OTLP format
OTEL_METRICS_EXPORTERotlpExport metrics in OTLP format
OTEL_LOG_TOOL_DETAILS1Log full tool input/output details (caution: may contain sensitive data)
OTEL_LOG_USER_PROMPTS1Log user prompts to your OTEL stack
CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS5000Datadog-specific flush interval

The source code reveals 22 OTEL variables are supported. This means Claude Code has a production-grade observability layer that most users never touch. If you run a team and want to track which developers use which tools, how much each session costs, and what patterns of usage emerge, OTEL integration is the way to do it.

Anti-Distillation: What It Is and How to Disable It

The source code reveals an anti-distillation system (ANTI_DISTILLATION_CC flag combined with tengu_anti_distill_fake_tool_injection) that injects fake tools into the system prompt. The purpose is to pollute the training data if a competitor scrapes Claude Code output to train their own models. This feature is transparent to users and does not affect response quality. However, if you want to disable it along with other experimental betas, set:

export CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS=1

This removes the fake tool injections and disables other beta features that may be running in the background.

settings.json Quick Wins

These three settings in ~/.claude/settings.json deliver the highest impact for the least effort:

{
  "preferences": {
    "autoDreamEnabled": true,
    "alwaysThinkingEnabled": true,
    "autoMemoryEnabled": true
  }
}
  • autoDreamEnabled: Claude consolidates its memory files every 24 hours (after 5+ sessions), removing duplicates and organizing notes. Enable this and never manually clean your CLAUDE.md again.
  • alwaysThinkingEnabled: The reasoning/thinking step runs on every request, even when you do not explicitly ask for it. This improves code quality on complex tasks at the cost of slightly more tokens.
  • autoMemoryEnabled: Claude automatically saves important learnings, decisions, and patterns to MEMORY.md. This builds an institutional memory for your project that persists across sessions.

Top 20 Actions You Can Take Right Now

Ordered by impact. Each can be done in under 2 minutes.

  1. /btw + question -- Ask a side question without polluting your main context
  2. /insights -- Generate a usage report to understand your patterns
  3. /stickers -- Try the easter egg (physical stickers from Anthropic)
  4. /tasks -- Persistent todo-list within your session
  5. /rewind -- Undo mistakes in both conversation and code
  6. /thinkback -- Get your "Spotify Wrapped" style usage retrospective
  7. /commit-push-pr -- Ship code in one command instead of three
  8. /mobile -- Control Claude Code from your phone while away from your desk
  9. /loop 5m /status -- Monitor anything on a recurring interval
  10. /schedule -- Set up cron jobs for remote agents
  11. ANTHROPIC_MODEL=claude-opus-4-6 -- Force the best model
  12. CLAUDE_CODE_EFFORT_LEVEL=high -- Force maximum effort
  13. MAX_THINKING_TOKENS=32000 -- More reasoning budget
  14. DISABLE_TELEMETRY=1 -- Zero telemetry
  15. CLAUDE_DEBUG=1 -- See what Claude is actually doing
  16. claude --bare -- Ultra-fast startup for quick questions
  17. claude -w -- Isolated Git worktree for parallel work
  18. claude --bg "prompt" -- Run tasks in background
  19. CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 -- Enable parallel agent teams
  20. CLAUDE_CODE_UNDERCOVER=1 -- Remove AI traces from your commits

Copy-Paste Power User Shell Profile

Add this to your ~/.bashrc or ~/.zshrc to unlock the most impactful features permanently:

# === CLAUDE CODE POWER USER CONFIG ===

# --- Model and Performance ---
export ANTHROPIC_MODEL=claude-opus-4-6
export CLAUDE_CODE_SUBAGENT_MODEL=claude-sonnet-4-6
export MAX_THINKING_TOKENS=32000
export CLAUDE_CODE_MAX_OUTPUT_TOKENS=64000
export CLAUDE_CODE_EFFORT_LEVEL=high
export FALLBACK_FOR_ALL_PRIMARY_MODELS=claude-sonnet-4-6

# --- Agent Teams ---
export CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
export CLAUDE_CODE_PLAN_V2_AGENT_COUNT=3

# --- Privacy ---
export DISABLE_TELEMETRY=1
export DISABLE_ERROR_REPORTING=1
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1
export CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY=1

# --- UX ---
export DISABLE_COST_WARNINGS=1
export CLAUDE_CODE_DISABLE_TERMINAL_TITLE=1
export IDLE_THRESHOLD_MINUTES=120

# --- Tools ---
export CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY=5
export BASH_MAX_OUTPUT_LENGTH=50000
export MCP_TIMEOUT=60000
export MCP_TOOL_TIMEOUT=120000

# --- Aliases ---
alias cc="claude"
alias cco="ANTHROPIC_MODEL=claude-opus-4-6 claude"
alias ccs="ANTHROPIC_MODEL=claude-sonnet-4-6 claude"
alias cch="ANTHROPIC_MODEL=claude-haiku-4-5 claude"
alias ccbare="claude --bare"
alias ccbg="claude --bg"
alias ccw="claude -w"
alias ccdebug="CLAUDE_DEBUG=1 claude"
alias ccstealth="CLAUDE_CODE_UNDERCOVER=1 claude"
40+ Hidden Commands in Claude Code You Can Use Right Now — Command Count Breakdown
40+ Hidden Commands in Claude Code You Can Use Right Now — Command Count Breakdown

Frequently Asked Questions

Can I unlock employee-only features by setting USER_TYPE=ant?

No. While the variable exists in the source code, Anthropic verifies employee status server-side via OAuth credentials. Setting USER_TYPE=ant locally has no effect because the API endpoints check authentication independently. The internal tools (ConfigTool, TungstenTool) and debug commands (/heapdump, /ant-trace) are completely inaccessible to external users.

Are hidden commands safe to try?

Yes, for all commands in our CONFIRMED and SPECULATIVE categories. The worst outcome is the command doing nothing or showing an error message. No hidden command can damage your system or data. However, the "Danger Zone" environment variables (like CLAUDE_CODE_DISABLE_COMMAND_INJECTION_CHECK) genuinely disable security protections and should only be used in isolated environments.

How do I enable AutoDream memory consolidation?

Add "autoDreamEnabled": true to ~/.claude/settings.json under the "preferences" key. AutoDream triggers automatically after 24 hours and at least 5 sessions. You can also trigger it manually with /dream. It consolidates duplicate notes, organizes learnings, and removes stale information from your memory files.

What is the Undercover Mode and why would I use it?

Setting CLAUDE_CODE_UNDERCOVER=1 removes all references to Claude, Anthropic, and AI from commits, PRs, and comments. Originally designed for Anthropic employees working on external repos, it is available to any user. The system prompt becomes "Do not blow your cover." Use it when you want clean commits without "Co-Authored-By: Claude" signatures or when contributing to projects where AI attribution is not required.

Will these commands work in future versions?

This analysis is based on the v2.1.88 source code leaked on March 31, 2026. Anthropic may remove, rename, or gate any of these features in future releases. Commands in the CONFIRMED category have been verified by multiple community members and are most likely to persist. SPECULATIVE commands may disappear or become gated behind new feature flags. Check code.claude.com/docs for official documentation updates.

What is the difference between /compact and DISABLE_AUTO_COMPACT?

The /compact command manually compresses your conversation to free up context window space. By default, Claude Code also auto-compacts when the context reaches a certain percentage of its maximum. Setting DISABLE_AUTO_COMPACT=1 turns off the automatic compaction, giving you full control over when to compact. You can fine-tune the threshold with CLAUDE_AUTOCOMPACT_PCT_OVERRIDE=80 (compact at 80% usage). For long sessions where you need maximum context, disable auto-compaction and compact manually when you notice Claude starting to forget earlier context.

How do I use /schedule to create recurring agents?

The /schedule command creates remote agents that run on a cron schedule. Example: /schedule create --cron "0 3 * * *" --prompt "Consolidate memory and clean obsolete notes" creates an agent that runs daily at 3 AM. You can list scheduled agents with /schedule list, view logs with /schedule logs, and remove them with /schedule delete. This is particularly powerful for automated code reviews, dependency updates, or memory maintenance. Scheduled agents run in Anthropic's cloud infrastructure.

What is Bridge Mode and when should I use it?

Bridge mode (/bridge) creates a connection between your local Claude Code terminal and claude.ai in the browser. This lets you or a team member control a terminal Claude Code session from the web interface. Use /bridge-kick to disconnect any connected client. This is useful for remote pair programming, sharing a Claude session with a colleague, or controlling your development environment from a tablet when you are away from your desk.

Can I use multiple models in the same session?

Yes. Set ANTHROPIC_MODEL=claude-opus-4-6 for your main agent and CLAUDE_CODE_SUBAGENT_MODEL=claude-sonnet-4-6 for sub-agents. This means your primary Claude runs on the most capable model while sub-agents (used for search, file reading, and other lightweight tasks) run on the faster, cheaper Sonnet. You can also use FALLBACK_FOR_ALL_PRIMARY_MODELS=claude-sonnet-4-6 so that if Opus is rate-limited, the session automatically falls back to Sonnet instead of pausing.