rb:permissions
Installation
SKILL.md
Permission Analyzer
Scan recent Claude session transcripts, find Ruby-project Bash commands that keep
requiring approval, compare them against current Claude settings.json
permissions, and recommend the safest missing entries.
Primary goal: Discover missing permissions from actual usage. Secondary goal: Clean up deprecated, duplicate, or garbage permission rules.
Usage
/rb:permissions [--days=14] [--dry-run] — Scans recent session JSONL files
for the current project, finds uncovered Bash commands, classifies risk, and
recommends settings.json changes. Use --dry-run to preview without
writing.
Arguments
$ARGUMENTS — --days=N (default: 14), --limit=N, --include-global,
--dry-run. Repo-local settings are the default scope.