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.
| Command | What It Does | Exact Syntax |
|---|---|---|
/add-dir | Add a directory to the context window | /add-dir /path/to/folder |
/agents | Manage sub-agents | /agents |
/clear | Clear conversation or caches | /clear or /clear caches |
/color | Change the prompt bar color | /color |
/compact | Compact conversation to free context | /compact |
/config | Edit configuration | /config |
/context | View current context window contents | /context |
/copy | Copy last message to clipboard | /copy |
/cost | Show session costs and token usage | /cost |
/desktop | Launch Claude Code Desktop | /desktop |
/diff | View all diffs from this session | /diff |
/doctor | Diagnose problems | /doctor |
/effort | Set reasoning effort level | /effort high |
/exit | Quit Claude Code | /exit |
/export | Export conversation to file | /export |
/fast | Switch to Haiku (fast mode) | /fast |
/feedback | Send feedback to Anthropic | /feedback |
/files | List files currently in context | /files |
/help | Show help | /help |
/hooks | Manage hooks | /hooks |
/ide | Configure IDE integration | /ide |
/init | Initialize a project (create CLAUDE.md) | /init |
/install | Install Claude Code | /install |
/keybindings | Configure keyboard shortcuts | /keybindings |
/login | Log in to Anthropic | /login |
/logout | Log out | /logout |
/mcp | Manage MCP servers | /mcp |
/memory | Edit persistent memory (CLAUDE.md) | /memory |
/model | Change model | /model opus or /model sonnet |
/output-style | Change output formatting style | /output-style |
/permissions | Manage tool permissions | /permissions |
/plan | Ask Claude to plan before acting | /plan |
/rename | Rename the current session | /rename |
/resume | Resume a previous conversation | /resume |
/skills | List available skills | /skills |
/status | Show current status | /status |
/version | Show 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.
| Command | What It Does | Exact Syntax | Status |
|---|---|---|---|
/btw | Ask a side question without polluting context. Response appears in a dismissible overlay. | /btw is this caching approach correct? | CONFIRMED |
/branch | Create or switch Git branches | /branch feat/new-feature | CONFIRMED |
/brief | Toggle concise output mode | /brief | CONFIRMED |
/commit | Create a Git commit (bundled skill) | /commit | CONFIRMED |
/commit-push-pr | Commit + push + create PR in one command | /commit-push-pr | CONFIRMED |
/install-github-app | Install the GitHub App | /install-github-app | CONFIRMED |
/install-slack-app | Install the Slack App | /install-slack-app | CONFIRMED |
/mobile | Generate a QR code/URL to control Claude Code from your phone | /mobile | CONFIRMED |
/passes | View remaining passes/credits (plan-specific) | /passes | CONFIRMED |
/plugin | Manage plugins and marketplace | /plugin | CONFIRMED |
/privacy-settings | Configure privacy and telemetry | /privacy-settings | CONFIRMED |
/rate-limit-options | Configure behavior when rate-limited | /rate-limit-options | CONFIRMED |
/release-notes | View release notes | /release-notes | CONFIRMED |
/remote-env | Configure remote environment | /remote-env | CONFIRMED |
/remote-setup | Setup remote execution | /remote-setup | CONFIRMED |
/rewind | Go back in conversation AND/OR code (selective revert) | /rewind | CONFIRMED |
/session | Manage sessions | /session | CONFIRMED |
/upgrade | Upgrade plan or version | /upgrade | CONFIRMED |
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.
| Skill | Exact Command | What It Does |
|---|---|---|
| batch | /batch | Execute operations across multiple files at once |
| claude-api | /claude-api | Help building apps with the Claude API/SDK |
| debug | /debug | Advanced debug mode |
| keybindings-help | /keybindings-help | Keyboard shortcuts helper |
| loop | /loop 5m /status | Run a command on a recurring interval (default 10 min) |
| lorem-ipsum | /lorem-ipsum | Generate placeholder text |
| remember | /remember <info> | Memorize information for the session |
| schedule | /schedule | Schedule remote agents on a cron |
| simplify | /simplify | Simplify and refactor code |
| skillify | /skillify | Turn a prompt into a reusable skill |
| stuck | /stuck | Help when Claude is stuck |
| update-config | /update-config | Update configuration via skill |
| verify | /verify | Verify 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)
| Command | What It Does | Status |
|---|---|---|
/insights | Generates a detailed HTML usage report (patterns, costs, sessions, tool usage) | CONFIRMED |
/tasks | Persistent todo-list within the session. Added in v2.1.16. | CONFIRMED |
/tag checkpoint-name | Annotate a point in the conversation for future reference | CONFIRMED |
/thinkback | Usage retrospective ("Spotify Wrapped" style for your Claude Code usage) | CONFIRMED |
/sandbox-toggle | Enable/disable OS-level sandboxing (Seatbelt on macOS, bubblewrap on Linux) | CONFIRMED |
/share | Share a session/conversation | CONFIRMED |
/extra-usage | Configure behavior at the usage cap (pause, switch model, etc.) | CONFIRMED |
/review | Automated code review of modified files | CONFIRMED |
/bridge | Bridge mode for remote control via claude.ai | CONFIRMED |
/bridge-kick | Force-disconnect a bridge client | CONFIRMED |
/reload-plugins | Hot-reload plugins without restarting | CONFIRMED |
/dream | Manually trigger memory consolidation (merge, dedup, cleanup notes) | CONFIRMED |
Medium Confidence (Speculative)
| Command | What It Does | Status |
|---|---|---|
/chrome | Chrome browser integration (requires extension + native host) | SPECULATIVE |
/ctx_viz | Graphical visualization of context (tokens, structure) | SPECULATIVE |
/pr_comments | Display PR comments inside Claude Code | SPECULATIVE |
/security-review | Automated security audit (may be gated to employees only) | SPECULATIVE |
/thinkback-play | Animated playback of reasoning | SPECULATIVE |
/voice | Push-to-talk voice mode (Space bar to speak). Rolled out to ~5% of users. | SPECULATIVE |
/teleport | Transfer a session between cloud and local terminal | SPECULATIVE |
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.
| Command | What It Does |
|---|---|
/good-claude | Positive feedback / easter egg |
/onboarding | Re-run the onboarding flow |
/env | Display all environment variables |
/summary | Internal session summary |
/heapdump | Node.js heap memory dump |
/ant-trace | Internal API call tracing |
/autofix-pr | Auto-fix PRs (internal CI/CD) |
/mock-limits | Simulate rate limits for testing |
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
BUDDYcompile-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)
| Variable | Value | Effect |
|---|---|---|
ANTHROPIC_MODEL | claude-opus-4-6 | Force Opus for all main requests |
CLAUDE_CODE_SUBAGENT_MODEL | claude-sonnet-4-6 | Sub-agents use Sonnet (cheaper) while main stays on Opus |
FALLBACK_FOR_ALL_PRIMARY_MODELS | claude-sonnet-4-6 | Auto-fallback to Sonnet when rate-limited |
MAX_THINKING_TOKENS | 32000 | More "thinking time" for complex tasks |
CLAUDE_CODE_MAX_OUTPUT_TOKENS | 64000 | Increase max response size |
CLAUDE_CODE_EFFORT_LEVEL | high | Force high effort on every request |
ANTHROPIC_SMALL_FAST_MODEL | claude-haiku-4-5 | Model used for lightweight internal tasks |
Behavior and UX (All CONFIRMED)
| Variable | Value | Effect |
|---|---|---|
DISABLE_TELEMETRY | 1 | Zero telemetry sent to Anthropic |
DISABLE_AUTOUPDATER | 1 | No automatic updates |
DISABLE_COST_WARNINGS | 1 | Remove cost warning popups |
CLAUDE_CODE_BRIEF | 1 | Shorter, more direct responses |
CLAUDE_CODE_DISABLE_FEEDBACK_SURVEY | 1 | No more survey popups |
CLAUDE_CODE_DISABLE_TERMINAL_TITLE | 1 | Claude stops modifying your terminal title |
IDLE_THRESHOLD_MINUTES | 120 | Increase inactivity threshold (default 75 min) |
CLAUDE_CODE_ACCESSIBILITY | 1 | Better screen reader support |
Agent Teams and Multi-Agent
| Variable | Value | Effect | Status |
|---|---|---|---|
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS | 1 | Enable agent teams (lead + parallel workers) | CONFIRMED |
CLAUDE_CODE_PLAN_V2_AGENT_COUNT | 3 | 3 agents in parallel in plan mode | CONFIRMED |
CLAUDE_CODE_COORDINATOR_MODE | 1 | 1 lead orchestrates N workers | SPECULATIVE |
Stealth and Privacy
| Variable | Value | Effect | Status |
|---|---|---|---|
CLAUDE_CODE_UNDERCOVER | 1 | Removes all AI traces from commits and PRs. System prompt: "Do not blow your cover". | CONFIRMED |
CLAUDE_CODE_SUBPROCESS_ENV_SCRUB | 1 | Scrubs sensitive env vars before passing to subprocesses | CONFIRMED |
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC | 1 | Disables all non-essential network traffic | CONFIRMED |
DISABLE_ERROR_REPORTING | 1 | No error reports sent to Anthropic | CONFIRMED |
Debug and Profiling
| Variable | Value | Effect | Status |
|---|---|---|---|
CLAUDE_DEBUG | 1 | General debug mode with verbose logs | CONFIRMED |
CLAUDE_CODE_DEBUG_LOGS_DIR | /tmp/claude-logs | Write detailed logs to a directory | CONFIRMED |
CLAUDE_CODE_PERFETTO_TRACE | 1 | Generate Chrome-style Perfetto performance traces | CONFIRMED |
CLAUDE_CODE_PROFILE_STARTUP | 1 | Profile each startup step with timing data | CONFIRMED |
CLAUDE_CODE_DIAGNOSTICS_FILE | /tmp/diag.json | Write session diagnostics to JSON file | CONFIRMED |
Tools and Limits
| Variable | Value | Effect | Status |
|---|---|---|---|
CLAUDE_CODE_MAX_TOOL_USE_CONCURRENCY | 5 | Up to 5 tools executed in parallel | CONFIRMED |
BASH_MAX_OUTPUT_LENGTH | 50000 | Capture more bash output | CONFIRMED |
MCP_TIMEOUT | 60000 | MCP connection timeout in ms | CONFIRMED |
MCP_TOOL_TIMEOUT | 120000 | MCP tool execution timeout in ms | CONFIRMED |
CLAUDE_CODE_SHELL | /bin/zsh | Force a specific shell | CONFIRMED |
Context and Compaction
| Variable | Value | Effect | Status |
|---|---|---|---|
CLAUDE_AUTOCOMPACT_PCT_OVERRIDE | 80 | Compact at 80% context usage | CONFIRMED |
DISABLE_AUTO_COMPACT | 1 | No auto-compaction, you decide with /compact | CONFIRMED |
CLAUDE_CODE_MAX_CONTEXT_TOKENS | 1000000 | Override the max context window | CONFIRMED |
Provider Routing
| Variable | Effect | Status |
|---|---|---|
CLAUDE_CODE_USE_BEDROCK=1 | Route to AWS Bedrock (requires AWS credentials) | CONFIRMED |
CLAUDE_CODE_USE_VERTEX=1 | Route to Google Vertex AI (requires GCP credentials) | CONFIRMED |
CLAUDE_CODE_USE_FOUNDRY=1 | Route to Microsoft Azure Foundry | CONFIRMED |
ANTHROPIC_BASE_URL | Custom API URL (proxy, gateway) | CONFIRMED |
Danger Zone (Security Bypass Variables)
Warning: These variables disable security protections. Use only in isolated test environments.
| Variable | Effect | Risk Level |
|---|---|---|
CLAUDE_CODE_DISABLE_COMMAND_INJECTION_CHECK=1 | Disables command injection verification | CRITICAL |
NODE_TLS_REJECT_UNAUTHORIZED=0 | Disables TLS certificate validation | CRITICAL |
DISABLE_INTERLEAVED_THINKING=1 | Disables interleaved thinking (reduces quality) | MEDIUM |
CLI Flags for Power Users
Confirmed Functional Flags
| Flag | Exact Command | What It Does | Status |
|---|---|---|---|
--bare | claude --bare | Minimal mode: no hooks, plugins, memory, LSP, skill walks. Ultra-fast startup. | CONFIRMED |
--bg | claude --bg "refactor all imports" | Run task in background via tmux | CONFIRMED |
--worktree / -w | claude -w | Git worktree isolation: agent works on a separate branch | CONFIRMED |
--model | claude --model opus | Force a specific model for this session | CONFIRMED |
--capacity | claude --capacity 3 | Limit parallel workers (cost control) | CONFIRMED |
--spawn | claude --spawn | Spawn a new Claude Code process | CONFIRMED |
Speculative Flags
| Flag | What It Does | Status |
|---|---|---|
--claude-in-chrome-mcp | Activate Chrome MCP server (requires extension) | SPECULATIVE |
--chrome-native-host | Native Chrome host mode | SPECULATIVE |
--computer-use-mcp | Computer Use via MCP (GUI automation). Gated by Max/Pro plan. | SPECULATIVE |
--dump-system-prompt | Extract 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.
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.
| Variable | Value | Effect |
|---|---|---|
OTEL_EXPORTER_OTLP_ENDPOINT | http://localhost:4317 | Send all traces/metrics/logs to your OTEL collector |
OTEL_TRACES_EXPORTER | otlp | Export traces in OTLP format |
OTEL_METRICS_EXPORTER | otlp | Export metrics in OTLP format |
OTEL_LOG_TOOL_DETAILS | 1 | Log full tool input/output details (caution: may contain sensitive data) |
OTEL_LOG_USER_PROMPTS | 1 | Log user prompts to your OTEL stack |
CLAUDE_CODE_DATADOG_FLUSH_INTERVAL_MS | 5000 | Datadog-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.
/btw+ question -- Ask a side question without polluting your main context/insights-- Generate a usage report to understand your patterns/stickers-- Try the easter egg (physical stickers from Anthropic)/tasks-- Persistent todo-list within your session/rewind-- Undo mistakes in both conversation and code/thinkback-- Get your "Spotify Wrapped" style usage retrospective/commit-push-pr-- Ship code in one command instead of three/mobile-- Control Claude Code from your phone while away from your desk/loop 5m /status-- Monitor anything on a recurring interval/schedule-- Set up cron jobs for remote agentsANTHROPIC_MODEL=claude-opus-4-6-- Force the best modelCLAUDE_CODE_EFFORT_LEVEL=high-- Force maximum effortMAX_THINKING_TOKENS=32000-- More reasoning budgetDISABLE_TELEMETRY=1-- Zero telemetryCLAUDE_DEBUG=1-- See what Claude is actually doingclaude --bare-- Ultra-fast startup for quick questionsclaude -w-- Isolated Git worktree for parallel workclaude --bg "prompt"-- Run tasks in backgroundCLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1-- Enable parallel agent teamsCLAUDE_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"
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.