All guides

Claude Code permission modes explained

Updated 17 November 2026

Claude Code has six permission modes. Manual (default) asks before edits and commands, acceptEdits lets file edits through, plan is read-only until you approve a plan, auto hands routine approvals to a classifier, dontAsk denies anything not pre-approved, and bypassPermissions skips the checks. Press Shift+Tab to cycle the common ones.

A permission mode decides which actions Claude Code may take without stopping to ask you. There are six. Most people only ever need three of them, and you can change mode in the middle of a session with Shift+Tab.

Everything below comes from the permission modes page of the Claude Code docs.

What does each permission mode allow?

Mode (config value) Label in the app Runs without asking Good for
default Manual Reads only Sensitive work, reviewing every action
acceptEdits Edit automatically Reads, file edits, and common filesystem commands such as mkdir, touch, mv and cp Iterating on code you are reviewing anyway
plan Plan Reads; edits stay blocked until you approve the plan Exploring a codebase before changing it
auto Auto Everything, with a classifier checking each action Long tasks, fewer prompts
dontAsk not in the cycle Reads and pre-approved tools; anything that would prompt is denied Locked-down CI and scripts
bypassPermissions Bypass permissions Everything Isolated containers and VMs only

The CLI also accepts manual as another name for default.

Modes set the baseline, and your permission rules sit on top. A deny rule blocks in every mode, including bypassPermissions. An explicit ask rule still prompts in every mode too.

How do I switch modes?

During a session, press Shift+Tab. The cycle runs default, then acceptEdits, then plan. If auto mode is available to you it comes last in the cycle. bypassPermissions only appears if you enabled it when you launched, and dontAsk never appears.

To start in a given mode, pass a flag:

claude --permission-mode plan
claude --permission-mode acceptEdits

To make a mode the default for new sessions, set defaultMode in a settings file:

{
  "permissions": {
    "defaultMode": "acceptEdits"
  }
}

The flag wins over the setting. Note that "auto" and "bypassPermissions" do not take effect from a project’s .claude/settings.json or .claude/settings.local.json. Put those two in ~/.claude/settings.json.

Which mode does a new session start in?

Recent versions start terminal and VS Code sessions in auto when your account and model support it (v2.1.283 and later). If auto mode is not available, or disableAutoMode is set to "disable", the session starts in Manual. Runs with claude -p start in default from v2.1.302.

So if Claude Code is asking about every command, you are in Manual. If it rarely asks, you are probably in auto.

What does auto mode check?

In auto mode a classifier model reviews each action before it runs. It blocks things that go beyond what you asked for or that look risky. The docs list defaults such as:

  • downloading and running code, as in curl | bash
  • force pushes, git reset --hard and git clean -fd
  • terraform destroy and similar teardown commands
  • production deploys and migrations
  • sending sensitive data to outside endpoints

Local file work in your project, installing declared dependencies and read-only HTTP requests are allowed by default. Run claude auto-mode defaults to print the full lists.

If the classifier blocks three actions in a row, or twenty in total, auto mode pauses and Claude Code goes back to prompting. Blocked actions show up under /permissions in the Recently blocked tab, where you can approve one for a retry.

The docs carry a plain warning with this mode: it reduces prompts but does not guarantee safety. Use it where you trust the general direction of the task.

What is acceptEdits good for?

It removes the most common prompt, the one for file edits, while keeping shell commands under your eye. It auto-approves edits inside the working directory plus mkdir, touch, rm, rmdir, mv, cp and sed. Other Bash commands still prompt, and so do writes to protected paths such as .git, .vscode and your shell rc files.

Because every edit is in git and you can read the diff afterwards, this is a reasonable everyday mode for a repository you know.

When should I use dontAsk or bypassPermissions?

dontAsk is for runs where nobody is there to answer. Anything that would prompt is denied instead, so the session never waits. You list what is allowed up front:

claude -p "run the test suite" --permission-mode dontAsk --allowedTools "Bash(npm test)" "Read"

bypassPermissions skips prompts and safety checks altogether. The docs say to use it only in isolated environments such as containers or VMs, because it offers no protection against prompt injection or unintended actions. There is a separate guide on what —dangerously-skip-permissions does and the safer options.

How do I stop Claude Code asking every time, safely?

Work down this list and stop when the prompts are bearable:

  1. Use acceptEdits for editing sessions.
  2. Add allow rules for the commands you approve all day, such as your test and lint commands. See permission rules in settings.json.
  3. Add deny rules for the things you never want, so they hold in every mode.
  4. Try auto mode for long tasks if it is available on your plan and model.
  5. Keep bypassPermissions for throwaway containers.

What about the prompts that are left?

Some requests you will always want to read first: a push, a delete, a command you do not recognise. Those still stop the session and wait in the terminal it runs in.

If you are in another window when that happens, NotchDaddy shows the request in the MacBook notch with the exact command and Allow and Deny buttons. An approval you do not answer falls back to the terminal prompt and is never approved for you. You do not need it if you run one session and keep its terminal in view. The details are in approving Claude Code from the notch.

It costs $19 once for 2 Macs. Start a 3-day trial for $0.