The Claude Code settings.json options that actually change behavior
Dev.to AI
•
Generative AI
Claude Code has a settings file at.claude/settings.json. Most people never touch it. A few options change behavior significantly. defaultMode { "defaultMode": "acceptEdits" } The default mode is "default" which asks for confirmation on file edits. "acceptEdits" accepts file changes automatically but still asks about shell commands. This is the setting that stops the "approve this edit" prompts. Allowed commands { "bash": { "allowedCommands": [ "npm", "git", "ls", "cat", "grep", "node" ] } } This controls which shell commands run without asking. List the specific commands your project uses.