<aside> 🪝
Hooks are scripts that run automatically at specific points in Claude Code's execution cycle. Before a tool runs, after it runs, before a session ends. You define the trigger and the action. Claude does not need to decide to run them. They fire regardless.
</aside>