AI SAFETY & ETHICS
I built a local proxy that compresses Claude Code context automatically
r/AIGovernance
•
Been using Claude Code heavily for a few months and the token costs were getting out of hand. Dug into it and found the main culprit: the context window. Every call resends the full conversation history, system prompt, all of it, even the parts from 40 exchanges ago that are completely irrelevant. Built a local proxy that sits between my editor and the Anthropic API and compresses context before each call.