19 pages for --bare.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
Modifying system prompts
Claude Code CLI · in the page
agent-sdk/modifying-system-prompts
…bare mode](/docs/en/headless#start-faster-with-bare-mode) by passing `--bare` through `extraArgs` or setting `CLAUDE_CODE_SIMPLE=1`, recording stays off unless you set `snapshot: true`. Recording an…
Authentication
Claude Code CLI · in the page
authentication
…mode) does not read `CLAUDE_CODE_OAUTH_TOKEN`. If your script passes `--bare`, authenticate with `ANTHROPIC_API_KEY` or an `apiKeyHelper` instead.
Claude Code changelog
Claude Code CLI · in the page
changelog
…e mode notices in background sessions telling you to restart without `--bare`, which keeps the mode; they now name `/stop` and `claude --resume`, as safe mode ones do * Fixed `←` not saying why it sta…
Explore the .claude directory
Claude Code CLI · in the page
claude-directory
…eep in these cases: * **Bare mode**: when you run `claude -p` with [`--bare`](/docs/en/headless#start-faster-with-bare-mode), Claude Code doesn't run the sweep in that session. * **Paused sweep**: if…
CLI reference
Claude Code CLI · in the page
cli-reference
…| | `--bare` | Minimal mode: skip auto-discovery of hooks, skills, custom commands, subagents, i…
Environment variables
Claude Code CLI · in the page
env-vars
…en/memory#auto-memory). Set to `0` to force auto memory on even when `--bare` mode or [`autoMemoryEnabled: false`](/docs/en/settings-reference#automemoryenabled) would otherwise disable it. When disab…
Glossary
Claude Code CLI · in the page
glossary
…n-modes#eliminate-prompts-with-auto-mode) ## B ### Bare mode With `--bare`, Claude Code starts without loading hooks, skills, custom commands, subagents, installed plugins, MCP servers, auto memory…
Run Claude Code programmatically
Claude Code CLI · in the page
headless
…ilure as the result on stdout. ### Start faster with bare mode Add `--bare` to reduce startup time by skipping auto-discovery of hooks, skills, custom commands, [subagents](/docs/en/sub-agents), ins…
Monitoring
Claude Code CLI · in the page
monitoring-usage
…ssion that exits sooner emits nothing. When you run `claude -p` with `--bare`, Claude Code doesn't run the sweep and emits nothing. Like every OTel event on this page, it goes only to the telemetry b…
Configure permissions
Claude Code CLI · in the page
permissions
…ither the project's settings files nor its `.mcp.json` * Start with [`--bare`](/docs/en/headless#start-faster-with-bare-mode) so Claude Code reads no hooks, skills, custom commands, subagents, plugins…
Test plugins with evals
Claude Code CLI · in the page
plugin-evals
…ader, and runs nothing: ```bash theme={null} claude plugin eval init --bare first-case ``` ```text theme={null} evals/first-case/ ├── prompt.md # the prompt sent to Claude, plus run limit…
Plugin commands reference
Claude Code CLI · in the page
plugins/cli-reference
…des with you to check that the graders score the way you would With `--bare`, or without a terminal, the command writes a blank single-case template instead. When Claude runs the command from inside…
Create a mod
Claude Code CLI · in the page
plugins/mods/create
…directory * **Mods are disabled**: you started with `--safe-mode` or `--bare`, you set `disableAllHooks`, or your organization's [managed settings block it](/docs/en/plugins/mods/admin#choose-how-much…
Mods overview
Claude Code CLI · in the page
plugins/mods/overview
…tings and flags that stop installed mods, such as `disableAllHooks`, `--bare`, and `--safe-mode`, don't stop built-in mods. ### Read the source of built-in mods The source of some of these mods is p…
Troubleshoot a mod
Claude Code CLI · in the page
plugins/mods/troubleshoot
…alled plugins that are not managed load no hooks module in this mode (--bare)` | You started Claude Code with `--bare` | | `another plugin of that name loads first` | Another enabled plugin has the sa…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…tions. The OAuth token option doesn't apply to a job that runs with [`--bare`](/docs/en/headless#start-faster-with-bare-mode), because bare mode doesn't read `CLAUDE_CODE_OAUTH_TOKEN`. * **OAuth toke…
All settings
Claude Code CLI · in the page
settings-reference
…mething that outranks this key turns it off for the session, such as `--bare`, safe mode, or `CLAUDE_CODE_DISABLE_AUTO_MEMORY` * `false`: Claude doesn't read from or write to the auto memory directo…
Create custom subagents
Claude Code CLI · in the page
sub-agents
…frontmatter: * [`--strict-mcp-config`](/docs/en/cli-reference) and [`--bare`](/docs/en/cli-reference) * [Enterprise managed MCP configuration](/docs/en/managed-mcp) * [`allowedMcpServers` and `denied…
Tools reference
Claude Code CLI · in the page
tools-reference
…essions](/docs/en/claude-code-on-the-web) * **Startup mode**: not a [`--bare`](/docs/en/headless#start-faster-with-bare-mode) session. Bare mode loads only shell and file tools, so the tool is never r…