Reference Board

Claude Code Cheat Sheet

Dense, current, and practical: commands, settings, skills, hooks, MCP, worktrees, routines, and setup paths in one place.

Verified against official Anthropic / Claude Code docs on July 11, 2026 (v2.1.207).
What’s new → Settings →
Language
Install

Node 18+, then install and run Claude in your project.

npm install -g @anthropic-ai/claude-code
Sign in

Interactive login is the normal path. API keys override subscriptions when present.

/login
Resume

Continue the latest session or resume a specific session by ID.

claude -c
Permissions

Use /permissions or settings.json to control allow / ask / deny behavior.

/permissions
MCP

Add tool servers with claude mcp add, then inspect them with /mcp.

claude mcp add ...
Use this page like a board, not a tutorial Use the left navigation on desktop, the sticky search on mobile, and jump directly to the raw command or key you need.

Install & first run

Official install paths as of July 11, 2026:

CommandDetails
Standard NPM install
npm install -g @anthropic-ai/claude-code
Official standard install path. Avoid sudo.
Native install (beta)
curl -fsSL claude.ai/install.sh | bash
macOS, Linux, and WSL beta install path.
Windows PowerShell
irm https://claude.ai/install.ps1 | iex
Native Windows PowerShell install path.
Health check
claude doctor
Verify installation type and fix common issues.

High-signal starter prompts

Good first prompts to keep Claude useful and scoped:

Codebase orientation

Explain this project architecture, key entry points, build/test commands, and the files I should read first.

Safe implementation start

Before coding, inspect the repo, identify the relevant files, propose the smallest safe plan, then implement it and run verification.

Targeted bug hunt

Investigate this failure, find the root cause, patch it with the smallest change that fixes it, and explain the regression risk.

CLI launch patterns

Launch-time patterns worth memorizing:

CLI launch patterns

CommandPurposeCategory
claude Start interactive REPL Interactive
claude "query" Start REPL with an initial prompt Interactive
claude -p "query" One-shot query, then exit Non-interactive
cat file | claude -p "query" Pipe content into print mode Non-interactive
claude -c Continue the most recent conversation Session
claude -c -p "query" Continue via SDK / print mode Session
claude -r "<session-id>" "query" Resume a specific session by ID Session
claude update Update Claude Code to latest version Maintenance
claude mcp Configure MCP servers from the CLI MCP
claude agents List all sessions — running, blocked, or done (Agent View, research preview) Agents
claude project purge [path] Delete all Claude Code state for a project (transcripts, tasks, file history, config); supports --dry-run Maintenance
claude ultrareview [target] Run /ultrareview non-interactively from CI or scripts; prints findings to stdout Review

Flags

CommandPurpose
--verbose Verbose turn-by-turn logging
--max-turns Limit agentic turns in print mode
--model Override model for the current launch
--permission-mode Start in default / plan / auto / bypass-style mode
--permission-prompt-tool Use an MCP tool to answer permission prompts in non-interactive mode
--resume Resume a specific session by ID
--continue Resume the latest conversation in the current directory
--dangerously-skip-permissions Skip permission prompts; use with caution
--output-format json Machine-readable output for scripting

Built-in commands

Built-in commands documented in the current Commands reference:

