Follow Discord
Sweep 22 Oct 2026 · 21:04Z Build v2.1.309 528 read Stable v2.1.308 Latest v2.1.308 Next v2.1.309 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

47 pages for bypasspermissions.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Set up Claude Code for your organization Claude Code CLI · in the page admin-setup …permissions` | `allowManagedPermissionRulesOnly`, `permissions.disableBypassPermissionsMode` | | [Starting permission mode](/docs/en/permission-modes.md#which-mode-a-session-starts-in) | Choose the pe… How the agent loop works Claude Code CLI · in the page agent-sdk/agent-loop …Autonomous agents that still want safety guardrails on tool use | | `"bypassPermissions"` | Runs all allowed tools without asking, except tools matched by an explicit [`ask` rule](/docs/en/settings-re… Connect to external tools with MCP Claude Code CLI · in the page agent-sdk/mcp …ols (only file edits and filesystem Bash commands). `permissionMode: "bypassPermissions"` does auto-approve MCP tools but also disables most other safety prompts, which is broader than necessary; see… Configure permissions Claude Code CLI · in the page agent-sdk/permissions …ion-settings)). If a deny rule matches, the tool is blocked, even in `bypassPermissions` mode. Bare-name deny rules like `Bash` remove the tool from Claude's context before this evaluation begins, so… Agent SDK reference - Python Claude Code CLI · in the page agent-sdk/python …ilable and denies matching calls in every permission mode, including `bypassPermissions`, for the command [as written](/docs/en/permissions.md#bash-rule-limits). See [Permissions](/docs/en/agent-sdk/p… Subagents in the SDK Claude Code CLI · in the page agent-sdk/subagents …es to the permission configuration, such as `.claude/settings.json`, `bypassPermissions`, or `--dangerously-skip-permissions`, as written. > * **Turn markers**: a line that starts with `Human:` or `As… Agent SDK reference - TypeScript Claude Code CLI · in the page agent-sdk/typescript …aultMode` as-is from every tier, so it can include the `'auto'` and `'bypassPermissions'` values from project and local settings, which [a live session ignores](/docs/en/permission-modes.md#which-mode… Handle approvals and user input Claude Code CLI · in the page agent-sdk/user-input …ssions-are-evaluated), an allow rule or a mode like `acceptEdits` or `bypassPermissions`, resolves the call before `canUseTool` is consulted. If you list a tool bare in `allowed_tools`, a `canUseTool`… Manage multiple agents with agent view Claude Code CLI · in the page agent-view …carry through. Carrying `--allow-dangerously-skip-permissions` keeps `bypassPermissions` reachable in the backgrounded session, but it doesn't grant anything new: the mode still needs your [acceptance… Share session output as artifacts Claude Code CLI · in the page artifacts …irst, even in auto mode. Where Claude Code can't ask you, such as in `bypassPermissions` mode, Claude can't read the artifact. Claude can read these artifacts only while [feature-flag fetching](/docs/… Claude Code changelog Claude Code CLI · in the page changelog …ory) inside a `bash -c` or `sh -c` script running without a prompt in bypassPermissions mode or under a shell allow rule (anthropics/claude-code#96300) * Fixed LSP tool calls hanging indefinitely when… Push events into a running session with channels Claude Code CLI · in the page channels …sly-skip-permissions`](/docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode) bypasses most prompts, but only use it in environments you trust. Even then, the [actions no mode auto-app… Use Claude Code with Chrome Claude Code CLI · in the page chrome …mode is available](/docs/en/permission-modes.md#skip-all-checks-with-bypasspermissions-mode) and [feature-flag fetching](/docs/en/env-vars.md#features-that-need-feature-flag-fetching) is off, these c… Claude apps gateway configuration Claude Code CLI · in the page claude-apps-gateway-config …- "Read(./.env)" - "Read(./secrets/**)" disableBypassPermissionsMode: disable # blocks --dangerously-skip-permissions allowManagedPermissionRulesOnly: true # ignor… CLI reference Claude Code CLI · in the page cli-reference …ewer"}}'` | | `--allow-dangerously-skip-permissions` | Add `bypassPermissions` to the `Shift+Tab` mode cycle without starting in it. Lets you begin in a different mode like `plan` and switch… Message your other Claude Code sessions Claude Code CLI · in the page cross-session-messaging …permission prompts](/docs/en/permission-modes.md#skip-all-checks-with-bypasspermissions-mode) into one class, and every other session into the other. Plan mode counts as bypassing in interactive termi… Desktop application Claude Code CLI · in the page desktop …is no separate Settings toggle for it. | | **Bypass permissions** | `bypassPermissions` | Claude runs without permission prompts, except for the [actions no mode auto-approves](/docs/en/permission-mo… Development containers Claude Code CLI · in the page devcontainer …sing `--dangerously-skip-permissions` at all, set `permissions.disableBypassPermissionsMode` to `"disable"` in [managed settings](/docs/en/settings-reference.md#permission-settings). ## Try the refer… Environment variables Claude Code CLI · in the page env-vars …ude Code then sends these removals to the classifier instead, and in `bypassPermissions` mode the prompt waits for your answer. Set it in the environment that launches Claude Code, since Claude Code i… Glossary Claude Code CLI · in the page glossary …e modes are `default`, `acceptEdits`, `plan`, `auto`, `dontAsk`, and `bypassPermissions`. The `default` mode is labeled Manual in the CLI, in the VS Code and JetBrains extensions, and in the desktop… Hooks reference Claude Code CLI · in the page hooks …: `"default"`, `"plan"`, `"acceptEdits"`, `"auto"`, `"dontAsk"`, or `"bypassPermissions"`. The mode labeled **Manual** arrives as `"default"`, never as `"manual"`, so scripts that match `"default"` ke… Automate actions with hooks Claude Code CLI · in the page hooks-guide …mode` value is any permission mode like `default`, `acceptEdits`, or `bypassPermissions`, and `destination: "session"` applies it for the current session only. > [!NOTE] > > `bypassPermissions` only… Interactive mode Claude Code CLI · in the page interactive-mode …in the mode indicator), `acceptEdits`, `plan`, and, when available, `bypassPermissions` and then `auto`. From `auto`, the first press switches to `default`. See [permission modes](/docs/en/permission… Deploy managed settings Claude Code CLI · in the page managed-settings …[ "Read(./.env)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable" }, "allowManagedPermissionRulesOnly": true } ``` For a fuller example that shows the shape… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …asking. Claude Code also skips the prompt in a session you start in `bypassPermissions` mode with [`skipDangerousModePermissionPrompt`](/docs/en/settings-reference#skipdangerousmodepermissionprompt)… Monitoring Claude Code CLI · in the page monitoring-usage …l's permission check began: `"default"`, `"plan"`, `"acceptEdits"`, `"bypassPermissions"`, `"dontAsk"`, or `"auto"`. Manual mode appears as `"default"`. A [subagent](/docs/en/sub-agents.md#permission-… Choose a permission mode Claude Code CLI · in the page permission-modes …still approve some of those calls | Locked-down CI and scripts | | [`bypassPermissions`](#skip-all-checks-with-bypasspermissions-mode) | Everything | Isolated containers and VMs only | The mode that… Configure permissions Claude Code CLI · in the page permissions …tting reaches Claude Code are denied even if you've allowed them | | `bypassPermissions` | Skips permission prompts, except for the [actions no mode auto-approves](/docs/en/permission-modes.md#actions… Continue local sessions from any device with Remote Control Claude Code CLI · in the page remote-control …/claude-projects.md) threads follows that setting instead, except in `bypassPermissions` mode. Requires Claude Code v2.1.273 or later. | | `-d`, `--debug[=<filter>]` | Turn on debug logging for the se… Configure the sandboxed Bash tool Claude Code CLI · in the page sandboxing …minal session, who approves it depends on your permission mode: * **`bypassPermissions` mode**: the retry runs without a prompt * **Manual mode and `acceptEdits` mode**: you get a prompt titled "Bash… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …"Read(./.env.*)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable" }, "allowManagedPermissionRulesOnly": true } ``` Hooks use the same format as in `settings.… Manage sessions Claude Code CLI · in the page sessions …w you resume | Permission mode after you resume | | :- | :- | :- | | `bypassPermissions` | Terminal | The permission mode a new session would start in. To [bypass permissions](/docs/en/permission-mode… Claude Code settings Claude Code CLI · in the page settings …al-for-cross-machine-messages). The approval prompt appears even in [`bypassPermissions` mode](/docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode). A `true` from any settings scope… Example settings files Claude Code CLI · in the page settings-example …e writes them](/docs/en/permissions.md#bash-rule-limits), and `disableBypassPermissionsMode` removes the bypass permission mode * [`allowManagedPermissionRulesOnly`](/docs/en/settings-reference#allowm… All settings Claude Code CLI · in the page settings-reference …old secrets | Permission settings | Any file | | [`permissions.disableBypassPermissionsMode`](#permissions-disablebypasspermissionsmode) | Prevent anyone from entering [bypassPermissions mode](/docs/e… Create custom subagents Claude Code CLI · in the page sub-agents …de](#permission-modes): `default`, `acceptEdits`, `auto`, `dontAsk`, `bypassPermissions`, `plan`, or `manual` as an alias for `default`. Ignored for [plugin subagents](#choose-the-subagent-scope) | |… Tools reference Claude Code CLI · in the page tools-reference …mple.com)`; `WebFetch(domain:*)` allows every domain. The `auto` and `bypassPermissions` [permission modes](/docs/en/permissions.md#permission-modes) skip the prompt, except for a domain an explicit `… Use Claude Code in VS Code Claude Code CLI · in the page vs-code …prompts for new conversations: `default`, `plan`, `acceptEdits`, or `bypassPermissions`. `manual` is an alias for `default` and selects the mode labeled **Manual** in the mode indicator. When you lea… Week 23 · June 1–5, 2026 Claude Code CLI · in the page whats-new/2026-w23 …onfig.yaml`. These writes are never auto-approved in any mode except `bypassPermissions`. Work in acceptEdits mode; Claude now pauses before writing these files: ```bash terminal theme={null} claude… Week 35 · August 24–28, 2026 Claude Code CLI · in the page whats-new/2026-w35 …ories, loads only managed settings and `--settings`, and refuses the `bypassPermissions` permission mode. Run a non-interactive query without the command-running tools: ```bash terminal theme={null}… Week 36 · August 31 – September 4, 2026 Claude Code CLI · in the page whats-new/2026-w36 …ation such as `/` and `.` as word breaksIf you set `defaultMode` to `"bypassPermissions"` in a project's `.claude/settings.json` or `.claude/settings.local.json`, it [no longer takes effect](/docs/en/… Run parallel sessions with worktrees Claude Code CLI · in the page worktrees …md) or choosing "don't ask again" doesn't suppress this prompt; only `bypassPermissions` mode skips it. Before v2.1.206, Claude could enter any existing worktree path without asking. > [!NOTE] > > **… Changelog Claude Documentation · in the page cowork/changelog …, and the key can also be set from device management. * Added `disableBypassPermissionsMode`: removes bypass permissions mode from Code sessions and Cowork tasks, so Claude always follows the configur… Code in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/code …d as managed policy](#applied-as-managed-policy) instead. | | `disableBypassPermissionsMode` | Removes bypass permissions mode. The app stops offering the mode and starts a session that requests it in… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …low Auto mode | Capabilities | Self-hosted Admin Console | | [`disableBypassPermissionsMode`](#disablebypasspermissionsmode) | Disable bypass permissions mode | Capabilities | Admin Console | | [`disa… Configuration changelog Claude Documentation · in the page third-party/claude-desktop/configuration-changelog …alminutes) | `integer` | Configuration re-check interval | | [`disableBypassPermissionsMode`](/docs/third-party/claude-desktop/configuration#disablebypasspermissionsmode) | `boolean` | Disable bypass… SSH remote sessions in Claude Desktop on 3P Claude Documentation · in the page third-party/claude-desktop/ssh-remote-sessions …ledBuiltinTools`, `builtinToolPolicy`, `autoModeEnabled`, and `disableBypassPermissionsMode`. * [`allowedWorkspaceFolders`](/docs/third-party/claude-desktop/configuration#allowedworkspacefolders), eva…
Feedback