Skip to content

Instantly share code, notes, and snippets.

@chetanraj
Last active April 21, 2026 15:48
Show Gist options
  • Select an option

  • Save chetanraj/86a7ea0cf60ba81722e77b00cbbb7f81 to your computer and use it in GitHub Desktop.

Select an option

Save chetanraj/86a7ea0cf60ba81722e77b00cbbb7f81 to your computer and use it in GitHub Desktop.
Claude Settings
{
"permissions": {
// runs without asking, the green light ✅
"allow": ["Bash(npm run *)", "Bash(git commit *)"],
// hard block, Claude can never do this 🚫
"deny": ["Bash(git push *)"],
// pauses & asks you first 🤔
"ask": ["Bash(rm *)", "Bash(mv *)"],
"defaultMode": "acceptEdits" // Reads, file edits and common filesystem commands (mkdir, touch, mv, cp, etc.)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment