Codex OpenAI Proxy — Development skill for Claude Code
Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility.
How to install Codex OpenAI Proxy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Securiteru/codex-openai-proxy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Codex OpenAI Proxy does
Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility.
Alternatives in Development
- Claude Code Proxy — Run Claude Code on OpenAI models 3.3k ★
- Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
- Theme Color Conventions — Extensions in this repo use a consistent color language mapped to Pi's theme tokens 526 ★
README
Codex OpenAI Proxy
A proxy server that allows CLINE (Claude Code) and other OpenAI-compatible extensions to use ChatGPT Plus tokens from Codex authentication instead of requiring separate OpenAI API keys.
Overview
This proxy bridges the gap between:
- Input: Standard OpenAI Chat Completions API format (what CLINE expects)
- Output: ChatGPT Responses API format (what ChatGPT backend uses)
Features
- ✅ OpenAI API Compatibility: Accepts standard OpenAI Chat Completions requests
- ✅ ChatGPT Plus Integration: Uses your existing ChatGPT Plus tokens
- ✅ Cloudflare Bypass: Handles ChatGPT's Cloudflare protection with browser-like headers
- ✅ HTTPS Support: Works with extensions requiring secure connections (via ngrok)
- ✅ Streaming Responses: Full streaming support for real-time responses
- ✅ CLINE Compatible: Tested extensively with CLINE VS Code extension
- ✅ Array Content Support: Handles both string and array message formats from OpenAI SDK
- ✅ Universal Routing: Bulletproof request routing that bypasses complex warp conflicts
Quick Start
1. Build and Run
git clone https://github.com/Securiteru/codex-openai-proxy.git
cd codex-openai-proxy
cargo build --release
./target/release/codex-openai-proxy --port 8888 --auth-path ~/.codex/auth.json
2. Setup HTTPS Tunnel (Required for CLINE)
Most VS Code extensions require HTTPS:
# Install ngrok and create your own static domain at https://dashboard.ngrok.com/domains
# Replace 'your-static-domain' with your unique domain name
ngrok http 8888 --domain=your-static-domain.ngrok-free.app
**Security Note**: Always use your own unique ngrok domain. Do not share your domain publicly to prevent unauthorized access to your proxy.
3. Configure CLINE Extension
In VS Code CLINE settings:
- Base URL:
https://your-static-domain.ngrok-free.app - Model:
gpt-5(orgpt-4) - API Key: Any value (not used, but required by extension)
Related Skills
Cline Proxy
High-fidelity Rust gateway for aggregating multiple Cline API keys with Claude Code and OpenAI compatibility
Local Terminal MCP
Run local commands from ChatGPT or Claude via a safe, allowlisted MCP server. Work on your codebase and genera
Pvc Img Gen Codex
Claude Code skill that makes and edits real images through the Codex CLI from the OpenAI ChatGPT VS Code exten
Antigravity Reverseproxy API
A proxy server that exposes both Anthropic-compatible and OpenAI-compatible APIs backed by Antigravity's Cloud
Dario
A local OpenAI- and Anthropic-compatible proxy that brings your Claude Pro/Max subscription to Cursor, Cline,
Claude Proxy Rs
OpenAI-compatible proxy for Claude Pro/Max - use with Cline, Roo Code, Kilo Code
Related Agents
AI Saglayici Uzmani
Anthropic Messages API ve OpenAI Codex App Server entegrasyonunun uzmanı — akış, araç döngüsü, hata/yeniden de
Codex Agent
Runs OpenAI Codex on the user's ChatGPT subscription. Three modes - consult (OS-sandboxed read-only analysis,
GPT Image Prompter
Prompt engineer for the Codex image generator (gptimage skill, ChatGPT subscription). Turns image ideas — ofte