What This Does
.claude/settings.local.json accumulates one-off command approvals over time (hardcoded IDs, escaped PowerShell commands, old env paths). This skill resets it to a clean state.
Steps
- •
Check current file size:
bashwc -l .claude/settings.local.json
- •
Back up the file:
bashcp .claude/settings.local.json .claude/settings.local.json.bak
- •
Reset to minimal config — write this content to
.claude/settings.local.json:json{ "permissions": { "allow": [] }, "additionalDirectories": [ "c:\\Users\\101097205" ] } - •
Inform the user to restart the Claude Code session for changes to take effect.
Notes
- •The shared
settings.jsonalready covers all standard commands (git, gh, make, python, formatters) - •Most patterns in
settings.local.jsonare duplicates ofsettings.jsonor stale one-off approvals - •If you find you frequently need a command, add it to
settings.jsoninstead (that's tracked in git) - •The backup file (
.bak) can be deleted once you confirm everything works