โ† Learning paths
claude/beginner

Permissions & settings

Permission modes (Normal, Auto-Accept, Plan), settings files, and how to control what Claude can do without asking.

๐Ÿ“ Wholesale AI Champions โฑ 5 min read ๐Ÿ“š Just getting started

Permission Modes

ModeBehavior
NormalPrompts for each tool use
Auto-AcceptAutomatically approves tool calls
Plan ModeClaude plans but does not execute changes

Toggle with Shift+Tab.


Settings Files

FileScope
~/.claude/settings.jsonUser-global settings
.claude/settings.jsonProject settings (commit to repo)
.claude/settings.local.jsonProject-local settings (not shared)

Permission Rules

{
"permissions": {
"allow": [
"Bash(npm run *)",
"Bash(git log *)",
"mcp__server__tool_name"
],
"deny": [
"Bash(rm -rf *)"
]
}
}

Wildcards (*) match any characters. A trailing * (space + asterisk) enforces a word boundary.


Disable commit/PR attribution

By default, Claude Code adds โ€œCo-Authored-Byโ€ trailers to commits and attribution footers to PRs. To disable this:

{
"attribution": {
"commit": "",
"pr": ""
}
}

Add this to ~/.claude/settings.json to apply globally.