Search the documentation
10 pages for --safe-mode.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Manage multiple agents with agent view
Claude Code CLI · in the page
agent-view
…term * the view is scoped with `--cwd` * the view was started with [`--safe-mode`](/docs/en/cli-reference#cli-flags) * the view was opened with a flag such as `--permission-mode` or `--settings` Com…
Claude Code changelog
Claude Code CLI · in the page
changelog
…date> <Update label="2.1.169" description="June 8, 2026"> * Added `--safe-mode` flag (and `CLAUDE_CODE_SAFE_MODE`) to start Claude Code with all customizations (CLAUDE.md, plugins, skills, hooks, M…
CLI reference
Claude Code CLI · in the page
cli-reference
…| | `--safe-mode` | Start with all customizations disabled to troubleshoot a broken configuration: CL…
Debug your configuration
Claude Code CLI · in the page
debug-your-config
…patterns. ## Test against a clean configuration Start with [`claude --safe-mode`](/docs/en/cli-reference#cli-flags), which launches a session with all customizations disabled, including `CLAUDE.md`,…
Model configuration
Claude Code CLI · in the page
model-config
…whether customizations are the trigger, start a session with `claude --safe-mode`, which disables customizations such as CLAUDE.md, skills, MCP servers, and hooks. Git status and directory names are…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…declares * `safe_mode`: `"true"` when the session was started with [`--safe-mode`](/docs/en/cli-reference), `"false"` otherwise. In safe mode this event reports configured inventory only; the plugin'…
Extend Claude with skills
Claude Code CLI · in the page
skills
…ng_sources` explicitly in the SDK, include `project` in the list. In `--safe-mode`, Claude Code loads none of the three. A [`strictPluginOnlyCustomization`](/docs/en/settings-reference#strictpluginonl…
Troubleshooting
Claude Code CLI · in the page
troubleshooting
…build directories to your `.gitignore` file 4. Restart with [`claude --safe-mode`](/docs/en/cli-reference#cli-flags) to check whether a plugin, MCP server, or hook is the source. It disables all cust…
Week 24 · June 8–12, 2026
Claude Code CLI · in the page
whats-new/2026-w24
…</div> <p className="digest-feature-lede">Start Claude Code with `--safe-mode`, or set <code>CLAUDE\_CODE\_SAFE\_MODE</code>, to launch with all customizations disabled: <code>CLAUDE.md</code>, sk…
What's new
Claude Code CLI · in the page
whats-new/index
…n sub-agents** (background chains are capped at five levels deep); **`--safe-mode`** starts Claude Code with all customizations disabled for troubleshooting; and **`fallbackModel`** configures up to t…