OpenAI Codex Claude Code Proxy — Development skill for Claude Code
OpenAI Codex Claude Code Proxy.
How to install OpenAI Codex Claude Code Proxy
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open MikeChongCan/OpenAI-Codex-Claude-Code-Proxy and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What OpenAI Codex Claude Code Proxy does
OpenAI Codex Claude Code Proxy.
Alternatives in Development
- OpenAI Codex CLI — (Rust implementation) 67.8k ★
- Codexbar — Show usage stats for OpenAI Codex and Claude Code, without having to login 8.8k ★
- Claude Code Proxy — Run Claude Code on OpenAI models 3.3k ★
README
OpenAI Codex Claude Code Proxy

Run Claude Code with GPT models through [CLIProxyAPI](https://github.com/router-for-me/CLIProxyAPI).
This project provides two small launchers:
./claudex-oairoutes Claude Code to GPT-5.6 Sol through an OpenAI/Codex subscription authenticated with OAuth../claudexroutes Claude Code to GPT-5.6 Sol on Azure OpenAI.
Both launchers enable effort mode, defer tool loading, start the local proxy automatically, and keep provider credentials out of Claude Code.
How it works
Claude Code sends requests using Anthropic's Messages API. CLIProxyAPI exposes an Anthropic-compatible localhost endpoint and translates those requests to the OpenAI Responses API.
Claude Code -> localhost:8317 -> CLIProxyAPI -> Codex OAuth or Azure OpenAI
Azure and OpenAI subscription models use separate names so they cannot route to the wrong billing source:
gpt-5.6-sol-> OpenAI/Codex OAuthazure-gpt-5.6-sol-> Azure OpenAI
Requirements
- macOS or Linux
- Claude Code
- CLIProxyAPI
- Python 3
- One or both of:
- An OpenAI/Codex subscription supported by CLIProxyAPI OAuth
- An Azure OpenAI endpoint, API key, and GPT deployment
The automatic background service uses `launchd` on macOS and `nohup` on Linux.
Install
On macOS:
brew install cliproxyapi
git clone https://github.com/MikeChongCan/OpenAI-Codex-Claude-Code-Proxy.git
cd OpenAI-Codex-Claude-Code-Proxy
cp .env.example .env
Generate a local proxy token:
openssl rand -hex 32
Put that value in `CLIPROXY_LOCAL_TOKEN` inside `.env`. This token protects the local proxy and must not be the same as a provider API key.
OpenAI/Codex subscription setup
Render the proxy configuration once, then authenticate CLIProxyAPI with OpenAI/Codex OAuth:
./start-cliproxy.sh
Stop
Related Skills
Codex OpenAI Proxy
Proxy server to use ChatGPT Plus tokens with CLINE/Claude Code extensions via OpenAI API compatibility
Opencode2api
OpenCode zen/go to OpenAI Codex/Anthropic Claude Code API proxy
Cliproxy Rs
Rust rewrite of CLIProxyAPI: drop-in compatible proxy for Claude, Codex, Gemini and OpenAI-compatible provider
Codebuddy2api
Proxy CodeBuddy with OpenAI-compatible and Anthropic-compatible APIs for Codex, Claude Code, and standard SDK
Claude Codex Nebius Proxy
A Claude Code + Codex CLI → Nebius bridge. Accepts Claude /v1/messages and Codex /v1/responses requests, conve
Tg Agents Wrapper
Telegram bot wrapper for Claude Code (Agent SDK) and OpenAI Codex. Voice I/O via Whisper + ElevenLabs/Kokoro T
Related Agents
Codex Orchestrator
CLI tool for delegating tasks to GPT Codex agents via tmux sessions. Designed for Claude Code orchestration wi
Codex Debugger
Root-cause a failing test, crash, stack trace, or misbehaving feature by delegating the investigation to OpenA
Codex Research
Code review and research agent that delegates to OpenAI Codex CLI in\