ocx
ما الذي تفعله
تُرشد هذه المهارة تشغيل وسيط opencodex قيد التشغيل عبر سطر الأوامر ocx، بما في ذلك حساباته ومزوديه ونماذجه وتوجيهه وأدوات تشخيصه. وهي لمن يشغّلون هذا الوسيط ويحتاجون إلى إدارته يوميًا.
متى تستخدمها
- ✓عندما تحتاج إلى فحص الحسابات أو المزودين أو النماذج في وسيط يعمل، أو تغييرها.
- ✓عندما تريد مراجعة إعدادات التوجيه أو تقرير استخدام للوسيط.
- ✓عندما تحتاج إلى تشخيص الوسيط بالأمر ocx help أو بأوامر الإدارة.
رابط المهارة
https://github.com/lidge-jun/opencodex/blob/main/skills/ocx/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أرني أي مزودين يستخدمهم وسيط ocx الذي يعمل لدي، وكم طلبًا عالجه كل حساب هذا الأسبوع.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
توجّه المهارة وكيلك إلى البحث عن أمر 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؟
لا. إنها لتشغيل الوسيط، أما تغييرات الكود فتغطيها إرشادات أخرى في المستودع.
هل كل إجراء في لوحة التحكم متاح في سطر الأوامر؟
لا. تحذر المهارة من أن التغطية تختلف حسب المهمة، فقد لا يكون لبعض إجراءات لوحة التحكم مقابل في سطر الأوامر.
التفاصيل
الوصف الأصلي من المؤلف
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
- آخر تحديث
- 2/11/2026
التعليقات
- …
مهارات مشابهة
blucli
394kيساعد وكيلك على البحث عن مكبرات Bluesound وNAD وتشغيلها وإيقافها وتجميعها وضبط مستوى صوتها عبر الأمر blu.
camsnap
394kيساعد وكيلك على التقاط صور لقطية أو مقاطع قصيرة أو أحداث حركة من كاميرات الشبكة وكاميرات الويب المحلية التي أعددتها.
eightctl
394kيساعد وكيلك على فحص وحدة Eight Sleep والتحكم فيها، بما في ذلك درجة حرارتها ومنبهاتها وجداول النوم.