{"name":"--bare","slug":"bare","family":"cli","title":"CLI flags","noun":"CLI flag","description":"Minimal mode: skip auto-discovery of hooks, skills, custom commands, subagents, installed plugins, MCP servers, auto memory, and CLAUDE.md so scripted calls start faster. Skills in a directory you pass with `--add-dir` still load. Claude has access to Bash, file read, and file edit tools. Sets [`CLAUDE_CODE_SIMPLE`](\/docs\/en\/env-vars). See [bare mode](\/docs\/en\/headless#start-faster-with-bare-mode)","description_source":"docs","described_by":{"doc":"claude-code\/cli-reference","title":"CLI reference"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.212","released_at":"2026-07-16 19:20:24","spans":5}},"aliases":[],"entries":[{"version":"2.1.304","anchor":"system-prompt-snapshot-now-defaults-off-under-bare-outside","heading":"System prompt snapshots default to off in bare mode","line":"--system-prompt-snapshot still defaults to on, except under --bare outside cloud and background sessions","released_at":"2026-10-19 19:47:15","reason":"found in this entry's text, named in this entry"},{"version":"2.1.299","anchor":"safe-mode-hint-text-changed","heading":"The hint for leaving safe mode now depends on how you started it","line":"The hint for leaving safe mode is no longer always \"restart without --safe-mode\", and the bare mode hint changed the same way","released_at":"2026-10-14 00:23:19","reason":"found in this entry's text"},{"version":"2.1.292","anchor":"new-plugin-publish-tool-behind-tengu-copper-gazette","heading":"A tool for publishing plugins to your organization's library","line":"A Publish plugin tool uploads a plugin to your claude.ai uploads and submits it to your organization's library after you confirm","released_at":"2026-10-06 17:10:31","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"new-proactivity-startup-level-gated-by-tengu-proactivity","heading":"New --proactivity flag sets how much Claude does on its own at startup","line":"A `--proactivity` flag picks the proactivity level when Claude Code starts, and `CLAUDE_CODE_DISABLE_PROACTIVITY` turns the selector off","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text"},{"version":"2.1.290","anchor":"proactivity-opt-in-restored-across-worker-epochs","heading":"Proactive mode choice now survives worker restarts","line":"In headless sessions, Claude Code now keeps your proactivity opt-in when the worker restarts","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text, named in this entry"},{"version":"2.1.290","anchor":"remote-bare-flag-now-reported-unsupported-lazily","heading":"No visible change to the --bare message for cloud sessions","line":"Cloud sessions still refuse `--bare` with the same explanation; only the moment the message is worked out changed","released_at":"2026-10-05 18:12:44","reason":"found in this entry's text, named in this entry"},{"version":"2.1.286","anchor":"bare-sessions-refuse-plugin-toolregister","heading":"Plugins cannot add tools while they run in --bare sessions","line":"In `--bare` sessions, a plugin that tries to register a tool while running is now refused with an error","released_at":"2026-09-30 17:14:38","reason":"found in this entry's text, named in this entry"},{"version":"2.1.285","anchor":"plugin-mcp-server-resolution-with-explicit-refusal-messages","heading":"Claude Code explains why a plugin's MCP server did not connect","line":"When a plugin's MCP server does not connect, Claude Code now gives a reason such as --bare, policy or not approved","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.284","anchor":"subagentstatusline-is-skipped-when-statusline-is-disabled-in","heading":"subagentStatusLine command is skipped when the status line is switched off","line":"Claude Code no longer runs your `subagentStatusLine` command when its restricted-mode check has turned off the `statusLine` feature","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"},{"version":"2.1.284","anchor":"detailed-error-when-managed-login-policy-conflicts-with-an-a","heading":"Clearer error when a managed login policy clashes with your API key or token","line":"When managed settings require a specific sign-in but another credential is set, the error names that credential, where it came from, and how to fix it","released_at":"2026-09-28 17:11:59","reason":"found in this entry's text"}],"entries_total":18,"docs":[{"source":"claude-code","path":"cli-reference","title":"CLI reference","documented":true},{"source":"claude-code","path":"agent-sdk\/modifying-system-prompts","title":"Modifying system prompts","documented":false},{"source":"claude-code","path":"authentication","title":"Authentication","documented":false},{"source":"claude-code","path":"changelog","title":"Claude Code changelog","documented":false},{"source":"claude-code","path":"claude-directory","title":"Explore the .claude directory","documented":false},{"source":"claude-code","path":"env-vars","title":"Environment variables","documented":false},{"source":"claude-code","path":"glossary","title":"Glossary","documented":false},{"source":"claude-code","path":"headless","title":"Run Claude Code programmatically","documented":false},{"source":"claude-code","path":"monitoring-usage","title":"Monitoring","documented":false},{"source":"claude-code","path":"permissions","title":"Configure permissions","documented":false}],"docs_total":13,"gates":[],"related":[],"url":"https:\/\/changelogs.core-directive.com\/reference\/cli\/bare","family_url":"https:\/\/changelogs.core-directive.com\/reference\/cli.json"}