Chuyển đến nội dung
Skillpedia
Khác18k · #10723

ocx

Skill này làm gì

Skill này hướng dẫn vận hành một proxy opencodex đang chạy qua dòng lệnh ocx, gồm tài khoản, nhà cung cấp, mô hình, định tuyến và chẩn đoán. Skill dành cho người đang chạy proxy này và cần quản lý nó hằng ngày.

Khi nào nên dùng

  • ✓Khi bạn cần kiểm tra hoặc thay đổi tài khoản, nhà cung cấp hoặc mô hình trong một proxy đang chạy.
  • ✓Khi bạn muốn xem cài đặt định tuyến hoặc báo cáo sử dụng của proxy.
  • ✓Khi bạn cần chẩn đoán proxy bằng ocx help hoặc các lệnh quản lý của nó.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/lidge-jun/opencodex/blob/main/skills/ocx/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy cho tôi biết proxy ocx đang chạy của tôi dùng những nhà cung cấp nào và mỗi tài khoản đã xử lý bao nhiêu yêu cầu trong tuần này.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu agent của bạn tra cứu trước lệnh ocx chính xác cho tác vụ đó ở chế độ ngoại tuyến, rồi chạy lệnh trên proxy và báo cáo kết quả.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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

Câu hỏi thường gặp

Tôi có cần proxy đang chạy để đọc trợ giúp không?

Không. Skill nói các lệnh trợ giúp hoạt động ngoại tuyến, và chỉ cần proxy đang chạy khi quản lý trực tiếp.

Skill này có thay đổi mã của opencodex không?

Không. Nó dành cho việc vận hành proxy, còn thay đổi mã được xử lý bởi các hướng dẫn khác của kho lưu trữ.

Mọi thao tác trên bảng điều khiển đều có trong CLI không?

Không. Skill cảnh báo phạm vi bao phủ khác nhau tùy tác vụ, nên một số thao tác trên bảng điều khiển có thể không có lệnh tương đương trên dòng lệnh.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
18k
Vị trí xếp hạng
#10723
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Skill tương tự