CommandPurposeCategoryAvailability
/add-dir <path> Add a working directory for file access Context Built-in
/advisor [model|off] Enable/disable the advisor tool that consults a second model at key moments (opus, sonnet, fable in v2.1.170+) Model Built-in
/agents Since v2.1.198 prints a reminder to ask Claude to manage subagents or edit .claude/agents/ Agents Built-in
/autofix-pr [prompt] Watch a PR remotely and push fixes for CI / review feedback Automation Plan / platform specific
/background [prompt] Detach the session to run as a background agent and free the terminal; monitor with claude agents. Alias: /bg Background Built-in
/batch <instruction> Parallel large-scale codebase change orchestration Bundled skill Bundled skill
/branch [name] Fork the current conversation into a branch Session Built-in
/btw <question> Ask a side question without polluting main context Context Built-in
/checkup Alias for /doctor (v2.1.205+) Maintenance Bundled skill
/chrome Configure Claude in Chrome settings Platform Plan / platform specific
/claude-api Load Claude API reference for the project language Bundled skill Bundled skill
/clear [name] Start a fresh conversation; previous one stays in /resume, optionally labeled with a name Session Built-in
/color [color|default] Set the prompt bar color for this session; syncs to claude.ai/code when Remote Control is connected. Also available in non-interactive mode (-p) since v2.1.205 UI Built-in
/compact [instructions] Compact the conversation with optional focus Context Built-in
/config [key=value ...] Open the settings UI, or set keys directly (v2.1.181+), e.g. /config theme=dark model=sonnet. Alias: /settings Settings Built-in
/context [all] Visualize context usage and optimization hints Context Built-in
/copy [N] Copy the latest assistant response or code block Utility Built-in
/cost Show token usage statistics Usage Built-in
/dataviz [request] Chart/dashboard design guidance: picks chart form, assigns color by role, validates colorblind-safe palette Bundled skill Bundled skill
/debug [description] Enable debug logging and investigate session issues Bundled skill Bundled skill
/deep-research <question> Fan out web searches, cross-check sources, and synthesize a cited report (bundled workflow) Bundled workflow Bundled workflow
/design-login Authorize design-system access for /design-sync with your claude.ai account Design Plan / platform specific
/design-sync [hint] Convert your repo's React design system and upload it to Claude Design so generated designs use your real components Bundled skill Bundled skill
/desktop Continue the session in the desktop app Platform Plan / platform specific
/diff Open the interactive diff viewer Review Built-in
/doctor Full setup checkup: diagnoses installation, settings, unused skills/MCP/plugins, and offers to fix what it finds (asks first). Alias: /checkup. Before v2.1.205 it only opened read-only diagnostics Maintenance Bundled skill
/effort [level|auto] Change effort level immediately (low/medium/high/xhigh/max/ultracode; auto resets to default). Also available in non-interactive mode (-p) with a level argument since v2.1.205, session-only Model Built-in
/exit Exit the CLI Session Built-in
/export [filename] Export the current conversation Utility Built-in
/usage-credits Configure usage credits to keep working past a limit (renamed from /extra-usage) Usage Plan / platform specific
/fast [on|off] Toggle fast mode. Since v2.1.205, also works in non-interactive mode (-p) but only in a session launched with fast mode set via --settings Model Plan / platform specific
/feedback [report] Send feedback or a bug report Utility Built-in
/fewer-permission-prompts Scan transcripts for common read-only calls and add a prioritized allowlist to project settings (bundled skill) Bundled skill Bundled skill
/focus Toggle focus view: only your last prompt, a one-line tool-call summary with diffstats, and the final response (fullscreen only) UI Built-in
/fork <directive> Spawn a forked subagent that inherits the full conversation and works on the directive while you keep going Agents Built-in
/goal [condition|clear] Set a completion condition — Claude keeps working across turns until it's met; shows live elapsed/turns/tokens overlay; clear to remove Autonomous Built-in
/heapdump Write a JS heap snapshot and memory breakdown to ~/Desktop for diagnosing high memory usage Maintenance Built-in
/help Show help and available commands Utility Built-in
/hooks Inspect configured hooks Hooks Built-in
/ide Manage IDE integration and status IDE Built-in
/init Generate CLAUDE.md guidance for the project Setup Built-in
/insights Analyze Claude Code session patterns Usage Built-in
/install-github-app Set up the Claude GitHub Actions app Automation Plan / platform specific
/install-slack-app Install the Claude Slack app Automation Plan / platform specific
/keybindings Open keybindings configuration Settings Built-in
/login Sign in to your Anthropic account Auth Built-in
/logout Sign out from Anthropic account Auth Built-in
/loop [interval] [prompt] Run a prompt repeatedly while the session stays open Bundled skill Bundled skill
/mcp [reconnect <server>|enable|disable [<server>|all]] Manage MCP connections and OAuth; reconnect, enable, or disable servers. Also available in non-interactive mode (-p) since v2.1.205, printing a text summary instead of the list MCP Built-in
/memory Edit memory files and auto-memory settings Memory Built-in
/mobile Show QR code for the Claude mobile app Platform Plan / platform specific
/model [model] Change the model immediately and save it as default for new sessions. Also available in non-interactive mode (-p) with a model argument since v2.1.205, session-only Model Built-in
/passes Share a free week of Claude Code Plan Plan / platform specific
/permissions Manage allow / ask / deny rules and working dirs Settings Built-in
/plan [description] Enter plan mode directly Planning Built-in
/plugin Manage Claude Code plugins Plugins Built-in
/powerup Interactive feature lessons Learning Built-in
/pr-comments [PR] Removed in v2.1.91; ask Claude directly instead Review Deprecated / removed
/privacy-settings Manage privacy settings Privacy Plan / platform specific
/radio Open Claude FM lo-fi radio in the browser; prints the stream URL when no browser is available Fun Plan / platform specific
/recap Generate a one-line summary of the current session on demand Session Built-in
/release-notes Open the changelog picker Maintenance Built-in
/reload-plugins [--force] Reload active plugins without restart Plugins Built-in
/reload-skills Re-scan skill and command directories so on-disk changes apply without restarting Skills Built-in
/remote-control Expose this session to claude.ai remote control Remote Plan / platform specific
/remote-env Choose the default remote web environment Remote Plan / platform specific
/rename [name] Rename the current session; without a name, auto-generates one from history. Also available in non-interactive mode (-p) since v2.1.205 Session Built-in
/resume [session] Resume a session by ID, name, or picker Session Built-in
/review [PR] Run a fast single-pass, read-only review of a GitHub PR by number; with no argument, lists open PRs to pick from. Since v2.1.202 (reverted from the v2.1.186–2.1.201 multi-agent engine); for a multi-agent review at a chosen effort level use /code-review <level> <pr#>, or /code-review ultra for a cloud review Review Built-in
/rewind Rewind conversation and/or code to a checkpoint Session Built-in
/run Launch and drive your project's app to see a change working, not only passing tests (bundled skill) Bundled skill Bundled skill
/run-skill-generator Teach /run and /verify how to build, launch, and drive your project's app (bundled skill) Bundled skill Bundled skill
/sandbox Toggle sandbox mode where supported Safety Plan / platform specific
/schedule [description] Create and manage routines Automation Built-in
/scroll-speed [value] Tune mouse wheel scroll speed with a live preview UI Built-in
/security-review Review current changes for security issues Review Built-in
/setup-bedrock Configure Amazon Bedrock auth and model pins Providers Plan / platform specific
/setup-vertex Configure Google Vertex AI auth and model pins Providers Plan / platform specific
/simplify [focus] Review recent changes for reuse and quality, then fix them Bundled skill Bundled skill
/skills List available skills Skills Built-in
/stats Show usage history, streaks, and model preferences Usage Built-in
/status Open status view with version, model, account, connectivity Settings Built-in
/statusline Configure the status line UI Built-in
/stickers Order Claude Code stickers Fun Plan / platform specific
/stop Stop the current background session (transcript and worktree kept); to detach without stopping use /exit Background Built-in
/tasks List and manage background tasks Tasks Built-in
/team-onboarding Generate a teammate onboarding guide from usage history Team Built-in
/teleport Pull a Claude Code web session into the terminal Remote Plan / platform specific
/terminal-setup Configure Shift+Enter and terminal-specific shortcuts Settings Built-in
/theme Change theme, including daltonized and ANSI themes UI Built-in
/tui [default|fullscreen] Switch between default and fullscreen terminal rendering UI Built-in
/ultraplan <prompt> Draft a plan in a browser-backed ultraplan session Planning Plan / platform specific
/ultrareview [PR] Deep multi-agent cloud code review; preferred form is now /code-review ultra (this remains an alias) Review Plan / platform specific
/upgrade Open the upgrade page for a higher plan Plan Plan / platform specific
/usage Show plan usage and rate limits Usage Built-in
/verify Confirm a change works by building and running the app and observing the result, not just tests (bundled skill) Bundled skill Bundled skill
/vim Removed in v2.1.92; use /config → Editor mode Settings Deprecated / removed
/voice [hold|tap|off] Toggle push-to-talk voice dictation Input Plan / platform specific
/web-setup Connect GitHub account for Claude Code on the web Remote Plan / platform specific
/workflows Watch, pause, resume, or save running and completed dynamic workflows Automation Built-in
/mcp__<server>__<prompt> Prompt exposed dynamically by an MCP server MCP Built-in

