raine/claude-code-proxy ? reverse-engineered prompt
Reverse engineered prompt
Build me a local proxy that lets me keep using Claude Code, but route it through my existing ChatGPT, Kimi, Grok, Cursor, or OpenCode Go subscription instead of Anthropic.
I want a simple command line tool I can install and run on my Mac or Linux machine, with a local server I point Claude Code at. It should handle sign in, translate the requests and streaming responses, and pick the right model automatically based on the provider I choose. Please include a small monitor screen so I can see active sessions, recent requests, errors, token usage, and throughput while it runs.
Also make it support an optional image generation endpoint for Codex style image requests, using the same logged in account. Keep everything local by default, listen on localhost, and make it easy to start, configure, and check what models are available. If you need to, look up current docs online while building it.
Are you gonna build this?
make sure you review the code using coderabbit