---
title: "Set default tool permissions in Claude Code"
description: "Configure Claude Code settings"
canonical: "https://ian.is/claude-tool-permissions"
language: "en"
---

[Ian Nuttall](https://ian.is/)

# Set default tool permissions in Claude Code

July 23, 2025

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)

![Image from the original X post](https://ian.is/media/tweets/1947966680086528336/1947966680086528336/ca33ac68a54f4dce99293ae467fdc2621625b29436ebb3361c20509a19bf2ecc.jpg)

Fork this and add/remove/change to match your preferences

[https://gist.github.com/iannuttall/a7570cee412cc05d32d7a039830f28c7](https://gist.github.com/iannuttall/a7570cee412cc05d32d7a039830f28c7)

## Newsletter

Join 9.2k subscribers
