⌨️permissions.defaultMode
Also known as defaultMode, default permission mode
The key that sets which permission mode a new session starts in.
Think of it like
It is like the setting a door lock starts in each morning.
Example
Jack pressed Shift+Tab at the start of each session. Now he sets defaultMode to acceptEdits once.
Why it matters
The mode decides how often Claude stops to ask you, from the first turn.
Definition
Example code
json
{
"permissions": {
"defaultMode": "acceptEdits"
}
}Common mistake
Key takeaways
- 1Starting mode. Six values.
- 2Unset uses default. Built in.
- 3Auto from user file. Not the repo.