I want Claude to work independently for as long as possible so that I can focus my attention on other matters. However, by default, it will ask you to approve its use of tools like
The only risk to having the agent read (e.g. AWS commands that pull data about services, Webtool, reading files) was using too many tokens but with the Claude Code Max subscription, I’ve never come close to reaching the limit.
Any action to retrieve information should be allowed by default
Will always allow this tool to be used
{
"permissions": {
"allow": [
"WebFetch",
"Bash(npm install)",
"mcp__context7__get-library-docs"
]
}
}
Accept Edits Mode (acceptEdits) auto-approved operations:
- File edits (Edit, MultiEdit, Write tools)
- Bash filesystem commands (mkdir, touch, rm, mv, cp)
- File creation and deletion
Procedure
- Store the Claude Code settings under source control so that other developers can use the default permissions
- Every time you start a new project, copy these settings, for example, I’ve created a fork of the Spec Kit that does it when I run init.
- Select “Yes, and don’t ask me again this session” when it will not modify the state. Claude will add an entry to the project specific settings i.e.
./claude/settings.local.json.
Tips
- Use
~/.claude/settings.jsonto apply automatically to all projects. - Use a symbolic link to trick Claude into updating the global settings.
Leave a Reply