Skip to content

Glossary

Permission mode

Last updated

Definition

A permission mode is the Claude Code setting that decides which actions Claude may take in a session without asking you first.

Also called: Claude Code permission mode, defaultMode, accept edits mode, plan mode.

ModeRuns without askingTypical use
default (shown as Manual)reads onlyreviewing every action
acceptEditsreads, file edits and common filesystem commandsiterating on code you're reviewing
planreads; Claude proposes a plan before editingexploring before changing anything
automost actions, checked by a classifier modellong tasks with fewer prompts
dontAskonly pre-approved tools; anything else is deniedlocked-down scripts and CI
bypassPermissionseverythingisolated containers and VMs only

Press ⇧⇥ (Shift+Tab) to cycle modes in the terminal, pass --permission-mode <mode> at launch, or set permissions.defaultMode in a settings file. Allow and deny rules sit on top of the mode; deny rules block in every mode, even bypassPermissions. A headless claude -p run starts in default, where nobody can answer a prompt, so choose the mode and allowed tools up front. Codex's counterpart is its sandbox modes plus an approval policy.

In Pairbar

The composer's Mode chip sets Claude's permission mode for a new chat; “Bypass permissions” is never remembered for the next one. Workflow steps use explicit modes so your own defaultMode and allow rules never widen them: Read-only and Can run commands run with --permission-mode default plus tool allow and deny lists, and Can edit files with --permission-mode acceptEdits --allowedTools Bash. See Permissions.

Read-onlyread and search filesClaude: no Bash, no edit toolsCodex: -s read-onlyCan run commands+ tests, builds, git, ghClaude: Bash, no edit toolsCodex: -s workspace-writeCan edit files+ change files, no approvalsClaude: acceptEdits + BashCodex: -s workspace-write
Pairbar's three workflow levels: read-only, can run commands, can edit files.

Frequently asked questions

How do I change the permission mode in Claude Code?
Press Shift+Tab during a session to cycle modes, start with claude --permission-mode <mode>, or set permissions.defaultMode in settings.
Is bypassPermissions safe?
Anthropic recommends it only in isolated containers or VMs, because Claude can then act without asking. Deny rules still apply.
What mode does `claude -p` use?
It starts in default (Manual) unless you pass --permission-mode. Since nobody can answer a prompt, pre-approve tools or pick a mode that fits the job.