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

  1. Claude asks permission to run a command
  2. User approves
  3. Next time, Claude asks again for the same command
  4. User must manually edit settings.json to permanently allow it

Proposed Workflow

  1. Claude asks permission to run a command
  2. User selects "Always allow" (in addition to current Yes/No)
  3. Command is automatically added to permissions.allow in settings
  4. 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)

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