# Route Codex and Claude Code through an opencodex provider proxy

> Run a local proxy that lets Codex and Claude Code use configured LLM providers, routed models, and account pools while keeping the normal coding-agent workflow.

- Skill: `agentskillexchange/route-codex-and-claude-code-through-an-opencodex-provider-pr` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/route-codex-and-claude-code-through-an-opencodex-provider-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/route-codex-and-claude-code-through-an-opencodex-provider-pr/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/route-codex-and-claude-code-through-an-opencodex-provider-pr

---


# Route Codex and Claude Code through an opencodex provider proxy

Run a local proxy that lets Codex and Claude Code use configured LLM providers, routed models, and account pools while keeping the normal coding-agent workflow.

## Prerequisites

Node.js 18+, @bitkyc08/opencodex, Codex CLI/App/SDK or Claude Code, provider credentials or OAuth

## Installation

Prerequisite: Node.js 18 or newer. The Bun runtime is bundled by the npm package.

Install the published proxy package:

- npm install -g @bitkyc08/opencodex

If your package manager blocks bundled scripts, upstream documents this npm install form:

- npm install -g --allow-scripts=bun @bitkyc08/opencodex

Start configuration with the upstream CLI:

- ocx init

- Source: https://github.com/lidge-jun/opencodex
- Extracted from upstream docs: https://raw.githubusercontent.com/lidge-jun/opencodex/HEAD/README.md

## Documentation

- https://lidge-jun.github.io/opencodex/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/route-codex-and-claude-code-through-an-opencodex-provider-proxy/)

