LESSON 182
Hook Architecture — Exit Codes and Enforcement
Hooks are Claude Code's nervous system — they fire before and after every tool call. Exit codes determine whether Claude proceeds, gets warned, or is forced to change course.
8 min read·Claude Code Operations
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 →