Skip to content
BENIBIX Learn

Permission Mode vs Permission Rule

People think a permission mode and a permission rule are the same switch. They are not. A mode sets how often Claude asks, for the whole session. A rule names one tool, or one command, and says allow, ask or deny for just that one. A deny rule wins in every mode, even bypass.

AI⌨️ Claude Code

Permission Mode

How often Claude Code stops to ask you before it acts.

A permission mode sets how often Claude Code stops to ask before it acts. There are six modes, from asking about almost all things to asking about none. Their names are default, acceptEdits, plan, auto, dontAsk and bypassPermissions. Press Shift+Tab to move between the main ones. The bar at the bottom shows the one that is on. Rules sit on top of the mode, and a deny rule blocks a tool in every mode.

Example
Jack wants to watch every step on a new project, so he uses Manual mode. On his own side project, he lets auto mode run.
Why it matters
It is the main dial between moving fast and keeping a close eye on what Claude does.
Full entry
AI⌨️ Claude Code

Permission Rule

A line that says yes, ask or no to a tool.

A permission rule tells Claude Code to allow a tool, ask about it, or deny it. A rule names a tool and can add a pattern, such as Bash(npm test) or Read(./.env). Rules live in the permissions block of a settings file, and /permissions lets you see and change them. They are checked in a fixed order: deny first, then ask, then allow. The first rule that matches decides.

Example
Jack is tired of approving npm test. He adds one allow rule for it, and one deny rule so Claude can never read his .env file.
Why it matters
The mode sets the broad rule. Rules give exact control over each tool.
Full entry

In one line

Permission Mode
How often Claude Code stops to ask you before it acts.
Permission Rule
A line that says yes, ask or no to a tool.