omx-setup
ما الذي تفعله
تثبّت هذه المهارة إعداد oh-my-codex أو تحدّثه على الحاسوب أو داخل المشروع. وهي موجهة لمن يريد ضبط الأداة بشكل صحيح.
متى تستخدمها
- ✓عندما تثبّت oh-my-codex لأول مرة على حاسوب أو مشروع.
- ✓عندما تريد تحديث تثبيت قائم بعد تحديث جديد.
- ✓عندما تريد معاينة تغييرات الإعداد قبل تطبيقها.
رابط المهارة
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/omx-setup/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“اضبط oh-my-codex لهذا المشروع فقط، وأرني أولًا ما الذي سيغيّره.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تشغّل المهارة أمر الإعداد مع خيارات النطاق (للمستخدم أو للمشروع) وسلوك الدمج وأدوات MCP. يعاين خيار التشغيل التجريبي الإجراءات دون تطبيقها، ويعرض خيار التفصيل كل خطوة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
OMX Setup
Use this task card to install or refresh OMX for the current project and/or user scope. Shared safety, lifecycle, hook, team, autonomy, and cancellation rules live in templates/AGENTS.md. Do not infer new CLI behavior from this card; the implementation is authoritative.
Command and alternatives
omx setup [--force] [--merge-agents|--no-merge-agents|--clear-merge-agents-policy] [--dry-run] [--verbose] [--scope <user|project>] [--plugin|--legacy|--install-mode <legacy|plugin>] [--mcp <none|compat>] [--no-mcp|--with-mcp] [--disable-team|--enable-team|--team-mode <enabled|disabled>]
omx agents-init [path] [--dry-run] [--force] [--verbose]
Use agents-init for lightweight AGENTS.md scaffolding only, not a full install.
Supported setup options:
--force: overwrite/reinstall managed artifacts; transient, not persisted or replayed.--merge-agents,--no-merge-agents,--clear-merge-agents-policy: exact bare selectors (no values/equals). Repeated identical selectors are idempotent; conflicting selectors fail before mutations. Set persists an explicit policy per invoking project root; clear removes it and cannot combine with a set. Merge refreshes managed sections; no-merge only suppresses that branch and is not a preserve mode.--dry-run,--verbose: preview actions or show per-file/per-step detail.--scope user|project: choose user (~/.codex,~/.omx/agents) or project (./.codex,./.omx/agents) targets.--plugin/--legacy: select delivery mode;--install-mode legacy|pluginis the canonical scripted spelling. Conflicting mode flags fail.--mcp none|compat(plus--no-mcp/--with-mcp): omit or enable first-party MCP compatibility and shared registry sync.--disable-team,--enable-team,--team-mode enabled|disabled: select Team skill/context generation; conflicting selectors fail.
Resolve setup
- Scope: explicit flag, valid persisted
./.omx/setup-scope.json, TTY choice (defaultuser), or non-interactiveuser. Legacyproject-localmigrates toproject. - Mode: explicit flag, persisted mode when retained, discovered
${CODEX_HOME:-~/.codex}/plugins/cache/**/.codex-plugin/plugin.jsonwithname: oh-my-codex(plugin default), otherwise legacy. TTY reruns summarize saved choices and offer keep/review/reset; non-interactive runs do not block. - Create required directories and atomically persist preferences only after successful setup.
What setup changes
- Legacy mode installs prompts/native agents/skills and merges full config.toml.
- Plugin mode archives/removes legacy OMX-managed prompts/skills, refreshes installable native agent TOMLs and stale generated non-installable agents, and keeps setup-owned runtime hooks.
- Both modes verify Team CLI interop markers in built
dist/cli/team.js, generate AGENTS defaults only when selected/allowed, and write./.omx/hud-config.json; notification hook references are setup-owned outside plugin skill delivery. AGENTS.mdis./AGENTS.md. Without--forceor--merge-agents, interactive runs ask before overwrite and non-interactive runs preserve it. Active-session safeguards may skip writes. Plugin mode may separately prompt for AGENTS anddeveloper_instructionsdefaults; non-interactive runs preserve existing files.- Plugin mode enables setup-owned runtime flags (
plugin_hooks,goals, or legacyhooks/codex_hooksfallback). Project scope usesCODEX_HOME=./.codexunless explicitly overridden.
Verify
omx setup --force --verbose
omx doctor
Expect doctor evidence for prompts and skills in the selected scope, project-root AGENTS.md, .omx/state, and CLI-first config in the scope target config.toml. First-party MCP and shared registry sync are omitted unless setup used --mcp compat (if supported by the installed CLI).
If using local source, run npm run build before node dist/cli/omx.js setup --force --verbose and node dist/cli/omx.js doctor. If AGENTS was not overwritten or merged, stop the active OMX session and rerun with --force or --merge-agents; do not edit lifecycle state manually.
Discovery troubleshooting
If $omx-setup is absent/stale: run omx setup --verbose, then omx doctor; verify ./.codex/skills/omx-setup/SKILL.md for project scope or ${CODEX_HOME:-~/.codex}/skills/omx-setup/SKILL.md for legacy user scope. In plugin mode verify the oh-my-codex plugin is installed/discovered. For duplicates, inspect historical `~/.ag
الأسئلة الشائعة
هل أرى التغييرات قبل حدوثها؟
نعم. خيار التشغيل التجريبي يعاين الإجراءات دون تطبيقها.
ما الفرق بين نطاق المستخدم ونطاق المشروع؟
نطاق المستخدم يؤثر في كامل إعدادك، أما نطاق المشروع فيطبق على المشروع الحالي فقط.
هل هناك خيار أخف؟
نعم. أمر agents-init يضيف ملف AGENTS.md أساسيًا دون تثبيت كامل.
التفاصيل
الوصف الأصلي من المؤلف
Setup and configure oh-my-codex using current CLI behavior
repo: Yeachan-Heo/oh-my-codex
الشعبية
- نجوم GitHub
- 34k
- الترتيب
- #8421
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ai-slop-cleaner
34kيساعد وكيلك على تنظيف الشيفرة المنفوخة أو المتكررة أو المولّدة بالذكاء الاصطناعي، بحذف الشيفرة الميتة والأغلفة غير الضرورية مع الحفاظ على السلوك.
analyze
34kيتيح لوكيلك الإجابة عن سؤال عن قاعدة شيفرة بقراءة الشيفرة ذات الصلة، وعرض تفسيرات مرتبة حسب الأدلة، دون إجراء أي تعديل.
ask
34kيتيح لوكيلك إرسال سؤال إلى أداة سطر أوامر محلية لـClaude أو Gemini للحصول على رأي ثانٍ أو مراجعة، ويحفظ الجواب كملف.
autopilot
34kيدير مشروعًا كاملًا بتدخل قليل منك، من الفكرة إلى التنفيذ، مرورًا بالمتطلبات والتخطيط، ويتوقف فقط عند عوائق حقيقية.
مهارات مشابهة
openclaw-update
394kيساعد وكيلك على تحديث بوابة OpenClaw Gateway الموجودة، مع اختيار طريقة التحديث المناسبة لطريقة تثبيتها والحفاظ على جلستك.
diagnose-gateway
394kيساعد وكيلك على معرفة سبب فشل بوابة OpenClaw Gateway عبر فحص الإعدادات والقنوات والمنافذ دون تغيير أي شيء.
crabbox-apps
394kيساعد وكيلك على فتح تطبيق وتشغيله على جهاز سحابي مؤقت، ثم عرض واجهته في الشريط الجانبي للدردشة.