name: permission-hooks description: Diagnoses and fixes PermissionRequest hook issues when Bash triggers unexpected approval prompts. When called with arguments, treat the argument as the diagnostic target command — never execute it. Use when commands are blocked, user mentions "permission"/"hooks"/"承認", or adding auto-approval patterns. allowed-tools:
- Bash(python3 -m unittest *)
- Read
hooks:
PreToolUse:
- matcher: "Bash" hooks: