Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Evaluates Claude Code hooks for security, performance, and SDK compliance during audits.
18% 91%+73 ptsof test cases passed
Passed 20 of 22 test cases with the skill, and 4 of 22 without it.
When a PreToolUse hook blocks an unsafe bash command execution, what key in the return dictionary provides the explanatory text shown to the agent?
Identifies permissionDecisionReason as the payload key holding the explanation string.
This test ran on v2. v5 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
abstract:hook-authoring)abstract:skills-eval).claude/rules/ (use abstract:rules-eval)This skill provides a detailed framework for evaluating, auditing, and implementing Claude Code hooks across all scopes (plugin, project, global) and both JSON-based and programmatic (Python SDK) hooks.
| Component | Purpose |
|---|---|
| Hook Types Reference | Complete SDK hook event types and signatures |
| Evaluation Criteria | Scoring system and quality gates |
| Security Patterns | Common vulnerabilities and mitigations |
| Performance Benchmarks | Thresholds and optimization guidance |
HookEvent = Literal[
"PreToolUse", # Before tool execution
"PostToolUse", # After tool execution
"UserPromptSubmit", # When user submits prompt
"Stop", # When stopping execution
"SubagentStop", # When a subagent stops
"TeammateIdle", # When teammate agent becomes idle (2.1.33+)
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.