<aside> 🪝

Hooks are the enforcement layer of Claude Code. They fire automatically at defined points in the execution cycle. You do not ask Claude to run them. They run regardless. This page covers every hook type, how to define them, community hook libraries worth using, and copy-paste hooks for GTM engineers.

</aside>

The four hook types

How to define a hook

Community hook libraries

Copy-paste hooks for GTM engineers