What problem does it solve?
This Skill eliminates the frustration of constant, unnecessary permission prompts in Claude Code for safe, repeatedly used Bash commands, reducing interruptions during development work.
Core Features & Use Cases
- Session History Analysis: Scans your recent Claude Code session transcripts to identify safe, frequently executed Bash commands that are triggering avoidable permission prompts.
- Risk-Aware Classification: Automatically categorizes commands as safe to auto-allow, review-needed, or blocked (for dangerous operations like irreversible file deletion or force pushes) to avoid exposing your system to risk.
- One-Click Allowlist Application: Applies validated safe command patterns directly to your Claude Code user or project settings.json after your explicit confirmation, with automatic JSON validation to prevent settings corruption.
- Use Case: If you run
bun test or git status dozens of times a week and are prompted for approval each time, this Skill will detect those patterns and add them to your allowlist so you are no longer interrupted.
Quick Start
Ask the AI to run the claude-permissions-optimizer skill to scan your Claude Code session history and automatically add safe, frequently used Bash commands to your permissions allowlist.