Set default tool permissions in Claude Code
94,098 viewsvia X
Claude Code pro tip:
Use the global ~/.claude/settings.json to keep a list of safe tools that are automatically allowed to run.
The agent should only ask permission to do things you want to control (like removing files, committing to git, etc)
(link to my example below)

Fork this and add/remove/change to match your preferences
https://gist.github.com/iannuttall/a7570cee412cc05d32d7a039830f28c7
Ian's List
Join 15k+ subscribers