ocx

ocx is a skill for Claude Code, Codex from lidge-jun/opencodex. It costs 59 tokens per session (2,716 once invoked), scanned A, original, MIT.

A command-line control panel for a locally running opencodex proxy, which routes coding-agent requests to different AI providers. It covers accounts, providers, models, usage, costs, logs, access keys, and related management tasks.

In plain words
What is it for?
Use it to check available models, manage provider accounts and access keys, inspect requests and costs, and clean up stored proxy data.
Why use it?
It gives you one place to inspect and operate the proxy instead of managing its routing and usage details by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md; mentions Codex.

Good fit Use it to check available models, manage provider accounts and access keys, inspect requests and costs, and clean up stored proxy data.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lidge-jun/opencodex/ocx
About the project

opencodex is a local proxy that lets OpenAI Codex and other coding tools use language models from different providers through a common interface. It is for people who want to run models such as Claude, Gemini, Grok, DeepSeek, or Ollama with Codex, Claude Code, Claude Desktop, or Grok Build. The catalogue add-on supports workflows built around this proxy.

lidge-jun/opencodex · 18,878 stars · on GitHub · opencodex.me

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lidge-jun/opencodex --skill ocx
Clone the repo
git clone --depth 1 https://github.com/lidge-jun/opencodex

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ocx

README.md
[![agentmods](https://agentmods.dev/badge/skills/lidge-jun/opencodex/ocx/github.svg)](https://agentmods.dev/skills/lidge-jun/opencodex/ocx)
Your own site
<a href="https://agentmods.dev/skills/lidge-jun/opencodex/ocx"><img src="https://agentmods.dev/badge/skills/lidge-jun/opencodex/ocx/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ocx

Your own site · 80×15
<a href="https://agentmods.dev/skills/lidge-jun/opencodex/ocx"><img src="https://agentmods.dev/badge/skills/lidge-jun/opencodex/ocx.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,716 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00059 $0.02716
Opus 5.5 $0.00024 $0.01086
Sonnet 5.5 $0.00012 $0.00543
Haiku 4.5 $0.00006 $0.00272

Measured 2mo ago against content hash 2f275053f4a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ocx scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/ocx/SKILL.md · 190 lines

How it starts

The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Operating ocx

ocx supports local configuration and named live management workflows. Coverage is per task: provider edits, account selection, model visibility, routing reads, client integration controls and diagnostics have different transports and limits. A shared API prefix does not prove that every dashboard action has a CLI equivalent.

This skill is for operating a proxy. AGENTS_INSTALL.md covers installation and operating consent; the repository AGENTS.md covers code changes.

Find the task offline

Start at the smallest useful level; no running proxy is needed for help:

ocx help                         # compact root
ocx help models                  # family and declared children
ocx help models preset show      # exact leaf, when declared
ocx help --all                   # full top-level reference, when needed

Then read only the matching task chapter. For example, use providers/models for catalog work or Lab for local evidence. Use ocx help <family> <leaf> or appended --help, not a trailing bare help after nested operands. Missing detail can fall back to family help; it is not proof that a runtime operation is absent.

For a route you already know, an optional lookup is:

ocx capabilities --route '/api/providers/{provider}/model-costs' --json

This matches the declared path template, not a concrete provider URL or HTTP method. Exit 4 means no declaration matched. Full ocx capabilities --json and --mutating-only --json are useful for broad inventories, not mandatory preflight. Declarations describe the installed CLI; actual handlers remain the grammar authority.

Choose a workflow

Start with the named read or preview, then follow its recipe. Help is offline; the target column describes execution. A listed write still needs authority for that task, and read-oriented probes can contact upstream services.

Read the full file on GitHub · 190 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -60 tokens per session 2f275053f4a3
  2. 2mo ago Changed · +5 lines 964a053d6e71
  3. 2mo ago Changed · +17 lines 11dc972a6dac
  4. 2mo ago Changed · +21 lines · +119 tokens per session 7f5b53059eba
  5. 3mo ago Changed · +26 lines d394e84a9efb
  6. 3mo ago First seen · 121 lines · 0 tokens per session scan A 8cae3e1ede53

Subscribe to this mod's changes

ocx is a skill published in the GitHub repository lidge-jun/opencodex (18,878 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 2,716 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ocx compared with skills from other repositories

ocx next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ocxlidge-jun/opencodexSkill19ktodayMITA59Claude Code, Codex
land-section-entrieskimtth/azure-openai-llm-notesSkill4243d agononeA48Claude Code, Codex
fetch-llm-appskimtth/azure-openai-llm-notesSkill4243d agononeA64Claude Code, Codex
fetch-llm-paperskimtth/azure-openai-llm-notesSkill4243d agononeA73Claude Code, Codex
update-cite-countkimtth/azure-openai-llm-notesSkill4243d agononeA47Claude Code, Codex
pydantic-aiskillmds/skillmdSkill14226d agoMITA32Claude Code
skill-creatorzhayujie/CowAgentSkill48kyesterdayMITA61Claude Code, Codex