Feature: Auto-add approved commands to permissions allowlist
Resolved 💬 3 comments Opened Jan 29, 2026 by morrid0 Closed Feb 1, 2026
Summary
When Claude Code prompts for permission to run a command and the user approves it, add an "Always allow" option that automatically adds the command pattern to ~/.claude/settings.json.
Current Workflow
- Claude asks permission to run a command
- User approves
- Next time, Claude asks again for the same command
- User must manually edit
settings.jsonto permanently allow it
Proposed Workflow
- Claude asks permission to run a command
- User selects "Always allow" (in addition to current Yes/No)
- Command is automatically added to
permissions.allowin settings - Future runs don't require approval
Benefits
- Build allowlist organically based on actual usage
- Reduces friction for repetitive workflows
- No need to manually edit JSON files
- Could offer scope choice: global (
~/.claude/settings.json) vs project (.claude/settings.json)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