omx-setup
यह क्या करती है
यह स्किल किसी कंप्यूटर या प्रोजेक्ट में oh-my-codex सेटअप इंस्टॉल और अपडेट करती है। यह उन लोगों के लिए है जो टूल को सही तरीके से कॉन्फ़िगर करना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप किसी कंप्यूटर या प्रोजेक्ट में पहली बार oh-my-codex इंस्टॉल कर रहे हों।
- ✓जब अपडेट के बाद मौजूदा इंस्टॉलेशन को ताज़ा करना हो।
- ✓जब सेटअप के बदलाव लागू होने से पहले उनका पूर्वावलोकन चाहिए।
Skill का लिंक
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/omx-setup/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“सिर्फ़ इस प्रोजेक्ट के लिए oh-my-codex सेटअप कीजिए, और पहले दिखाइए कि वह क्या बदलेगा।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह सेटअप कमांड को यूज़र या प्रोजेक्ट scope, मर्ज व्यवहार और MCP टूल के विकल्पों के साथ चलाती है। dry-run विकल्प कार्रवाइयों का पूर्वावलोकन करता है, और verbose विकल्प हर चरण की सूची दिखाता है।
तकनीकी सामग्री (मूल 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
अक्सर पूछे जाने वाले सवाल
क्या बदलाव होने से पहले देख सकता हूँ?
हाँ। dry-run विकल्प कार्रवाई लागू किए बिना उसका पूर्वावलोकन दिखाता है।
यूज़र और प्रोजेक्ट scope में क्या अंतर है?
यूज़र scope आपके पूरे यूज़र सेटअप को प्रभावित करता है, जबकि प्रोजेक्ट scope केवल मौजूदा प्रोजेक्ट पर लागू होता है।
क्या कोई हल्का विकल्प है?
हाँ। 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
कमेंट
- …
इस repository की और skills
ai-slop-cleaner
34kयह आपके एजेंट को फूले, दोहराव वाले या AI से बने कोड को साफ़ करने में मदद करती है, बेकार कोड और अनावश्यक रैपर हटाते हुए, व्यवहार अक्षुण्ण रखते हुए।
analyze
34kयह आपके एजेंट को संबंधित कोड पढ़कर कोडबेस के सवाल का जवाब देने देती है, बिना बदलाव किए, सबूत के साथ क्रम से रखी व्याख्याएँ देते हुए।
ask
34kयह आपके एजेंट को स्थानीय Claude या Gemini CLI टूल से दूसरी राय या समीक्षा लेने देती है, और जवाब को फ़ाइल में सहेजती है।
autopilot
34kएक विचार से लेकर योजना और काम तक पूरे प्रोजेक्ट को बिना ज़्यादा निगरानी के चलाती है, और केवल असली रुकावट आने पर रुकती है।
मिलती-जुलती skills
openclaw-update
394kयह आपके एजेंट को चल रहे OpenClaw Gateway को अपडेट करने में मदद करती है, इंस्टॉल के तरीके के अनुसार सही विधि चुनकर और सेशन बनाए रखकर।
diagnose-gateway
394kयह आपके एजेंट को सेटिंग्स, चैनल और पोर्ट जांचकर पता लगाने देती है कि OpenClaw Gateway क्यों फ़ेल हो रहा है, बिना कुछ बदले।
crabbox-apps
394kयह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।