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]

My Favourite Bash Feature

Just a quick one here, but I used this a lot today and realised after chatting to some other devs that a lot of people don’t know about this trick. That trick is: History Expansion Let’s say you are SSH’d (or SSM’d on AWS if you want to be more secure) onto a Linux box and you want check the status of a service with systemctl status cassandra.service You see that the service is exited for some reason, and you want to restart it after determining that’s all that is needed. ...

May 4, 2023 · 1 min · 152 words · map[email:me@wynandpieters.dev name:Wynand Pieters]