Settings
Safe auto-allow permissions
Allows common read-only commands to run without a prompt, while still confirming anything destructive — fewer interruptions, same safety.
Install to
settings.json → permissions {
"permissions": {
"allow": [
"Bash(git status)",
"Bash(git diff *)",
"Bash(git log *)",
"Bash(ls *)",
"Bash(cat *)",
"Bash(grep *)",
"Bash(rg *)",
"Bash(npm test *)",
"Bash(npm run build *)",
"Read(*)"
],
"deny": [
"Bash(git push *)",
"Bash(rm -rf *)",
"Read(.env)",
"Read(*.pem)"
]
}
}{
"permissions": {
"allow": [
"Bash(git status)",
"Bash(git diff *)",
"Bash(git log *)",
"Bash(ls *)",
"Bash(cat *)",
"Bash(grep *)",
"Bash(rg *)",
"Bash(npm test *)",
"Bash(npm run build *)",
"Read(*)"
],
"deny": [
"Bash(git push *)",
"Bash(rm -rf *)",
"Read(.env)",
"Read(*.pem)"
]
}
} How to install
- Open
~/.claude/settings.json(user) or.claude/settings.json(project). - Merge the keys into your existing JSON — don't replace the whole file; add/override only these keys.
- Most keys live-reload.
modelandoutputStyleneed a restart to take effect. - Verify with
/config(current settings) or/doctor(diagnostics).