Created
May 16, 2026 07:13
-
-
Save khasky/1287faf8006d0efe97497436246c03e9 to your computer and use it in GitHub Desktop.
Claude Code settings preset: acceptEdits mode with full Bash allowed, plus ask/deny guardrails for dangerous, network, Git, publish, and secrets-related actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "permissions": { | |
| "defaultMode": "acceptEdits", | |
| "allow": [ | |
| "Read", | |
| "Edit", | |
| "Write", | |
| "Bash" | |
| ], | |
| "ask": [ | |
| "Bash(git push *)", | |
| "Bash(git reset *)", | |
| "Bash(git clean *)", | |
| "Bash(git rebase *)", | |
| "Bash(git checkout *)", | |
| "Bash(git switch *)", | |
| "Bash(curl *)", | |
| "Bash(wget *)", | |
| "Bash(ssh *)", | |
| "Bash(scp *)", | |
| "Bash(docker *)" | |
| ], | |
| "deny": [ | |
| "Read(.env)", | |
| "Read(**/.env)", | |
| "Read(**/.env.*)", | |
| "Read(**/id_rsa)", | |
| "Read(**/id_ed25519)", | |
| "Edit(.env)", | |
| "Edit(**/.env)", | |
| "Edit(**/.env.*)", | |
| "Bash(rm -rf *)", | |
| "Bash(sudo *)", | |
| "Bash(chmod *)", | |
| "Bash(chown *)", | |
| "Bash(npm publish *)", | |
| "Bash(pnpm publish *)", | |
| "Bash(yarn publish *)" | |
| ] | |
| }, | |
| "enableAllProjectMcpServers": false, | |
| "enabledMcpjsonServers": ["code-review-graph", "playwright"], | |
| "prefersReducedMotion": true | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment