Install any skill in seconds. Free to start, no credit card required.
Get Started Free →majiayu000/hook-authoring
Guide creating Claude Code hooks with security-first design.
Passed 21 of 23 test cases with the skill, and 9 of 23 without it.
and 13 more in the full report
12 fixed9 passed either way2 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
I am writing a PostToolUse hook script that invokes an external integration test suite. What is the maximum default execution timeout configured for hooks in Claude Code?
| Checked | Without skill | With skill |
|---|---|---|
| The response specifies 10 minutes (or 600 seconds) as the default hook timeout. | Missed | Passed |
The instructions your model reads when the skill loads.
Hooks are event interceptors that allow you to extend Claude Code and Claude Agent SDK behavior by executing custom logic at specific points in the agent lifecycle. They enable validation before tool use, logging after actions, context injection, workflow automation, and security enforcement.
This skill teaches you how to write effective, secure, and performant hooks for both declarative JSON (Claude Code) and programmatic Python (Claude Agent SDK) use cases.
test cases passed, vs 9 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.