permissions-audit
CommunityAudit and refactor Claude permissions across repos
AuthorRyoMa99
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Identifies redundant, empty, overly broad, or inconsistent permissions declarations in Claude's settings by comparing the global ~/.claude/settings.local.json with per-repository .claude/settings.local.json files under the user's ghq root, reducing noise and preventing accidental over-permissioning.
Core Features & Use Cases
- Audits the global permissions.allow baseline and collects project-level permissions from ghq-managed repositories to detect redundancies and coverage overlaps.
- Flags empty arrays, recommends removals, detects overly broad wildcards and subcommand containment rules, and surfaces patterns used across multiple projects for potential global promotion.
- Produces a structured Markdown report and offers safe, backup-first automated refactoring with JSON validation and clear rollback instructions.
Quick Start
Run the permissions-audit skill to scan ~/.claude/settings.local.json and all ghq repositories, produce a categorized audit report, and optionally apply backup-first automatic fixes.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: permissions-audit Download link: https://github.com/RyoMa99/dotfiles/archive/main.zip#permissions-audit Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.