本文へスキップ
Skillpedia
その他18k · #10723

ocx

できること

このスキルは、ocxコマンドラインを通じて、稼働中のopencodexプロキシを運用する方法を案内します。アカウント、プロバイダー、モデル、ルーティング、診断を含みます。このプロキシを運用し、日々管理する必要がある人向けです。

使う場面

  • ✓稼働中のプロキシのアカウント、プロバイダー、モデルを確認または変更する必要があるとき。
  • ✓プロキシのルーティング設定や利用レポートを確認したいとき。
  • ✓ocx helpや管理コマンドを使って、プロキシを診断する必要があるとき。

スキルのリンク

https://github.com/lidge-jun/opencodex/blob/main/skills/ocx/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/lidge-jun/opencodex/blob/main/skills/ocx/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

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でできますか?

いいえ。作業によって対応範囲が異なるため、ダッシュボードの操作の中には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

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

似ているスキル