ocx
하는 일
이 스킬은 실행 중인 opencodex 프록시를 ocx 명령줄로 운영하는 방법을 안내합니다. 계정, 제공자, 모델, 라우팅, 진단을 포함합니다. 이 프록시를 운영하며 매일 관리해야 하는 사람을 위한 스킬입니다.
사용하는 경우
- ✓실행 중인 프록시의 계정, 제공자, 모델을 확인하거나 바꿔야 할 때.
- ✓프록시의 라우팅 설정이나 사용량 보고서를 검토하고 싶을 때.
- ✓ocx help나 관리 명령으로 프록시를 진단해야 할 때.
스킬 링크
https://github.com/lidge-jun/opencodex/blob/main/skills/ocx/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“실행 중인 ocx 프록시가 어떤 제공자를 쓰고 있는지, 그리고 이번 주에 각 계정이 얼마나 많은 요청을 처리했는지 보여 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
스킬은 에이전트에게 먼저 오프라인에서 해당 작업의 정확한 ocx 명령을 찾고, 그다음 프록시에 대해 실행해 결과를 보고하라고 지시합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
자주 묻는 질문
도움말을 보려면 실행 중인 프록시가 필요한가요?
아니요. 스킬은 도움말 명령이 오프라인에서 작동하며, 실시간 관리에만 실행 중인 프록시가 필요하다고 말합니다.
이 스킬이 opencodex 코드를 바꾸나요?
아니요. 프록시 운영을 위한 것이며, 코드 변경은 다른 저장소 지침이 다룹니다.
대시보드의 모든 작업이 CLI에 있나요?
아니요. 스킬은 작업마다 지원 범위가 다르므로, 일부 대시보드 작업은 명령줄 대응이 없을 수 있다고 경고합니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 18k
- 순위
- #10723
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …