Hooks — Claude Cert Academy

Hooks are scripts Claude Code runs automatically at defined points, such as before a tool call or after a session ends.

They let you enforce policy, format code, run checks, or log activity without relying on the model to remember. Because the harness executes them, they are deterministic. Hooks are how teams add guardrails and automation around the agent.

Continue to Claude Cert Academy