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.
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.
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.
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.