How Claude Code mods work: building a live pane that shows every request to the model
A walkthrough of harness-stats, a Claude Code mod that shows cost, context, cache and every model request live. It covers the ($, e, next) hook chain, turn.step streaming, $.state and testing.