Cupcake integrates via execution hooks, intercepting agent actions before they run.
This lets you block dangerous commands, modify inputs, or inject context, all without consuming model tokens.
(Fun fact: our team created the original Hooks feature request for Claude Code)