diyism/cc-nim ? reverse-engineered prompt

Reverse engineered prompt

Build me a small Python app that lets me use Claude Code for free by routing its requests through NVIDIA NIM, with a simple local proxy I can run from the terminal. I want it to behave like an Anthropic compatible endpoint so I can point Claude Code at it and keep using the same workflow, but swap in a different model behind the scenes.

It should support streaming responses, tool use, and a few model choices, with an easy way to set my API key and default model in a .env file. If it can also run as a Telegram bot for remote chat and coding help, that would be great. I’d like a simple start command, clear setup instructions, and a basic check I can run with curl to confirm it’s working. If you need to look up current docs online, feel free to do that.