Claude Code Hooks: Automate and Secure Your Sessions
A Claude Code hook is a shell command that runs automatically at a precise moment in a session: before a tool, after an edit, at startup. The types of hooks, how to configure them in settings.json, and five hooks ready to copy.