Hooks enforce, skills instruct, subagents isolate. How each Claude Code mechanism works, what it costs, working examples of all three, and a real production setup.