Cover image for Further Down the Token Rabbit Hole

Further Down the Token Rabbit Hole

Background Okay, so this post is a follow up to a few different posts, but most notably The Token Saving Cake is a Lie. Before reading this one, I highly recommend checking that out first. Go ahead. I’ll wait. Back? Good. Let’s continue. Headroom So I said that the solution is probably something like Lynkr, but before building the integration, I discovered Headroom (45k stars, Python, its own trained compression model, ships RTK as a component). It does everything the Lynkr plan described, supposedly better. Set ANTHROPIC_BASE_URL=http://localhost:8787, run headroom wrap claude, done. ...

September 12, 2026 · 10 min · 2001 words · map[email:me@wynandpieters.dev name:Wynand Pieters]
Cover image for The Prompt Compression Rabbit Hole: From Caveman to Proxy

The Prompt Compression Rabbit Hole: From Caveman to Proxy

Introduction I came across caveman-compression — a tool that compresses text into a token-efficient “caveman” format before sending it to an LLM. The pitch is simple: It can cut 30-65% of tokens depending on the content, which at Claude Opus prices adds up fast. I immediately wanted to wire it into Claude Code so compression would happen automatically on every prompt. The obvious hook was UserPromptSubmit. ...

April 13, 2026 · 6 min · 1200 words · map[email:me@wynandpieters.dev name:Wynand Pieters]