
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. ...