Keyboard & input

Interactive controls from current Interactive mode docs:

ShortcutAction
Ctrl+C Cancel current input or generation
Ctrl+D Exit Claude Code
Ctrl+L Clear terminal screen, keep history
Esc Esc Edit the previous message
Shift+Tab Cycle permission modes
\ + Enter Multiline input in every terminal
Option+Enter Default multiline on macOS
Shift+Enter Works out of the box in iTerm2, WezTerm, Ghostty, Kitty
Ctrl+O Open transcript viewer
/, !, @ Slash command, Bash mode, file / resource mention

Memory, paths & scope

Where Claude stores memory and project-level behavior:

Path / keyScopeDetails
./CLAUDE.md or ./.claude/CLAUDE.md Shared project instructions Project architecture, coding standards, common workflows; committed with the repo.
./CLAUDE.local.md Personal project instructions Project-specific but not team-shared; add to .gitignore.
~/.claude/CLAUDE.md User instructions Your personal defaults across every project.
.claude/settings.json Shared project settings Team-visible settings such as permissions, hooks, shared MCP behavior.
.claude/settings.local.json Local project settings Personal preferences for this repo; automatically gitignored when Claude creates it.
~/.claude/settings.json User settings Applies to all projects on your machine.
~/.claude.json Global config Holds global keys like editor mode and IDE auto-connect, not regular settings.json keys.
.mcp.json Shared MCP project config Project-scoped MCP server definitions shared with the repo.
~/.claude/skills/<name>/SKILL.md Personal skills Reusable skills across all projects.
.claude/skills/<name>/SKILL.md Project skills Repo-local skills for the current codebase.
~/.claude/agents/ and .claude/agents/ Subagent definitions User-wide and project-wide custom subagents.

