claude-permissions-optimizer

Community

Streamline Claude Code allowlist updates

Authormichaelvolz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Stops permission fatigue by inspecting Claude Code session history to identify safe Bash commands that repeatedly trigger prompts and auto-allows them in settings.json without over-reaching into dangerous patterns.

Core Features & Use Cases

  • Scoped analysis: Prompts for project scope, defaults to all projects, and honors custom filters so the recommendations match the current work context.
  • Safe command extraction: Runs the bundled extract-commands.mjs script to normalize Bash usage, enforce min-count thresholds, and classify each pattern so only green rules reach the allowlist.
  • Automatic allowlist updates: Reads user and project settings, deduplicates and sorts entries, validates JSON, and informs about changes while warning when risky patterns surface.

Quick Start

Ask Claude Permissions Optimizer to scan recent sessions and add the green Bash rules to your settings.json.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: claude-permissions-optimizer
Download link: https://github.com/michaelvolz/redmuffin.Blazor.StaticWeb/archive/main.zip#claude-permissions-optimizer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.