About
Claude Hookbook is a reviewed library of Claude Code hooks plus a generator that composes them into settings.json. It is not affiliated with Anthropic.
Editorial policy
- Every hook names its event, matcher, risk level, and source links with the date they were last checked.
- No hook ships from a plausible snippet alone. A hook gets the tested badge only after a config-lint, an install in a disposable repo, a positive trigger test, a negative non-trigger test, and a documented failure behavior.
- Hooks marked needs manual check have docs-verified event and matcher semantics but have not completed the full test pass against the current Claude Code release. The test steps are on the page - run them before relying on the hook.
- Blocking hooks always carry a recovery note.
- Hooks run code on your machine. Read a hook before you install it; that is why every script is printed in full.
Scope
Project scope (.claude/settings.json) applies to one repo and can be checked in to share with a team. User scope (~/.claude/settings.json) applies to every project on your machine. Both run together; project hooks add to user hooks.
Contact
Found a broken hook or have one worth reviewing? Open an issue on the GitHub repo, or browse the library.