Settings & permissions

The settings system is hierarchical. Put team defaults in shared files, personal tweaks in local or user scope.

Hierarchy

  • ~/.claude/settings.json User settings across every project
  • .claude/settings.json Shared project settings
  • .claude/settings.local.json Personal settings for one repo
  • managed-settings.json Enterprise policy, highest precedence

Core top-level settings

  • askUserQuestionTimeout v2.1.200: idle time before an unanswered dialog auto-continues ("60s", "5m", "never")
  • autoMode Classifier rules for auto mode. Not read from shared project settings; since v2.1.207 also no longer read from .claude/settings.local.json — set it in ~/.claude/settings.json
  • awaySummaryEnabled Show a one-line session recap when you return after being away
  • autoUpdatesChannel stable vs latest update stream
  • availableModels Restrict selectable models
  • cleanupPeriodDays Session retention and orphan cleanup
  • defaultShell Shell for ! commands
  • disableBundledSkills Disable bundled skills and workflows globally
  • disableWorkflows Disable dynamic workflows
  • effortLevel Persist low / medium / high effort
  • enableArtifact v2.1.196: enable or disable the Artifact tool at user level
  • fallbackModel Up to 3 fallback models to try when the primary is unavailable
  • env Environment variables applied to each session
  • fastModePerSessionOptIn Require /fast each session
  • fileSuggestion Custom script for @ autocomplete
  • language Preferred response language
  • model Default model override
  • modelOverrides Map Anthropic IDs to provider-specific IDs
  • outputStyle Default / Explanatory / Learning / custom style
  • plansDirectory Store generated plans elsewhere
  • prefersReducedMotion Accessibility and reduced animation
  • respectGitignore Apply .gitignore to @ picker suggestions
  • statusLine Custom status line command / renderer
  • useAutoModeDuringPlan Auto-mode semantics during plan mode
  • viewMode Default transcript view mode
  • voiceEnabled Push-to-talk voice dictation

