claude-hooks
Installation
SKILL.md
Contains Hooks
This skill uses Claude hooks which can execute code automatically in response to events. Review carefully before installing.
Claude Hook Authoring
Create event hooks that automate workflows, validate operations, and respond to Claude Code events.
Hook Types
Three hook execution types:
| Type | Best For | Example |
|---|---|---|
| command | Deterministic checks, external tools, performance | Bash script validates paths |
| prompt | Complex reasoning, context-aware validation | LLM evaluates if action is safe |
| agent | Multi-step verification requiring tool access | Agent with Read/Grep tools verifies consistency |
Command hooks (for deterministic/fast checks):