lcx-doctor
यह क्या करती है
यह आपके LazyCodex program के लिए health checker है। यह जाँचता है कि आपका installation सही है या नहीं, और उसकी तुलना नवीनतम उपलब्ध version से करता है।
कब इस्तेमाल करें
- ✓जब update के बाद LazyCodex उम्मीद के मुताबिक काम न करे।
- ✓अगर आपको शक है कि आपका installation पुराना है या उसमें कोई समस्या है।
- ✓यह जाँचने के लिए कि सब कुछ सही तरह से set up है या नहीं।
Skill का लिंक
https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-codex/plugin/components/lcx/skills/lcx-doctor/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“मेरे LazyCodex installation की health जाँचो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह LazyCodex और Codex के code के नवीनतम versions डाउनलोड करता है, आपके मौजूदा installation की जाँच करता है, और सब कुछ की तुलना करता है। अगर इसे कुछ गड़बड़ मिलती है, तो यह आपको बता देता है।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
lcx-doctor
You are a LazyCodex install doctor. Inspect the local installation, compare it against the latest LazyCodex and Codex sources, and return a PASS/WARN/FAIL report where every verdict cites the command output or file that produced it. Diagnose only: the only writes you make are under LAZYCODEX_SOURCE_ROOT or ${TMPDIR:-/tmp}/lazycodex-sources. Never mutate the user's install, config, or repositories during diagnosis; propose remediations and apply one only when the user explicitly asks afterward.
Use GPT-5.5 style: outcome first, concise, evidence-bound.
Required Workflow
- Materialize the latest sources under
LAZYCODEX_SOURCE_ROOT="${LAZYCODEX_SOURCE_ROOT:-${TMPDIR:-/tmp}/lazycodex-sources}"first. Every source comparison below reads from these checkouts, never from memory. Re-sync on every run so a cached checkout cannot go stale, and validate cached checkouts before reuse so an incomplete.gitdirectory cannot poison diagnosis:
LAZYCODEX_SOURCE_ROOT="${LAZYCODEX_SOURCE_ROOT:-${TMPDIR:-/tmp}/lazycodex-sources}"
mkdir -p "$LAZYCODEX_SOURCE_ROOT"
valid_source_checkout() {
DEST="$1"
git -C "$DEST" rev-parse --is-inside-work-tree >/dev/null 2>&1 &&
git -C "$DEST" config --get remote.origin.url >/dev/null 2>&1
}
recover_corrupt_source_checkout() {
DEST="$1"
if [ -e "$DEST" ] && ! valid_source_checkout "$DEST"; then
QUARANTINED="$DEST.corrupt.$(date +%Y%m%d%H%M%S)"
mv "$DEST" "$QUARANTINED"
echo "Moved corrupt source cache $DEST to $QUARANTINED" >&2
fi
}
sync_latest_source() {
REPO="$1"; DEST="$2"
recover_corrupt_source_checkout "$DEST"
if [ ! -d "$DEST" ]; then
gh repo clone "$REPO" "$DEST" -- --depth=1 \
|| git clone --depth=1 "https://github.com/$REPO" "$DEST"
fi
if ! valid_source_checkout "$DEST"; then
echo "Source cache $DEST is not a usable git checkout after clone" >&2
return 1
fi
git -C "$DEST" remote set-url origin "https://github.com/$REPO.git" >/dev/null 2>&1 || true
DEFAULT_BRANCH="$(git -C "$DEST" remote show origin | sed -n '/HEAD branch/s/.*: //p')"
if [ -z "$DEFAULT_BRANCH" ]; then
DEFAULT_BRANCH="$(git -C "$DEST" symbolic-ref --short refs/remotes/origin/HEAD 2>/dev/null | sed 's#^origin/##')"
fi
if [ -z "$DEFAULT_BRANCH" ]; then
echo "Could not determine default branch for $REPO in $DEST" >&2
return 1
fi
git -C "$DEST" fetch --depth=1 origin "$DEFAULT_BRANCH"
git -C "$DEST" checkout -B "$DEFAULT_BRANCH" FETCH_HEAD
}
sync_latest_source code-yeongyu/lazycodex "$LAZYCODEX_SOURCE_ROOT/lazycodex-source"
sync_latest_source openai/codex "$LAZYCODEX_SOURCE_ROOT/chatgpt-subscription-source"
- Inventory the installed surface. Resolve
CODEX_HOME(default~/.codex), then collect:codex --versionand howcodexresolves (command -v codex).- Installed LazyCodex version: the
versionin the installed plugin manifest, discoverable withfind "${CODEX_HOME:-$HOME/.codex}/plugins" -path '*/.codex-plugin/plugin.json'. Installed plugins live under$CODEX_HOME/plugins/cache/<marketplace>/<name>/<version>/. - Latest LazyCodex version from
$LAZYCODEX_SOURCE_ROOT/lazycodex-source(release tags or the version stamped in the repo) and latest Codex release (gh release view --repo openai/codex). - OS, install method, and
lazycodex/lazycodex-aibin links resolving (command -v).
…
अक्सर पूछे जाने वाले सवाल
PASS, WARN या FAIL का क्या मतलब है?
PASS का मतलब है सब कुछ सही है। WARN का मतलब है सावधानी, यानी कुछ ऐसा जो आगे चलकर समस्या बन सकता है। FAIL का मतलब है कोई ऐसी समस्या है जिसे ठीक करना ज़रूरी है।
क्या यह program मेरे installation में कुछ बदलता है?
नहीं, यह सिर्फ जाँच करता है। यह कुछ नहीं बदलता, बस बताता है कि किस चीज़ को ठीक करने की ज़रूरत है।
`LAZYCODEX_SOURCE_ROOT` क्या है?
यह आपके कंप्यूटर पर एक जगह है जहाँ program तुलना के लिए नवीनतम code versions डाउनलोड करता है।
जानकारी
लेखक का मूल विवरण
Diagnose LazyCodex and Codex CLI installation health against the latest sources. Use whenever the user asks for a doctor or health check, says LazyCodex, lazycodex-ai, omo-codex, or Codex behaves oddly after an install, update, or config change, suspects a stale, drifted, or broken setup, or wants the local install audited and compared with the latest LazyCodex and Codex code.
लोकप्रियता
- GitHub स्टार
- 70k
- रैंकिंग में स्थान
- #3111
- लाइसेंस
- NOASSERTION
- अपडेट की गई
- 15/10/2026
कमेंट
- …
इस repository की और skills
comment-checker
70kयह आपके एजेंट को automatic comment checkers के feedback को समझने और उस पर जवाब देने में मदद करता है। automated code या content reviews के नतीजों को प्रोसेस करने में उपयोगी है।
lcx-contribute-bug-fix
70kयह आपके एजेंट को LazyCodex से जुड़े projects में bug fixes देने में मदद करता है। code की गुणवत्ता बनाए रखने के लिए यह issues या pull requests बनाता है।
lcx-report-bug
70kयह आपके एजेंट को LazyCodex projects के bugs विस्तार से रिपोर्ट करने में मदद करता है। यह ऐसे issues बनाता है जिनमें developers के लिए समस्या ठीक करने की काम की जानकारी होती है।
lsp
70kयह आपके एजेंट को diagnostic information और code definitions देता है। project में references, symbols और rename सुरक्षित है या नहीं, यह जाँचने के लिए इस्तेमाल होता है।
मिलती-जुलती skills
diffs
394kयह आपके एजेंट को बदलावों का असली diff बनाने देती है, जिसे व्यूअर लिंक या इमेज फ़ाइल के रूप में साझा किया जा सकता है, हाथ से लिखे सारांश के बजाय।
coding-agent
394kयह आपके एजेंट को बड़े कोडिंग काम Codex, Claude Code या OpenCode को बैकग्राउंड वर्कर के रूप में सौंपने, फिर उसकी प्रगति जांचने में मदद करती है।
gh-issues
394kयह आपके एजेंट को GitHub issues खोजने, उनमें से काम करने लायक चुनने, और सुधार के साथ pull requests खोलने में मदद करती है, जिसमें समीक्षा टिप्पणियों का फ़ॉलो-अप भी शामिल है।