Security / policy settings

  • permissions allow / ask / deny / additionalDirectories / defaultMode
  • disableAllHooks Turn off hooks and custom status line
  • disableAutoMode Forbid auto mode entirely. Since v2.1.207, auto mode is on by default (no opt-in env var needed) on Bedrock, Vertex AI, and Foundry — use this setting to turn it off there
  • disableClaudeAiConnectors v2.1.182: block claude.ai MCP connectors
  • disableSideloadFlags v2.1.193: reject sideload CLI flags like --plugin-dir / --plugin-url at startup
  • disableDeepLinkRegistration Disable claude-cli:// handler registration
  • autoMode.classifyAllShell v2.1.193: route all shell commands through the auto-mode classifier
  • enforceAvailableModels v2.1.175: extend the model allowlist to the Default selection too
  • policyHelper v2.1.136: admin-deployed executable that computes managed settings dynamically
  • axScreenReader v2.1.181: render screen-reader friendly output
  • disableSkillShellExecution Block inline shell execution inside skills
  • enableAllProjectMcpServers Auto-approve all project MCP servers
  • enabledMcpjsonServers Allowlist specific .mcp.json servers
  • disabledMcpjsonServers Reject specific .mcp.json servers
  • deniedMcpServers Managed denylist for MCP servers
  • forceLoginMethod Restrict to claude.ai or console login
  • forceLoginOrgUUID Require membership in specific org UUIDs
  • httpHookAllowedEnvVars Allowlist vars interpolated into HTTP hooks

Global config in ~/.claude.json

  • autoConnectIde Auto-connect to IDE from external terminal
  • autoInstallIdeExtension Install IDE extension automatically
  • editorMode normal or vim input mode
  • showTurnDuration Display per-turn duration
  • terminalProgressBarEnabled Enable progress bar in supported terminals
  • teammateMode How agent-team teammates are displayed

Worktree settings

  • worktree.symlinkDirectories Symlink large directories like node_modules
  • worktree.sparsePaths Use sparse checkout for large monorepos
  • .worktreeinclude Copy gitignored files such as .env into new worktrees

Permission modes

  • default Normal interactive behavior
  • acceptEdits Good for trusted repo edits with fewer interruptions
  • plan Planning first, implementation only after approval
  • auto Classifier-driven auto mode where available
  • dontAsk Aggressive reduced prompting
  • bypassPermissions Highest-risk mode; can be disabled by policy

