Claude Code Hooks – Safety Through Invariants
A developer has published a guide to Claude Code Hooks, a built-in feature that lets scripts intercept tool calls in the agent's lifecycle to enforce safety invariants. The writeup explains that PreToolUse hooks, registe…