Settings

Safe auto-allow permissions

Allows common read-only commands to run without a prompt, while still confirming anything destructive — fewer interruptions, same safety.

permissionsworkflowsafety
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)"
    ]
  }
}

How to install

  1. Open ~/.claude/settings.json (user) or .claude/settings.json (project).
  2. Merge the keys into your existing JSON — don't replace the whole file; add/override only these keys.
  3. Most keys live-reload. model and outputStyle need a restart to take effect.
  4. Verify with /config (current settings) or /doctor (diagnostics).

← More settingss