From pro-workflow
Analyzes permission denial patterns and generates optimized alwaysAllow and alwaysDeny rules to reduce prompt fatigue.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pro-workflow:permission-tunerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reduce permission prompt fatigue by analyzing denial patterns and suggesting targeted rules.
Reduce permission prompt fatigue by analyzing denial patterns and suggesting targeted rules.
Use when:
alwaysAllow rulesCheck current permission rules:
cat .claude/settings.json 2>/dev/null | grep -A 20 "permissions"
cat ~/.claude/settings.json 2>/dev/null | grep -A 20 "permissions"
Allow-list candidates (low risk):
Read — all file reads (read-only, no side effects)Glob — file pattern matching (read-only)Grep — content search (read-only)Bash(git status) — read-only git commandsBash(git diff*) — read-only git commandsBash(git log*) — read-only git commandsBash(npm test*) — test executionBash(npm run lint*) — lintingBash(npm run typecheck*) — type checkingAsk candidates (medium risk — prompt user every time):
Edit — file modificationsWrite — new file creationBash(git add*) — staging changesBash(git commit*) — creating commitsBash(npm install*) — dependency changesDeny-list candidates (high risk):
Bash(git push*) — affects remoteBash(git reset --hard*) — destructiveBash(rm -rf*) — destructiveBash(curl*POST*) — external API calls--force or --no-verify{
"permissions": {
"allow": [
"Read",
"Glob",
"Grep",
"Bash(git status)",
"Bash(git diff*)",
"Bash(git log*)",
"Bash(npm test*)",
"Bash(npm run lint*)",
"Bash(npm run typecheck*)"
],
"deny": [
"Bash(rm -rf *)",
"Bash(git push --force*)",
"Bash(git reset --hard*)"
]
}
}
PERMISSION TUNER REPORT
Current rules: [X] allow, [Y] deny, [Z] ask
Recommendations:
Auto-approve (safe, read-only):
+ Read, Glob, Grep
+ Bash(git status), Bash(git diff*), Bash(git log*)
Auto-approve (medium risk, frequently used):
+ Edit (approved X times this session)
+ Bash(npm test*) (approved X times)
Keep asking:
~ Bash(git commit*) — verify commit messages
~ Write — verify new file creation
Auto-deny (dangerous):
- Bash(rm -rf *)
- Bash(git push --force*)
Estimated prompts saved per session: ~[N]
npx claudepluginhub rohitg00/pro-workflow --plugin pro-workflowExtracts safe Bash commands from Claude Code session history and auto-updates settings.json allowlist to minimize permission prompts.
Recommends safe Bash permissions for Elixir/Phoenix mix commands by scanning session transcripts and updating VSCode settings.json to reduce permission prompts.
Configure allow/deny/ask permission rules in .claude/settings.json for Claude Code tools like Bash(git:*), Write, Edit. Builds layered policies with glob patterns for git commands.