From headroom-snip
Watch Headroom snip tokens off every Claude Code request: an animated band, a /headroom log and a running total.
5 events · 13 calls
Ships in headroom-snip. Installing the plugin adds it to Claude Code.
A mod runs inside Claude Code as you, unsandboxed. This is what its source calls.
http.fetchenv.getEach event it registers a hook on, with the matcher when it sets one
session.startturn.startturn.completecommand.run{command=headroom}ui.render{component=AbovePrompt}ui.render{component=Pane, requestId=headroom-snip}Every mods API method its source calls, by namespace
everynowregistergetfetchgetsetgetsetopenresolvestatustoastANTHROPIC_BASE_URLANTHROPIC_CUSTOM_HEADERSHEADROOM_PROXY_URLWhere Claude Code finds the mod
hooks/hooks.jsonhooks/register.tsx (written ./register.tsx)Read from the source, never run. Claude Code checks a mod again when it loads it and can refuse code this reading accepts; claude plugin validate shows its own list.
npx claudepluginhub joshyorko/headroom --plugin headroom-snip