1rgs

Claude Code Proxy — Development skill for Claude Code

Development community intermediate

Run Claude Code on OpenAI models.

How to install Claude Code Proxy

This entry records only its repository, not the path inside it, so there is no exact command to give. Open 1rgs/claude-code-proxy and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Claude Code Proxy does

**Use Anthropic clients (like Claude Code) with Gemini, OpenAI, or direct Anthropic backends.** 🤝

Alternatives in Development

  • Antigravity Claude Proxy — Proxy that exposes Antigravity provided claude / gemini models, so we can use them in Claude Code and OpenClaw 3.5k ★
  • MCP Proxy — A bridge between Streamable HTTP and stdio MCP transports 2.4k ★
  • Claude Balancer — A load balancer proxy for multiple Claude OAuth accounts with automatic failover, request tracking, and web da 910 ★

README

Anthropic API Proxy for Gemini & OpenAI Models 🔄

**Use Anthropic clients (like Claude Code) with Gemini, OpenAI, or direct Anthropic backends.** 🤝

A proxy server that lets you use Anthropic clients with Gemini, OpenAI, or Anthropic models themselves (a transparent proxy of sorts), all via LiteLLM. 🌉

Quick Start ⚡

Prerequisites

  • OpenAI API key 🔑
  • Google AI Studio (Gemini) API key (if using Google provider) 🔑
  • Google Cloud Project with Vertex AI API enabled (if using Application Default Credentials for Gemini) ☁️
  • uv installed.

Setup 🛠️

From source

  1. **Clone this repository**:

    git clone https://github.com/1rgs/claude-code-proxy.git
    cd claude-code-proxy
  2. **Install uv** (if you haven't already):

    curl -LsSf https://astral.sh/uv/install.sh | sh

    *(`uv` will handle dependencies based on `pyproject.toml` when you run the server)*

  3. **Configure Environment Variables**: Copy the example environment file:

    cp .env.example .env

    Edit `.env` and fill in your API keys and model configurations:

    • ANTHROPIC_API_KEY: (Optional) Needed only if proxying to Anthropic models.
    • OPENAI_API_KEY: Your OpenAI API key (Required if using the default OpenAI preference or as fallback).
    • GEMINI_API_KEY: Your Google AI Studio (Gemini) API key (Required if PREFERRED_PROVIDER=google and USE_VERTEX_AUTH=true).
    • USE_VERTEX_AUTH (Optional): Set to true to use Application Default Credentials (ADC) will be used (no static API key required). Note: when USE_VERTEX_AUTH=true, you must configure VERTEX_PROJECT and VERTEX_LOCATION.
    • VERTEX_PROJECT (Optional): Your Google Cloud Project ID (Required if PREFERRED_PROVIDER=google and USE_VERTEX_AUTH=true).

...