Tokenectomy-Labs/Tokenectomy ? reverse-engineered prompt
Reverse engineered prompt
Build me a local tool for AI coding assistants that sits between Cursor or Claude Code and the model API, so it can clean up messy error logs before they get sent, redact secrets like API keys, JWTs, and database URLs, and reduce token usage. I want it to run on localhost and work as both a proxy and an MCP server, with a simple way to wrap a command like a test run or an agent CLI so it automatically goes through the cleaner. It should also support a small dashboard where I can see how many tokens were saved, what got cached, and what was redacted. If possible, make it smart enough to route requests to different providers and handle both OpenAI style and Anthropic style requests without me having to think about it. Look up current docs online if you need to, and keep it fast, safe, and easy to run locally.
Are you gonna build this?
make sure you review the code using coderabbit