All shelves / Mods / Usage
headroom-snip
By headroomlabs-ai
headroom-snip is a Claude Code usage mod by headroomlabs-ai.
Draws a band above the prompt showing Headroom cutting each request from its original token count to what was sent, with a /headroom log and a running total.
Draws
Install
The marketplace name is headroom-marketplace.
claude plugin marketplace add headroomlabs-ai/headroom claude plugin install headroom-snip@headroom-marketplace
It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.
- Version
- 0.41.0
- License
- Apache-2.0
- Repo stars
- 77748
- Last change
- 2026-10-14
What it can reach
- Draws in the session
- Reads usage or context figures
- Calls another program on this machine
A Headroom proxy already running. If nothing answers, the band says so and suggests headroom wrap claude. When a request goes through the proxy, the band above the prompt shows its original and sent token counts with a scissors animation and the percentage cut, which compressors did the cutting, and the running total since the session started. A request sent unchanged says why. /headroom opens a pane of the requests since the session started, with what was cut and what was protected, how long compression took, the biggest snip, and an all-time total, and /headroom hide and /headroom show toggle the band. The status line shows the tokens saved, and toasts mark 10k, 50k, 100k, 250k, 500k, 1M, and 5M saved. The author says the mod polls the proxy's loopback GET /stats?cached=1 once a second while a turn runs, only on localhost, 127.0.0.1, or [::1], and that nothing leaves your machine. It looks for the proxy in HEADROOM_PROXY_URL, then ANTHROPIC_BASE_URL, then http://127.0.0.1:8787. Totals are not per session, because the proxy cannot tell Claude Code sessions apart: through headroom wrap claude they cover this project, by the launch folder's name, and otherwise every client on the proxy.
The marketplace name is headroom-marketplace. Add headroomlabs-ai/headroom. The same marketplace also lists headroom. To try it from a checkout, run claude --plugin-dir plugins/headroom-snip. The tokens each request saved are why this page files it under usage. secondwind, by orchetron, compresses Bash output of 512 bytes or more through the local secondwind binary and draws a pane of the net tokens saved. output-diet, by VedantAndhale, trims what Claude reads from a long shell, search, or subagent result and counts the savings on the status line. This one cuts nothing itself: it reads the counts from a Headroom proxy you already run, and animates each cut.
Demo

What it hooks into
session.startWhen a session startsturn.startWhen Claude starts a turnturn.completeWhen a turn endscommand.runWhen you run its slash command/headroomui.renderDraws into the sessionAbovePromptPane
Read from the on() calls in its hook modules. Open its source under Files to check what each one does.
Slash commands 1
/headroomShow what Headroom snipped from each request (add "hide" or "show" for the band)
Files
The author's README and source, 4 files. They load when you open them.
Facts
- Author
- headroomlabs-ai
- Category
- Usage
- Marketplace
- headroom-marketplace
- Folder
- plugins/headroom-snip
- Version
- 0.41.0
- License
- Apache-2.0
- Repo stars
- 77748
- Last change
- 2026-10-14
- Language
- Python
- Files
- 9