LESSON 387
Hooks — Deterministic Enforcement
Hooks intercept the agent loop at three injection points — PreToolUse, PostToolUse, and Stop — using exit codes to block, warn, or allow. Unlike CLAUDE.md rules, hooks fire deterministically regardless of context state.
8 min read·Skills, Hooks & Slash Commands
Academy Pro lesson
Read this lesson on the Academy
This lesson is part of the AI Operator's Academy Pro tier, so its full text and quiz live on academy.jeremyknox.ai.
Open on the Academy →