Codex Openai Proxy
Description
Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
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
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11