codex-claudecode-proxy
v0.1.4
Published
npx installer for running CLIProxyAPI as local proxy for Claude Code using Codex OAuth token
Maintainers
Readme
codex-claudecode-proxy
A local proxy installer CLI that translates the OpenAI OAuth API into a Claude-compatible API.
One-Liner
npx -y codex-claudecode-proxyRequirements
- macOS only (for now)
- Claude Code is installed
- You are logged in to Codex CLI
Model -> Reasoning Effort Routing
This installer configures Claude Code's Opus/Sonnet/Haiku tiers so that:
- The visible model names encode the desired reasoning effort:
- Opus:
gpt-5.3-codex(xhigh) - Sonnet:
gpt-5.3-codex(high) - Haiku:
gpt-5.3-codex(medium)
- Opus:
- CLIProxyAPI rewrites all tier requests to call the same upstream model (
gpt-5.3-codex), while settingreasoning.efforttoxhigh/high/mediumbased on the tier.
In other words: tier selection controls reasoning level, not the upstream model.
Commands
# Install (safe to re-run)
npx -y codex-claudecode-proxy
# Status
npx -y codex-claudecode-proxy status
# Start/stop manually
npx -y codex-claudecode-proxy start
npx -y codex-claudecode-proxy stop
# Uninstall: stop background services and restore Claude Code settings
npx -y codex-claudecode-proxy uninstall
# Purge: uninstall + remove installed files
npx -y codex-claudecode-proxy purgeIntegrity / Safety
- Claude Code settings are configured automatically, and a backup is created before changes.
- Running
uninstallremoves the proxy-related Claude settings and restores the original behavior.
License
MIT
