doctor
यह क्या करती है
यह स्किल पता लगाती है कि oh-my-codex सेटअप ठीक से क्यों काम नहीं कर रहा। यह उन लोगों के लिए है जिनका इंस्टॉलेशन या प्लगइन ठीक से नहीं चल रहा।
कब इस्तेमाल करें
- ✓जब इंस्टॉल करने के बाद oh-my-codex कमांड या स्किल नहीं मिल रहे हों।
- ✓जब आप देखना चाहें कि इंस्टॉल किया गया प्लगइन वर्शन नवीनतम रिलीज़ से कैसे मेल खाता है।
- ✓जब आपको देखना हो कि टीम रनटाइम सही से सेट है या नहीं।
Skill का लिंक
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/doctor/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे oh-my-codex स्किल Codex में नहीं दिख रहे। इंस्टॉलेशन जाँचिए और बताइए कि क्या गड़बड़ है।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह बिल्ट-इन doctor कमांड चलाती है और प्लगइन कैश, वर्शन और पाथ देखती है। जो मिलता है उसे सटीक सबूत के साथ बताती है, और सुरक्षित सुधारों का पूर्वावलोकन या उन्हें लागू भी कर सकती है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
OMX Doctor
Use this task card to diagnose installation/discovery problems. Shared safety, lifecycle, hook, team, autonomy, and cancellation rules live in templates/AGENTS.md. ~/.codex means ${CODEX_HOME:-~/.codex} when CODEX_HOME is set.
Run diagnostics
omx doctor
omx doctor --team # include Team runtime checks
omx doctor --verbose # include detailed check evidence
omx doctor --force # repair eligible repo artifact ownership issues
omx doctor --dry-run --force # preview eligible ownership repairs
For a local source checkout, build first and invoke node dist/cli/omx.js doctor. Keep command output and exact paths for the report.
Plugin cache and version
PLUGIN_CACHE_ROOT="${CODEX_HOME:-$HOME/.codex}/plugins/cache"
CACHE_ENTRIES=$(find "$PLUGIN_CACHE_ROOT" -path "*/oh-my-codex/*" -mindepth 3 -maxdepth 3 -type d 2>/dev/null)
if [[ -z "$CACHE_ENTRIES" ]]; then
echo "Installed plugin cache: none"
else
while IFS= read -r d; do
m=$(basename "$(dirname "$(dirname "$d")")"); v=$(basename "$d")
printf 'Installed plugin cache: marketplace=%s version=%s path=%s\n' "$m" "$v" "$d"
done <<<"$CACHE_ENTRIES"
fi
LATEST=$(npm view oh-my-codex version 2>/dev/null)
echo "Latest npm: $LATEST"
No cache is INFO (normal for npm/setup-only installs). A non-local cache version differing from LATEST, or multiple versions for one marketplace, is WARN. Plugin discovery does not replace npm installation plus omx setup; native/runtime wiring remains setup-owned.
Hooks, AGENTS, and skill roots
CODEX_DIR="${CODEX_HOME:-$HOME/.codex}"
ls -la "$CODEX_DIR/config.toml" "$CODEX_DIR/settings.json" 2>/dev/null
rg 'keyword-detector|persistent-mode|session-start|stop-continuation' "$CODEX_DIR/config.toml" "$CODEX_DIR/settings.json" 2>/dev/null || true
ls -la "$CODEX_DIR/hooks"/*.sh 2>/dev/null
ls -la "$CODEX_DIR/AGENTS.md" 2>/dev/null
grep -q "oh-my-codex Multi-Agent System" "$CODEX_DIR/AGENTS.md" 2>/dev/null && echo "Has OMX config" || echo "Missing OMX config"
ls -la "$CODEX_DIR/agents" "$CODEX_DIR/commands" "$CODEX_DIR/skills" "$HOME/.agents/skills" 2>/dev/null
Classify legacy hook references as CRITICAL (duplicate hooks). The scripts keyword-detector.sh, persistent-mode.sh, session-start.sh, and stop-continuation.sh are WARN. Missing AGENTS.md is CRITICAL; missing the OMX marker is WARN. ${CODEX_HOME:-~/.codex}/skills is the canonical user root. ~/.agents/skills is historical and overlapping trees can duplicate skill entries. OMX files under legacy agents/ or commands/ are WARN.
With --team, retain any resume_blocker, slow_shutdown, delayed_status_lag, stale_leader, or orphan_tmux_session diagnostics; failed checks set a non-zero exit status.
Report contract
## OMX Doctor Report
### Summary
[HEALTHY / ISSUES FOUND]
### Checks
| Check | Status | Details |
| Plugin Version | OK/WARN/INFO | ... |
| Hook Config (config.toml / legacy settings.json) | OK/CRITICAL | ... |
| Legacy Scripts (~/.codex/hooks/) | OK/WARN | ... |
| AGENTS.md | OK/WARN/CRITICAL | ... |
| Plugin Cache | OK/WARN | ... |
| Legacy Agents / Commands | OK/WARN | ... |
| Skills (canonical / historical root) | OK/WARN | ... |
### Issues Found
1. ...
### Recommended Fixes
...
Remediation (after user confirmation and confirming each target is OMX-owned)
Remove only confirmed OMX legacy content; preserve unrelated user files:
# If settings.json exists, remove only its legacy "hooks" section.
rm -f "$CODEX_DIR/hooks/keyword-detector.sh" "$CODEX_DIR/hooks/persistent-mode.sh" "$CODEX_DIR/hooks/session-start.sh" "$CODEX_DIR/hooks/stop-continuation.sh"
PLUGIN_CACHE_ROOT="${CODEX_HOME:-$HOME/.codex}/plugins/cache"
find "$PLUGIN_CACHE_ROOT" -path "*/oh-my-codex" -type d -prune -exec rm -rf {} +
For older curl installs, inspect first and remove only directories containing OMX-managed files:
ls -la "$CODEX_DIR/agents" "$CODEX_DIR/commands" "$CODEX_DIR/skills" "$HOME/.agents/skills" 2>/dev/null
# Optional backups:
# mv "$CODEX_DIR/agents" "$CODEX_DIR/agents.bak"
# mv "$CODEX_DIR/commands" "$CODEX_DIR/commands.bak"
# mv "$HOME/.agents/skills" "$HOME/.agents/skills.bak"
rm -rf "$CODEX_DIR/agents" "$CODEX_DIR/commands" "$HOME/.agents/skills"
If AGENTS.md is missing/outdated, fetch the current raw file and write it to $CODEX_DIR/AGENTS.md:
WebFetch(url: "https://raw.githubusercontent
अक्सर पूछे जाने वाले सवाल
क्या मैं बदलाव होने से पहले देख सकता हूँ?
हाँ। dry-run विकल्प से कोई भी सुधार लागू होने से पहले उसका पूर्वावलोकन होता है।
क्या यह टीम रनटाइम जाँचती है?
हाँ, एक विकल्प के साथ टीम रनटाइम की जाँच भी शामिल होती है।
प्लगइन कैश क्या होता है?
यह एक फ़ोल्डर है जहाँ इंस्टॉल की गई प्लगइन फ़ाइलें रहती हैं, और यह स्किल उसका वर्शन जाँचती है।
जानकारी
लोकप्रियता
- GitHub स्टार
- 34k
- रैंकिंग में स्थान
- #8419
- लाइसेंस
- 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यह आपके एजेंट को किसी अस्थायी क्लाउड मशीन पर ऐप खोलने और चलाने देती है, फिर उसका व्यू आपके चैट के साइड पैनल में दिखाती है।