मुख्य सामग्री पर जाएँ
Skillpedia
सामान्य कोडिंग70k · #3111

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 पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/code-yeongyu/oh-my-openagent/blob/dev/packages/omo-codex/plugin/components/lcx/skills/lcx-doctor/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

  1. 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 .git directory 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"
  1. Inventory the installed surface. Resolve CODEX_HOME (default ~/.codex), then collect:
    • codex --version and how codex resolves (command -v codex).
    • Installed LazyCodex version: the version in the installed plugin manifest, discoverable with find "${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-ai bin 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.

repo: code-yeongyu/oh-my-openagent

लोकप्रियता

GitHub स्टार
70k
रैंकिंग में स्थान
#3111
लाइसेंस
NOASSERTION
अपडेट की गई
15/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस 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