Permission rule patterns

  • Bash(git diff *) Allow safe inspection commands
  • Bash(git push *) Ask before pushes
  • Read(./.env) Hide secrets completely
  • Read(./secrets/**) Hide secret directories completely
  • Skill(deploy *) Deny risky deployment skills unless explicit
  • WebFetch Disable outbound fetches if policy requires it

Useful environment variables

  • ANTHROPIC_API_KEY Override subscription auth with API usage
  • ANTHROPIC_BASE_URL Route requests through a proxy or gateway
  • CLAUDE_CODE_NEW_INIT Interactive /init flow with memory, skills, and hooks
  • CLAUDE_CONFIG_DIR Use a different config directory for a second account / profile
  • CLAUDE_ENV_FILE Persist environment variables across Bash commands
  • CLAUDE_CODE_USE_BEDROCK Use Amazon Bedrock provider
  • CLAUDE_CODE_USE_VERTEX Use Google Vertex AI provider
  • CLAUDE_CODE_USE_POWERSHELL_TOOL Enable native PowerShell tool on Windows
  • CLAUDE_CODE_TASK_LIST_ID Share a task list across sessions
  • CLAUDE_CODE_NO_FLICKER Enable fullscreen rendering research preview
  • CLAUDE_CODE_SYNTAX_HIGHLIGHT Disable syntax highlighting if terminal colors misbehave
  • CLAUDE_ENABLE_STREAM_WATCHDOG Abort hung streams in automation scenarios

Hooks

Hooks are lifecycle automations defined in settings JSON. Keep SessionStart fast; use CLAUDE.md for static context.

EventWhen it firesNotes
SessionStart On new or resumed session Only command hooks; keep it fast. Prefer CLAUDE.md for static context.
PreToolUse Before a tool runs Can allow, deny, escalate, mutate input, or inject extra context.
PermissionRequest When Claude needs approval Can answer permission prompts programmatically.
PostToolUse After a tool finishes Good for logging, async checks, and post-processing.
PreCompact Before compaction Can block manual or auto compaction.
PostCompact After compaction React to the new compacted state.
SessionEnd When the session closes Cleanup, logging, finalization; cannot block exit.
Elicitation When an MCP server asks for user input Hooks can answer instead of showing a dialog.
SubagentStop When a subagent finishes Stop hooks inside subagents are converted here.

Skills

Skills are reusable prompt workflows. Claude can invoke them automatically unless you disable model invocation.

Bundled skills

  • /batch Parallel large codebase migration / transformation with isolated worktrees and PRs
  • /claude-api Bring in Claude API reference material for SDK work
  • /code-review Review the current diff for bugs and cleanups; --fix, --comment, or ultra for cloud review
  • /dataviz Design guidance for charts and dashboards with colorblind-safe palette validation
  • /debug Turn on debug logging and inspect session logs
  • /deep-research Bundled workflow: fan out web searches, cross-check sources, synthesize a cited report
  • /design-sync Convert your React design system and upload it to Claude Design
  • /fewer-permission-prompts Scan transcripts and add a prioritized allowlist to project settings
  • /loop Repeat a prompt while the current session stays open
  • /run Launch and drive your project's app to see a change working
  • /run-skill-generator Teach /run and /verify how to build, launch, and drive your app
  • /simplify Parallel quality pass over recently changed files
  • /verify Confirm a change works by running the app and observing the result

SKILL.md frontmatter

  • name Slash-command name; defaults to directory name
  • description When the skill should be used; most important field
  • disable-model-invocation Prevents Claude from auto-loading the skill
  • allowed-tools Restrict tools available while the skill runs
  • context Can run inline or in a fork / subagent context
  • shell Use PowerShell for ! blocks on Windows where supported
  • $ARGUMENTS / $0 / $1 Argument substitution inside SKILL.md

Tools, subagents & tasks

Claude’s built-in tools matter because permissions, hooks, and subagents all reference these exact names.

Built-in tools

Tool / conceptPurposePermission
Agent Spawn a subagent with separate context No
AskUserQuestion Gather requirements or disambiguate No
Bash Run shell commands Yes
Edit Make targeted file edits Yes
Write Create or overwrite files Yes
Read / Glob / Grep Read and search the repo No
LSP Definitions, references, warnings, type errors No
Monitor Watch logs or status in background Yes
EnterWorktree Create or enter isolated git worktree No
TaskCreate / TaskList / TaskUpdate Interactive task system No
Skill Run a reusable prompt workflow Yes
WebFetch / WebSearch Use the web where enabled Yes

Subagents & agent teams

  • Explore Fast, read-only codebase search and analysis agent (Haiku)
  • Plan Research agent used while Claude is in plan mode
  • General-purpose Multi-step agent for exploration plus modification
  • Custom subagents Markdown definitions with frontmatter and tool restrictions
  • Agent teams Experimental teammate mode controlled via settings and env flags

MCP

MCP gives Claude extra tools, prompts, and resources. Use scopes deliberately:

MCP commands

  • claude mcp add --transport stdio myserver -- npx my-mcp Add a stdio server
  • claude mcp add --transport http hubspot https://mcp.example.com Add an HTTP server
  • claude mcp list List configured servers
  • claude mcp get github Inspect one server
  • claude mcp remove github Remove a server
  • /mcp Inspect server status and handle OAuth inside Claude

MCP patterns to remember

  • --scope local Only you in the current project (new name for older project-local scope)
  • --scope project Shared with the repo via .mcp.json
  • --scope user Available across all projects for the current user
  • @server:protocol://resource/path Reference an MCP resource with @ mention
  • /mcp__<server>__<prompt> Run an MCP prompt exposed as a command
  • MCP_TIMEOUT Startup timeout for MCP servers
  • MAX_MCP_OUTPUT_TOKENS Default cap is 25,000 tokens; warning starts above 10,000
  • list_changed Dynamic refresh of tools, prompts, and resources without reconnecting
  • --channels Enable pushed channel messages from MCP servers that support them

Worktrees, remote & routines

Use isolation when parallel work would otherwise collide:

  • claude --worktree feature/name Launch Claude inside a new isolated git worktree
  • /schedule Create, update, list, or run routines conversationally
  • /tasks Inspect long-running background tasks
  • --remote Start or connect to Claude Code on the web / remote environments
  • /remote-env Choose the default web environment used by --remote
  • /teleport Pull a web session back into the terminal
  • /remote-control Let claude.ai remote-control this terminal session

IDE, web & desktop

Current official surfaces beyond the plain terminal:

  • VS Code / Cursor / Windsurf / VSCodium Run claude in the integrated terminal and the extension auto-installs
  • JetBrains IDEs Dedicated plugin with quick launch, diff viewer, selection context, diagnostics
  • Cmd+Esc / Ctrl+Esc Quick launch from supported IDE integrations
  • Cmd+Option+K / Alt+Ctrl+K Insert file reference shortcuts from the IDE
  • /ide Connect an external terminal session back to the IDE
  • Desktop app Use /desktop to continue the session in the desktop UI
  • Claude Code on the web Remote browser-based sessions with environment selection and setup scripts

What's new by month

Commands, flags, and settings added since April 2026 — grouped by release month. Version numbers are approximate first appearances.

July 2026

  • autoMode not read from settings.local.json Auto mode config no longer read from project .claude/settings.local.json; set it in ~/.claude/settings.json instead setting v2.1.207
  • disableAutoMode (Bedrock/Vertex/Foundry default-on) Auto mode now runs by default without an opt-in env var on Bedrock, Vertex AI, and Foundry; disable with disableAutoMode setting v2.1.207
  • /doctor full checkup + /checkup alias /doctor is now a full setup checkup that diagnoses and can fix issues (asks first); /checkup is its alias command v2.1.205
  • /review back to single-pass /review <pr> reverted to a fast single-pass, read-only review; use /code-review <level> <pr#> for the multi-agent review at a chosen effort level command v2.1.202
  • /color, /effort, /fast, /mcp, /model, /rename in -p mode These commands now also work in non-interactive mode (-p), applying to the current session only command v2.1.205
  • Dynamic workflow size /config gets an advisory "Dynamic workflow size" setting (small/medium/large) guiding how many agents workflows tend to spawn setting v2.1.202
  • askUserQuestionTimeout Idle time before an unanswered dialog auto-continues ("60s", "5m", "never") setting v2.1.200
  • /agents (reminder mode) /agents now prints a reminder to ask Claude to manage subagents instead of opening a UI command v2.1.198
  • /dataviz Chart/dashboard design guidance with colorblind-safe palette validation (bundled skill) command v2.1.198
  • /config key=value Set settings directly from /config without opening the UI, e.g. /config theme=dark model=sonnet command v2.1.181
  • /design-sync + /design-login Upload your repo's React design system to Claude Design so generated designs use real components command v2.1.190
  • /usage-credits Configure usage credits to keep working past a limit (renamed from /extra-usage) command v2.1.185
  • disableClaudeAiConnectors Block claude.ai MCP connectors setting v2.1.182
  • axScreenReader Render screen-reader friendly output setting v2.1.181
  • footerLinksRegexes Render clickable badges in the footer from regex matches on output setting v2.1.176
  • enforceAvailableModels Extend the model allowlist to the Default selection too setting v2.1.175

June 2026

  • --safe-mode Disable all customizations for debugging flag v2.1.169
  • /cd <path> Change working directory without breaking prompt cache command v2.1.169
  • disableBundledSkills Disable all bundled skills globally setting v2.1.169
  • fallbackModel Up to 3 fallback models when primary is unavailable setting v2.1.166
  • /fork <directive> Spawn background subagent inheriting full conversation context command v2.1.161
  • /reload-skills Re-scan skill directories without restarting command v2.1.152

May 2026

  • /background [prompt] Detach session to run as background agent, free the terminal command v2.1.154
  • /run Launch app and verify a change in the running app (bundled skill) command v2.1.145
  • /verify Confirm code change works by running the app, not just tests (bundled skill) command v2.1.145
  • /run-skill-generator Teach /run and /verify how to build and launch your project (bundled skill) command v2.1.145
  • /scroll-speed Adjust mouse wheel scroll speed interactively (fullscreen only) command v2.1.154
  • /deep-research <question> Fan-out web searches, fetch sources, synthesize cited report (bundled workflow) command v2.1.154
  • /workflows Watch, pause, resume, or save running dynamic workflows command v2.1.154
  • /stop Stop the current background session (transcript and worktree kept) command v2.1.154
  • claude --bg --exec Start a background session from the CLI flag v2.1.154
  • EnterWorktree Switch between worktrees from inside a session feature v2.1.157
  • claude plugin init Initialize a new plugin from the CLI flag v2.1.157
  • worktree.bgIsolation: "none" Disable background isolation for worktrees setting v2.1.143

April 2026

  • claude agents List all sessions — running, blocked, or done (Agent View) flag v2.1.139
  • /goal <condition> Set a completion condition — Claude keeps working until met command v2.1.139
  • claude project purge [path] Delete all Claude Code state for a project (supports --dry-run) flag v2.1.126
  • --plugin-url <url> Load a plugin from a URL at launch time flag v2.1.129
  • skillOverrides Override skill visibility or behavior per project setting v2.1.129
  • worktree.baseRef: "fresh" | "head" Control whether worktrees start from a clean base or HEAD setting v2.1.133
  • settings.autoMode.hard_deny Hard deny rule for auto mode — blocks even without confirmation setting v2.1.136
  • CLAUDE_CODE_SESSION_ID Access current session ID from hooks or scripts env var v2.1.132
  • CLAUDE_CODE_DISABLE_ALTERNATE_SCREEN Disable alternate screen buffer (for terminal compatibility) env var v2.1.132
  • $CLAUDE_EFFORT in hooks Hooks receive current effort level as environment variable feature v2.1.133

Sources

Primary sources used for this sheet:

SourceFreshness
Commands Crawled today
Changelog Crawled today
What's new Crawled today
CLI reference Crawled 7 months ago
Settings Crawled today
Interactive mode Crawled 7 months ago
Hooks reference Crawled 7 months ago
Skills Crawled 2 weeks ago
Memory Crawled 7 months ago
MCP Crawled 2 weeks ago
Subagents Crawled 7 months ago
Tools reference Crawled last week
Environment variables Crawled 2 weeks ago
IDE integrations Crawled 7 months ago
Getting started Crawled 8 months ago