Blog · Comparison · 16 November 2026

Claude Code Permission Modes Compared

Claude Code permission modes decide how often the agent stops to ask you. There are six, and choosing between them is the first decision in any setup where an agent runs for more than a few minutes. This comparison uses Anthropic's documentation for what each mode does, then covers the rules that apply in every mode, and finally the case the modes do not address: the prompts that are left when you are not at the terminal.

The six Claude Code permission modes

All descriptions below are from Anthropic's permissions documentation.

default (Manual). Prompts for permission on first use of each tool. The CLI, the editor extensions and the desktop app label it Manual. File reads in the working directory need no approval. Shell commands, file edits and web fetches do, apart from a built-in set of read-only commands and of preapproved documentation domains.

acceptEdits. Automatically accepts file edits and common filesystem commands such as mkdir, touch, mv and cp for paths in the working directory. Other shell commands still prompt.

plan (plan mode). Claude reads files and runs read-only shell commands to explore but does not edit your source files.

auto (auto mode). Runs without routine prompts. Before actions such as shell commands and network requests run, a background classifier checks that they align with your request. A separate hook event fires when auto mode denies a call.

dontAsk. Auto-denies every call that would otherwise prompt. Actions that need no approval still run, as do tools you pre-approved with allow rules. This is the mode for "only what I listed, nothing else".

bypassPermissions. Skips permission prompts, except for a set of actions the docs say no mode auto-approves. The --dangerously-skip-permissions flag turns it on.

You set the mode for new sessions with defaultMode in a settings file, and switch during a session with Shift+Tab.

Comparison table

Mode File edits Shell commands Who decides Fits
default Ask Ask, except read-only ones You Supervised work on code you care about
acceptEdits Allowed in the working directory Ask, except common filesystem commands You, for commands Trusted edits, cautious about commands
plan Not made Read-only ones only Nobody; nothing changes Exploring and designing before changing
auto Checked by a classifier Checked by a classifier A classifier Long runs with few interruptions
dontAsk Denied unless pre-approved Denied unless pre-approved Your allow rules Unattended runs with a strict allowlist
bypassPermissions Allowed Allowed Nobody Disposable environments only

Rules apply in every mode

Modes set the default. Rules override it. The docs give the order: deny rules are checked first, then ask rules, then allow rules, and the first match in that order decides. Specificity does not change the order. A broad deny such as Bash(aws *) blocks a call even if a narrower allow such as Bash(aws s3 ls) also matches.

A few consequences worth knowing:

  • An allow rule cannot carve an exception out of a deny rule.
  • A PreToolUse hook that returns "allow" does not bypass a deny or ask rule. The docs say deny and ask rules are evaluated regardless of what the hook returns.
  • A hook that blocks takes precedence over allow rules, so you can allow all of Bash and reject specific commands in a hook.
  • Managed settings sit above everything; no user or project setting, and no command line flag, overrides a managed permission rule.

So a mode is never the whole story. acceptEdits plus a deny rule on .env files is a different policy from acceptEdits alone.

How to choose

You are watching, and the code matters: default. Add allow rules for the commands you approve every time (tests, lint, build), so prompts that remain mean something.

You trust the edits but not every command: acceptEdits. This removes the largest number of prompts for the least risk, because edits inside a git repository are easy to inspect and undo.

You do not know the codebase yet: plan mode. Let the agent read and propose. Switch modes when you agree with the plan.

You want long runs with few stops: auto mode. Anthropic's post on it explains the motive: users approve 93% of permission prompts, so most prompts carry no information. The classifier takes over the routine majority. It is still a model making the call, so keep deny rules for the things that must never happen.

The agent runs unattended and must stay inside a list: dontAsk with explicit allow rules. Nothing outside the list runs, and nothing waits for a person who is not there.

The machine is disposable: bypassPermissions, inside a container or VM with no credentials that matter. Anywhere else, it removes the last check between a wrong guess and your system.

Sandboxing combines with all of these. With Claude Code's sandbox on, commands are confined by filesystem and network boundaries, which makes the looser modes safer. See agent sandbox vs approvals.

What the modes do not cover

Every mode answers the question "should Claude ask?" None answers "ask whom, and where?" A prompt in default or acceptEdits appears in the terminal that runs the session. That is fine for one session in front of you. It breaks down in three situations:

  1. Several sessions. Four terminals, each waiting on a different prompt.
  2. You are away. The session waits until you come back.
  3. Someone else should decide. The person who owns the database should approve the migration, not whoever happens to be running the agent.

Claude Code provides the hook for this, without prescribing what sits behind it. The PermissionRequest hook fires when a tool call needs a permission decision, and a hook can answer allow or deny. In sessions that cannot show a prompt, the docs say a call with no decision is denied.

Forkit is one service built on that hook. In default or acceptEdits mode, the prompt that would have appeared goes to Forkit first. Command rules shared by the team answer routine requests. An orchestrator agent may answer within limits an owner sets. A person answers the rest from a web inbox or forkit watch: allow once, allow for an hour, always, or deny with a note. If nobody answers in 90 seconds by default, the hook prints nothing and Claude Code shows its own prompt.

Where Claude Code's modes alone are the better choice: one developer, one or two sessions, at the keyboard. A hosted queue adds nothing there. In bypassPermissions there are no prompts to route at all.

A reasonable progression

  1. Start in default and note which prompts you always approve.
  2. Turn those into allow rules. Add deny rules for what must never run.
  3. Move to acceptEdits, and turn on the sandbox.
  4. For long runs, try auto mode, or keep acceptEdits and route the remaining prompts somewhere you can answer them.
  5. For headless workers, use dontAsk with a tight list, or a queue that denies on timeout.

More on each step: agent permission rules, what the PermissionRequest hook does in Claude Code and ways to approve agent commands compared.

Where Forkit fits

Forkit does not replace any permission mode. It gives the prompts that remain a destination other than one terminal: shared rules, an orchestrator, or the right person. It is free to try, and npx forkit-cli init adds the hook. More at forkit-mcp.com.

Sources

Read on 16 Nov 2026: