Search the documentation
35 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
…| `allowManagedPermissionRulesOnly`, `permissions.disableBypassPermissionsMode` | | [Starting permission mode](/docs/en/permissio…
How the agent loop works
Claude Code CLI · in the page
agent-sdk/agent-loop
…| | `"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`. See [Permissions](/docs/en/agent-sdk/permissions#allow-and-deny-rules)…
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
…| Enable bypassing permissions. Required when using `permissionMode: 'bypassPermissions'`…
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 requires the one-time…
Claude Code changelog
Claude Code CLI · in the page
changelog
…n `--tools`), keeps file tools inside the working directory, refuses `bypassPermissions`, and ignores user, project and local settings files * Added `experimental.cacheTtl` (`"5m"` or `"1h"`) to age…
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…
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
…ss permission prompts](/docs/en/permission-modes#skip-all-checks-with-bypasspermissions-mode) into one class, and every other session into the other. Plan mode counts as bypassing in sessions with byp…
Desktop application
Claude Code CLI · in the page
desktop
…| | **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#permission-settings). ## Try the referenc…
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 appli…
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
…d(./.env)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable" }, "allowManagedPermissionRulesOnly": true } ``` For a fuller example t…
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
…e, for example `"default"`, `"plan"`, `"acceptEdits"`, `"auto"`, or `"bypassPermissions"` * `to_mode`: The new permission mode * `trigger`: What caused the change. One of `"shift_tab"`, `"exit_plan_mo…
Choose a permission mode
Claude Code CLI · in the page
permission-modes
…| Locked-down CI and scripts | | [`bypassPermissions`](#skip-all-checks-with-bypasspermissions-mode) | Everything…
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#actions-no…
Configure server-managed settings
Claude Code CLI · in the page
server-managed-settings
…./.env.*)", "Read(./secrets/**)" ], "disableBypassPermissionsMode": "disable" }, "allowManagedPermissionRulesOnly": true } ``` Hooks use the same for…
Manage sessions
Claude Code CLI · in the page
sessions
…---------------------------------------------------------------- | | `bypassPermissions` | Terminal | The permission mode a new sessio…
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
…se * `permissions.deny` blocks two file reads and `curl`, and `disableBypassPermissionsMode` removes the bypass permission mode * `allowManagedPermissionRulesOnly` and `allowManagedMcpServersOnly` mak…
Claude Code settings reference
Claude Code CLI · in the page
settings-reference
…ngs | Any file | | [`permissions.disableBypassPermissionsMode`](#permissions-disablebypasspermissionsmode) | Prevent anyone from entering [bypassPermissions mode]…
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`. The `manual` alias requires Claude Code v2.1.200 or later. Igno…
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#permission-modes) skip the prompt, except for a domain an explicit `ask…
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
…/code>. These writes are never auto-approved in any mode except <code>bypassPermissions</code>.</p> <p className="digest-feature-try">Work in acceptEdits mode; Claude now pauses before writing thes…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…ns) 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> **Hook…