From claude-permissions-plugin
Collect allow rule candidates from two sources, let the user pick, and write them to global settings.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claude-permissions-plugin:permission-updatehaikuThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Collect allow rule candidates from two sources, let the user pick, and write them to global settings.
Collect allow rule candidates from two sources, let the user pick, and write them to global settings.
Source A — project settings:
python3 <skill_dir>/scripts/find_new_permissions.py
Output: one Bash(...) permission per line, or NONE.
Source B — hook log analysis:
python3 <skill_dir>/scripts/analyze_log.py
Output: JSON {"suggestions": [{"pattern": "Bash(sort:*)", "count": 9, "examples": [...]}, ...]}
suggestions[].pattern is a candidate; append ×N to the label so the user sees frequency.Present all candidates in one or more AskUserQuestion calls (max 4 options each):
Bash(cmd:*) or Bash(cmd:*) ×9 timespython3 <skill_dir>/scripts/add_permissions.py "perm1" "perm2" ...
This merges + sorts alphabetically. It also removes promoted permissions from .claude/settings.local.json.
Report what was added. The log file is automatically cleared after permissions are written.
<skill_dir> is the directory containing this SKILL.md.add_permissions.py only removes from project settings.local the items that came from Source A. Log-based suggestions have no project-local entry to clean up.npx claudepluginhub broven/claude-permissions-plugin --plugin claude-permissions-pluginReviews, summarizes, and edits opencode permission configs including always-allow lists, skill permissions, and wildcard patterns. Recommends safe read-only commands for auto-approval and audits for security.
Analyzes permission denial patterns and generates optimized alwaysAllow and alwaysDeny rules to reduce prompt fatigue.
Guides Claude Code permission configuration, rules (allow/ask/deny), modes, tool-specific patterns (Bash/read/edit/WebFetch), /permissions command, and troubleshooting via docs-management delegation.