Claude Code permission modes compared

Claude Code has four permission modes you will set most often: default, acceptEdits, plan and bypassPermissions. Default prompts before most edits, shell commands and network requests. acceptEdits auto-accepts edits and common filesystem commands inside the working directory. plan explores without editing source files. bypassPermissions skips prompts, except for actions no mode auto-approves.
Checked against the Claude Code permissions documentation as of 2026-11-30. The page names no CLI version for its modes table, so test on the version your team runs.
How the modes compare
The permissions page gives each mode one line in its modes table. The table below puts those lines next to what each mode approves without a prompt and what the page says still prompts. Where the page is silent, the cell says so.
| Mode | Runs without a prompt | Still prompts, or is blocked (per the page) | Label and notes |
|---|---|---|---|
| default | Read-only tools in the working and additional directories; a built-in set of read-only Bash commands; a built-in set of preapproved documentation domains; approvals you saved | Most edits, except Claude Code’s own plan and auto memory files; Bash outside the read-only set; WebFetch outside preapproved domains; all WebSearch | Labeled Manual in the CLI and IDE extensions; “manual” is accepted as an alias |
| acceptEdits | File edits, and common filesystem commands such as mkdir, touch, mv and cp, for paths in the working directory or additionalDirectories | Not listed on the page | Auto-accept applies only to those paths |
| plan | Reading files, and read-only shell commands used to explore | No source-file edits. Classifier-approved commands also run when auto mode is available | Labeled Plan in the CLI and VS Code extension |
| bypassPermissions | Prompts, except for actions no mode auto-approves; includes writes to .git and .claude | Cross-session messaging safeguards. The page does not list the other actions | The page says to use it only in containers or VMs |
Default: the baseline to measure against
Default is the mode the other three should be measured against. Its permission table shows read-only tools running without approval inside the working and additional directories. Bash commands need approval, except for a built-in set of read-only commands. File edits need approval, except for Claude Code’s own plan and auto memory files. WebFetch needs approval unless the domain is on a built-in list of preapproved documentation domains, and WebSearch always asks.
One detail catches teams. When you choose “Yes, and don’t ask again”, the approval is saved to .claude/settings.local.json at the root of the git repository, and it applies to later sessions anywhere in that repository. A file-modification approval is not saved to that file. It lasts until the session ends. A Bash approval outlives the session, and an edit approval does not.
acceptEdits: edits inside the working directory
acceptEdits auto-accepts file edits, along with common filesystem commands such as mkdir, touch, mv and cp. The scope is the part to read closely. The page limits the auto-accept to paths in the working directory or in additionalDirectories. The words “such as” mark the command list as examples, and the page does not say which other commands still prompt in this mode.
Use this mode for work inside one project that you review afterward. Check your additionalDirectories setting before you turn it on, because each extra directory widens what the mode accepts without a prompt. Then test a shell command and a network request in a throwaway session, since the page leaves those cases open.
plan: exploration without source edits
Plan lets Claude read files and run read-only shell commands to explore a codebase. It does not edit your source files. The page labels it Plan in the CLI and the VS Code extension. When auto mode is available to your session, classifier-approved commands also run in plan mode.
That last clause is the one to remember. Plan reads like a no-change mode, but the page says commands can run in it when the classifier approves them. Use plan to get a proposal from Claude before any edit, and do not treat it as a hard limit on what the agent can run. For commands you never want run, use a deny rule, which Claude Code checks before allow rules.
bypassPermissions: skip prompts, and switch it off where needed
bypassPermissions skips permission prompts, including for writes to protected paths such as .git and .claude. Two limits remain. The cross-session messaging safeguards still apply, and the page says to use this mode only in isolated environments like containers or VMs where Claude Code cannot cause damage. The page does not list the actions that no mode auto-approves, so do not assume that list is short.
To block the mode, set the key below. The page says this is most useful in managed settings, where it cannot be overridden.
{
"permissions": {
"disableBypassPermissionsMode": "disable"
}
}
For unattended sessions, the page describes permissions.denyInsteadOfPrompting. Set it to true in your user or managed settings, and calls that would wait on a prompt are denied so the session keeps going. It works with whatever mode you are in. dontAsk is a mode of its own and does something different.
dontAsk and auto, briefly
| Mode | Runs without a prompt | Still prompts, or is blocked (per the page) | Label and notes |
|---|---|---|---|
| auto | Routine prompts | Not stated. A background classifier checks shell commands and network requests against your request before they run | Available to some sessions only; the page links to a separate page on the classifier |
| dontAsk | File reads in working directories, actions needing no approval, and tools pre-approved through /permissions or permissions.allow | Every other call is auto-denied; AskUserQuestion and some others are denied even if allowed | A mod you installed can still approve some calls |
dontAsk auto-denies every call that would otherwise prompt. File reads in working directories still run, as do tools pre-approved through /permissions or permissions.allow rules. The page warns that AskUserQuestion and some other calls are denied even when you have allowed them.
auto runs without routine prompts. A background classifier checks shell commands and network requests against your request before they run. The page links to a separate page on how the classifier decides, so read that before you rely on auto for anything sensitive.
Fine print that changes the answer
- The labels differ by surface. default shows as Manual in the CLI, the VS Code and JetBrains extensions and the desktop app. Settings files use the name default.
- Modes change which calls ask. Rules still decide the outcome. The page evaluates rules in order: deny, then ask, then allow. The first match wins, and a more specific allow rule does not carve an exception out of a broad deny. The page does not say how deny rules interact with bypassPermissions, so test that case.
- A bare tool name is stronger than a pattern. A deny rule with a bare tool name such as Bash removes the tool from Claude’s context. A scoped rule such as Bash(rm *) leaves the tool available and blocks matching calls when Claude tries them. The destructive-commands guide covers the patterns in depth.
- Instructions do not change rules. The page says permission rules are enforced by Claude Code, not by the model. Text in your prompt or CLAUDE.md shapes what Claude attempts, but it does not change what is allowed. For which settings file wins when several set the same key, see settings precedence.
Picking a mode
- Use default for exploratory work in a repository you do not know well, so each action is shown before it runs.
- Use acceptEdits only inside a project directory, and keep additionalDirectories short.
- Use plan when you want a proposal before any source edit, and pair it with deny rules for commands you never want run.
- Use bypassPermissions only in a container or VM. On machines where it should never run, set permissions.disableBypassPermissionsMode to “disable” in managed settings so a user cannot override it.
Frequently asked questions
Which Claude Code permission mode should I use day to day?
Default, which the CLI labels Manual. It prompts before most edits, shell commands and network requests, so you see each action before it runs. acceptEdits suits work inside one project where you review the changes afterward, and plan suits reading a codebase without edits. The docs describe what each mode approves but do not name a best mode, so choose per project and per environment.
Does bypassPermissions skip deny rules?
The permissions page does not say. It states that bypassPermissions skips prompts, including for writes to .git and .claude, and that cross-session messaging safeguards still apply. It also says to use the mode only in isolated environments such as containers or VMs. Test a deny rule in your own environment under bypassPermissions before you rely on it.
How do I stop developers from switching to bypassPermissions?
Set permissions.disableBypassPermissionsMode to ‘disable’. The page says this is most useful in managed settings, where it cannot be overridden. The same page describes permissions.disableAutoMode for auto mode. It does not describe what a developer sees when they try to switch, so confirm that behaviour on your own install.
Why does Claude Code still ask me after I chose acceptEdits?
acceptEdits auto-accepts edits and common filesystem commands only for paths in the working directory or additionalDirectories. Anything outside those paths is outside what the mode accepts. An ask rule also still prompts, because the page says a matching ask rule prompts even when a more specific allow rule matches. Open /permissions to see each rule and the settings file it came from.
Enforcing this with AIControls
This post makes no claim about AIControls and permission modes. Mode behaviour is described above from Claude Code’s own documentation, and the controls that follow from it are the settings and rules in your repository and managed settings.
Where AIControls does apply today is in the gateway path. Claude Code can be routed through the AIControls gateway for the CLI and the VS Code extension, with per-user tokens and per-user or per-session cost and budget limits. For the governance model across coding tools, see the coding agents pillar, or start with the AIControls download page.
Frequently asked questions
Which Claude Code permission mode should I use day to day?
Default, which the CLI labels Manual. It prompts before most edits, shell commands and network requests, so you see each action before it runs. acceptEdits suits work inside one project where you review the changes afterward, and plan suits reading a codebase without edits. The docs describe what each mode approves but do not name a best mode, so choose per project and per environment.
Does bypassPermissions skip deny rules?
The permissions page does not say. It states that bypassPermissions skips prompts, including for writes to .git and .claude, and that cross-session messaging safeguards still apply. It also says to use the mode only in isolated environments such as containers or VMs. Test a deny rule in your own environment under bypassPermissions before you rely on it.
How do I stop developers from switching to bypassPermissions?
Set permissions.disableBypassPermissionsMode to 'disable'. The page says this is most useful in managed settings, where it cannot be overridden. The same page describes permissions.disableAutoMode for auto mode. It does not describe what a developer sees when they try to switch, so confirm that behaviour on your own install.
Why does Claude Code still ask me after I chose acceptEdits?
acceptEdits auto-accepts edits and common filesystem commands only for paths in the working directory or additionalDirectories. Anything outside those paths is outside what the mode accepts. An ask rule also still prompts, because the page says a matching ask rule prompts even when a more specific allow rule matches. Open /permissions to see each rule and the settings file it came from.