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.
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.
npx skills add lidge-jun/opencodex --skill ocxgit clone --depth 1 https://github.com/lidge-jun/opencodexWrote 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.
[](https://agentmods.dev/skills/lidge-jun/opencodex/ocx)<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.
<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>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once 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 |
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 15d 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.
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.
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- references/01_management_surface.md 37 KB
- references/01_surface_access-remote.md 24 KB
- references/01_surface_accounts.md 34 KB
- references/01_surface_agents-routing.md 45 KB
- references/01_surface_integrations.md 33 KB
- references/01_surface_lab.md 13 KB
- references/01_surface_lifecycle.md 6.3 KB
- references/01_surface_observe-system.md 59 KB
- references/01_surface_providers-models.md 35 KB
- references/02_json_shapes.md 29 KB
- references/03_recipes.md 61 KB
- references/04_failure_semantics.md 22 KB
- references/05_remote_hub.md 21 KB
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.
- 15d ago Changed · -60 tokens per session 2f275053f4a3
- 1mo ago Changed · +5 lines 964a053d6e71
- 1mo ago Changed · +17 lines 11dc972a6dac
- 1mo ago Changed · +21 lines · +119 tokens per session 7f5b53059eba
- 1mo ago Changed · +26 lines d394e84a9efb
- 1mo ago First seen · 121 lines · 0 tokens per session scan A 8cae3e1ede53
ocx is a skill published in the GitHub repository lidge-jun/opencodex (17,690 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.
Other skills, from other repositories
pydantic-ai
Build production-ready AI agents with PydanticAI — type-safe tool use, structured outputs, dependency injection, and multi-model support.
fetch-llm-apps
Regenerate the ranked GitHub LLM applications pool (section/xllmapps.md) with fetchllmapps.py. USE FOR: refreshing the pool linked from applications.md. DO NOT USE FOR: hand-curating entries in applications.md or adding star badges to the generated file.
add-new-entry-from-temp-md
Format new entries from temp.md into tempentries.md, ready to insert into the section files. USE FOR: adding new resources to the knowledge base. DO NOT USE FOR: editing existing entries or restructuring sections.
fetch-llm-papers
Refresh the LLM landscape paper pool (section/xllmpapers.md) with fetchllmpapers.py. USE FOR: refreshing citation counts or expanding topic coverage. DO NOT USE FOR: hand-curated entries (use add-new-entry-from-temp-md) or bestpractices.md citation counts (use update-cite-count).
add-temp-entries-to-sections
Insert formatted entries from tempentries.md into the section files. USE FOR: moving staged entries into section/.md. DO NOT USE FOR: creating entries in tempentries.md or moving entries between sections.
update-cite-count
Update citation counts for papers in the ranked sections of section/bestpractices.md with updatecitationcounts.py. USE FOR: refreshing counts. DO NOT USE FOR: adding papers or classifying entries.