ocx
What it does
This skill guides operating a running opencodex proxy through the ocx command line, including its accounts, providers, models, routing and diagnostics. It is for people who run this proxy and need to manage it day to day.
When to use it
- ✓When you need to check or change the accounts, providers or models in a running proxy.
- ✓When you want to review routing settings or a usage report for the proxy.
- ✓When you need to diagnose the proxy with ocx help or its management commands.
Skill link
https://github.com/lidge-jun/opencodex/blob/main/skills/ocx/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Show me which providers my running ocx proxy is using and how many requests each account handled this week.”
5 new skills a week. 1 minute to read.
How it works
The skill tells your agent to look up the exact ocx command for the task offline first, then run it against the proxy and report the results.
Technical content (original SKILL.md)
Original text by the author, straight from 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.
| Task domain | Start | Execution target | Verify the result |
|---|---|---|---|
| Lifecycle | ocx status --json |
Local runtime | Compare readiness, runtime identity and version; diagnosis |
| Providers and models | ocx provider snapshot --json |
Live management; local authoring is separate | Read saved state and catalog disposition; provider edits, model identities |
| Accounts | ocx account list --json |
Live management | Read active/selected state; quota is opt-in and can probe upstream; pool policy, per-key quota |
| Agents and routing | ocx route policy list --json |
Live management; v2 distinguishes local and live |
Inspect revision, saved overrides and apply outcome; routing edits, runtime settings |
| Integrations | ocx help integration |
Selected runtime and its client files | Preview before applying; inspect refusals and ownership; file integrations |
| Observation and maintenance | ocx logs filter --help |
Live management; connected usage is self-scoped |
Retain window, filter and incomplete/partial facts; filtered reads, companion totals |
| Access and remote | ocx connect status --json |
Local connection; management runs on its serving host | Separate connection health, key scope and revocation; remote targeting, private key handoff |
| Lab | ocx help lab |
Local evidence; explicit probes and automation have effects | Inspect evidence and export/probe limits; Lab workflow |
These are task entry points, not a count of GUI par
FAQ
Do I need a running proxy to read help?
No. The skill says the help commands work offline, and a running proxy is only needed for live management.
Does this skill change the opencodex code?
No. It is for operating a proxy, while code changes are covered by other repository guidance.
Is every dashboard action in the CLI?
No. The skill warns that coverage differs by task, so some dashboard actions may have no command-line equivalent.
Details
Original description by the author
Operate opencodex (`ocx`): discover CLI tasks offline, inspect local configuration, and manage a running proxy’s account pool, providers, models, routing, usage report, and management API. Use for proxy operation rather than editing the opencodex codebase.
repo: lidge-jun/opencodex
Popularity
- GitHub stars
- 18k
- Ranking position
- #10723
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
Similar skills
blucli
394kHelps your agent find, play, pause, group, and adjust the volume of Bluesound and NAD speakers through the blu command.
camsnap
394kHelps your agent grab snapshots, short clips, or motion events from network cameras and local webcams that you have set up.
eightctl
394kHelps your agent check and control an Eight Sleep pod, including its temperature, alarms, and sleep schedules.