Claude Code Nexus is a proxy platform that forwards Claude Code requests to any OpenAI-compatible API service. It supports smart model mapping, streaming, and is deployed on Cloudflare Workers. It enables developers to use Claude Code with various OpenAI-compatible services, improving flexibility and integration capabilities.
git clone https://github.com/KroMiose/claude-code-nexus.gitClaude Code Nexus is a proxy platform that forwards Claude Code requests to any OpenAI-compatible API service. It supports smart model mapping, streaming, and is deployed on Cloudflare Workers. It enables developers to use Claude Code with various OpenAI-compatible services, improving flexibility and integration capabilities.
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/KroMiose/claude-code-nexusCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
I'm using Claude Code Nexus to forward requests to an OpenAI-compatible API service. Here's my setup: [COMPANY] wants to migrate from [CURRENT_MODEL] to [TARGET_MODEL]. The API endpoint is [API_ENDPOINT]. I need smart model mapping and streaming support. Can you guide me through the configuration?
# Claude Code Nexus Configuration Guide
## Current Setup
- **Company**: TechInnovate Solutions
- **Current Model**: Claude 2.1
- **Target Model**: OpenAI's GPT-4
- **API Endpoint**: https://api.openai.com/v1/chat/completions
## Configuration Steps
1. **Model Mapping**: Map Claude's parameters to OpenAI's format:
```json
{
"temperature": 0.7,
"max_tokens": 1000,
"top_p": 0.95
}
```
2. **Streaming Support**: Enable streaming with:
```json
{
"stream": true,
"n": 1
}
```
3. **Deployment**: Deploy on Cloudflare Worker with:
```bash
wrangler deploy --name claude-code-nexus
```
## Expected Outcome
- Seamless migration from Claude to OpenAI
- Maintained performance and functionality
- Reduced latency and improved reliabilityBuild AI agents without coding
Protect and enhance web performance with DDoS protection, firewalls, and content delivery.
Build and deploy AI models through APIs and tools
Unlock data insights with interactive dashboards and collaborative analytics capabilities.
AI assistant built for thoughtful, nuanced conversation
Information security and compliance solutions