[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75D767X2TWX219B4GF0ZTCB":3,"skill-same:01M75D767X2TWX219B4GF0ZTCB":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":28,"ownerHtmlUrl":29,"ownerBlogUrl":30,"ownerDescription":6,"updatedAt":31,"install":32,"resources":45},"01M75D767X2TWX219B4GF0ZTCB","doctor",null,"Diagnose and fix oh-my-codex installation issues","agisota\u002Fold-one","agisota","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121413592?v=4","01M75B4BRNT67EC1NDRT8QZEP2","01M75B4BS7QR9VP580MSCPTS3X",3,"MIT","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdoctor\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: doctor\ndescription: Diagnose and fix oh-my-codex installation issues\n---\n\n# Doctor Skill\n\nNote: All `~\u002F.codex\u002F...` paths in this guide respect `CODEX_HOME` when that environment variable is set.\n\n## Canonical skill root\n\nOMX installs skills to `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` — this is the path current Codex CLI natively loads as its skill root.\n\n`~\u002F.agents\u002Fskills\u002F` is a **historical legacy path** from an older Codex CLI release, before Codex settled on `~\u002F.codex` as its home directory. Current Codex CLI and OMX no longer write there.\n\n**In a mixed OMX + plain Codex environment:**\n- **Use**: `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` (user scope) or `.codex\u002Fskills\u002F` (project scope)\n- **Clean up if present**: `~\u002F.agents\u002Fskills\u002F` — if this still exists alongside the canonical root, Codex's Enable\u002FDisable Skills UI will show duplicate entries for any skill present in both trees\n- **Interop rule**: OMX writes only to the canonical path; archive or remove `~\u002F.agents\u002Fskills\u002F` once you have confirmed `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` is your active root\n\n## Task: Run Installation Diagnostics\n\nYou are the OMX Doctor - diagnose and fix installation issues.\n\n### Step 1: Check Plugin Version\n\nOfficial Codex plugin caches are marketplace- and version-scoped, for example `${CODEX_HOME:-~\u002F.codex}\u002Fplugins\u002Fcache\u002F$MARKETPLACE_NAME\u002Foh-my-codex\u002F$VERSION\u002F`. Local installs may use `local` as the version identifier.\n\n```bash\n# Get installed plugin cache versions across marketplaces.\n# Cache shape: $PLUGIN_CACHE_ROOT\u002F$MARKETPLACE_NAME\u002Foh-my-codex\u002F$PLUGIN_VERSION\u002F\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nCACHE_ENTRIES=$(find \"$PLUGIN_CACHE_ROOT\" -path \"*\u002Foh-my-codex\u002F*\" -mindepth 3 -maxdepth 3 -type d 2>\u002Fdev\u002Fnull)\n\nif [[ -z \"$CACHE_ENTRIES\" ]]; then\n  echo \"Installed plugin cache: none\"\nelse\n  while IFS= read -r VERSION_DIR; do\n    MARKETPLACE_NAME=$(basename \"$(dirname \"$(dirname \"$VERSION_DIR\")\")\")\n    PLUGIN_VERSION=$(basename \"$VERSION_DIR\")\n    printf 'Installed plugin cache: marketplace=%s version=%s path=%s\\n' \"$MARKETPLACE_NAME\" \"$PLUGIN_VERSION\" \"$VERSION_DIR\"\n  done \u003C\u003C\u003C \"$CACHE_ENTRIES\"\nfi\n\n# Get latest from npm\nLATEST=$(npm view oh-my-codex version 2>\u002Fdev\u002Fnull)\necho \"Latest npm: $LATEST\"\n```\n\n**Diagnosis**:\n- If no cache entry exists: INFO - plugin marketplace artifact not cached; this may be normal when OMX was installed only through npm\u002Fsetup\n- Compare each printed `PLUGIN_VERSION` with `LATEST`; if it differs and is not `local`: WARN - outdated plugin cache\n- If one marketplace has multiple version directories: WARN - stale cache for that marketplace\u002Fplugin pair\n- Remember: plugin install\u002Fdiscovery is not a replacement for `npm install -g oh-my-codex` plus `omx setup`; the packaged plugin carries plugin-scoped companion metadata for optional MCP compatibility servers and apps, with first-party MCP disabled by default, while native\u002Fruntime hooks and the rest of OMX runtime wiring stay setup-owned\n\n### Step 2: Check Hook Configuration (config.toml + legacy settings.json)\n\nCheck `~\u002F.codex\u002Fconfig.toml` first (current Codex config), then check legacy `~\u002F.codex\u002Fsettings.json` only if it exists.\n\nLook for hook entries pointing to removed scripts like:\n- `bash $HOME\u002F.codex\u002Fhooks\u002Fkeyword-detector.sh`\n- `bash $HOME\u002F.codex\u002Fhooks\u002Fpersistent-mode.sh`\n- `bash $HOME\u002F.codex\u002Fhooks\u002Fsession-start.sh`\n\n**Diagnosis**:\n- If found: CRITICAL - legacy hooks causing duplicates\n\n### Step 3: Check for Legacy Bash Hook Scripts\n\n```bash\nls -la ~\u002F.codex\u002Fhooks\u002F*.sh 2>\u002Fdev\u002Fnull\n```\n\n**Diagnosis**:\n- If `keyword-detector.sh`, `persistent-mode.sh`, `session-start.sh`, or `stop-continuation.sh` exist: WARN - legacy scripts (can cause confusion)\n\n### Step 4: Check AGENTS.md\n\n```bash\n# Check if AGENTS.md exists\nls -la ~\u002F.codex\u002FAGENTS.md 2>\u002Fdev\u002Fnull\n\n# Check for OMX marker\ngrep -q \"oh-my-codex Multi-Agent System\" ~\u002F.codex\u002FAGENTS.md 2>\u002Fdev\u002Fnull && echo \"Has OMX config\" || echo \"Missing OMX config\"\n```\n\n**Diagnosis**:\n- If missing: CRITICAL - AGENTS.md not configured\n- If missing OMX marker: WARN - outdated AGENTS.md\n\n### Step 5: Check for Stale Plugin Cache\n\n```bash\n# List marketplace\u002Fversion cache entries for this plugin\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nfind \"$PLUGIN_CACHE_ROOT\" -path \"*\u002Foh-my-codex\u002F*\" -mindepth 3 -maxdepth 3 -type d 2>\u002Fdev\u002Fnull \\\n  | while IFS= read -r VERSION_DIR; do\n      MARKETPLACE_NAME=$(basename \"$(dirname \"$(dirname \"$VERSION_DIR\")\")\")\n      PLUGIN_VERSION=$(basename \"$VERSION_DIR\")\n      printf '%s\\t%s\\n' \"$MARKETPLACE_NAME\" \"$PLUGIN_VERSION\"\n    done\n```\n\n**Diagnosis**:\n- If a single marketplace lists multiple versions: WARN - multiple cached versions for that marketplace\u002Fplugin pair (cleanup recommended)\n\n### Step 6: Check for Legacy Curl-Installed Content\n\nCheck for legacy agents, commands, and historical legacy skill roots from older installs\u002Fmigrations:\n\n```bash\n# Check for legacy agents directory\nls -la ~\u002F.codex\u002Fagents\u002F 2>\u002Fdev\u002Fnull\n\n# Check for legacy commands directory\nls -la ~\u002F.codex\u002Fcommands\u002F 2>\u002Fdev\u002Fnull\n\n# Check canonical current skills directory\nls -la ${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F 2>\u002Fdev\u002Fnull\n\n# Check historical legacy skill directory\nls -la ~\u002F.agents\u002Fskills\u002F 2>\u002Fdev\u002Fnull\n```\n\n**Diagnosis**:\n- If `~\u002F.codex\u002Fagents\u002F` exists with oh-my-codex-related files: WARN - legacy generated agents or hand-installed role files. The Codex plugin can package reusable workflows plus plugin-scoped companion metadata for optional MCP\u002Fapps; legacy setup installs native agents, while plugin setup archives stale legacy native-agent files and keeps config\u002Fhooks current.\n- If `~\u002F.codex\u002Fcommands\u002F` exists with oh-my-codex-related files: WARN - legacy command files from older installs. Current OMX uses skills\u002Fworkflows plus setup-managed native surfaces.\n- If `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` exists with OMX skills: OK - canonical current user skill root\n- If `~\u002F.agents\u002Fskills\u002F` exists: WARN - historical legacy skill root that can overlap with `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` and cause duplicate Enable\u002FDisable Skills entries\n\nLook for files like:\n- `architect.md`, `researcher.md`, `explore.md`, `executor.md`, etc. in agents\u002F\n- `ultrawork.md`, `deepsearch.md`, etc. in commands\u002F\n- Any oh-my-codex-related `.md` files in skills\u002F\n\n---\n\n## Report Format\n\nAfter running all checks, output a report:\n\n```\n## OMX Doctor Report\n\n### Summary\n[HEALTHY \u002F ISSUES FOUND]\n\n### Checks\n\n| Check | Status | Details |\n|-------|--------|---------|\n| Plugin Version | OK\u002FWARN\u002FCRITICAL | ... |\n| Hook Config (config.toml \u002F legacy settings.json) | OK\u002FCRITICAL | ... |\n| Legacy Scripts (~\u002F.codex\u002Fhooks\u002F) | OK\u002FWARN | ... |\n| AGENTS.md | OK\u002FWARN\u002FCRITICAL | ... |\n| Plugin Cache | OK\u002FWARN | ... |\n| Legacy Agents (~\u002F.codex\u002Fagents\u002F) | OK\u002FWARN | ... |\n| Legacy Commands (~\u002F.codex\u002Fcommands\u002F) | OK\u002FWARN | ... |\n| Skills (${CODEX_HOME:-~\u002F.codex}\u002Fskills) | OK\u002FWARN | ... |\n| Legacy Skill Root (~\u002F.agents\u002Fskills) | OK\u002FWARN | ... |\n\n### Issues Found\n1. [Issue description]\n2. [Issue description]\n\n### Recommended Fixes\n[List fixes based on issues]\n```\n\n---\n\n## Auto-Fix (if user confirms)\n\nIf issues found, ask user: \"Would you like me to fix these issues automatically?\"\n\nIf yes, apply fixes:\n\n### Fix: Legacy Hooks in legacy settings.json\nIf `~\u002F.codex\u002Fsettings.json` exists, remove the legacy `\"hooks\"` section (keep other settings intact).\n\n### Fix: Legacy Bash Scripts\n```bash\nrm -f ~\u002F.codex\u002Fhooks\u002Fkeyword-detector.sh\nrm -f ~\u002F.codex\u002Fhooks\u002Fpersistent-mode.sh\nrm -f ~\u002F.codex\u002Fhooks\u002Fsession-start.sh\nrm -f ~\u002F.codex\u002Fhooks\u002Fstop-continuation.sh\n```\n\n### Fix: Outdated Plugin\n```bash\n# Global cache reset across all marketplaces for this plugin.\n# If you only want one marketplace, set MARKETPLACE_NAME and remove just that subtree instead.\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nfind \"$PLUGIN_CACHE_ROOT\" -path \"*\u002Foh-my-codex\" -type d -prune -exec rm -rf {} +\necho \"Plugin cache cleared across all marketplaces. Restart Codex CLI to fetch the latest marketplace entry.\"\n```\n\n### Fix: Stale Cache (multiple versions)\n```bash\n# Keep only the newest version inside the selected marketplace\u002Fplugin cache.\n# Set MARKETPLACE_NAME to the exact marketplace printed in Step 1.\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nPLUGIN_CACHE_DIR=\"$PLUGIN_CACHE_ROOT\u002F$MARKETPLACE_NAME\u002Foh-my-codex\"\nKEEP_VERSION=$(for dir in \"$PLUGIN_CACHE_DIR\"\u002F*; do [[ -d \"$dir\" ]] && basename \"$dir\"; done | sort -V | tail -1)\nif [[ -n \"$KEEP_VERSION\" ]]; then\n  find \"$PLUGIN_CACHE_DIR\" -mindepth 1 -maxdepth 1 -type d ! -name \"$KEEP_VERSION\" -exec rm -rf {} +\nfi\n```\n\n### Fix: Missing\u002FOutdated AGENTS.md\nFetch latest from GitHub and write to `~\u002F.codex\u002FAGENTS.md`:\n```\nWebFetch(url: \"https:\u002F\u002Fraw.githubusercontent.com\u002FYeachan-Heo\u002Foh-my-codex\u002Fmain\u002Fdocs\u002FAGENTS.md\", prompt: \"Return the complete raw markdown content exactly as-is\")\n```\n\n### Fix: Legacy Curl-Installed Content\n\nRemove legacy agents\u002Fcommands plus the historical `~\u002F.agents\u002Fskills` tree if it overlaps with the canonical `${CODEX_HOME:-~\u002F.codex}\u002Fskills` install:\n\n```bash\n# Backup first (optional - ask user)\n# mv ~\u002F.codex\u002Fagents ~\u002F.codex\u002Fagents.bak\n# mv ~\u002F.codex\u002Fcommands ~\u002F.codex\u002Fcommands.bak\n# mv ~\u002F.agents\u002Fskills ~\u002F.agents\u002Fskills.bak\n\n# Or remove directly\nrm -rf ~\u002F.codex\u002Fagents\nrm -rf ~\u002F.codex\u002Fcommands\nrm -rf ~\u002F.agents\u002Fskills\n```\n\n**Note**: Only remove if these contain oh-my-codex-related files. If user has custom agents\u002Fcommands\u002Fskills, warn them and ask before removing.\n\n---\n\n## Post-Fix\n\nAfter applying fixes, inform user:\n> Fixes applied. **Restart Codex CLI** for changes to take effect.\n","# Doctor Skill\n\nNote: All `~\u002F.codex\u002F...` paths in this guide respect `CODEX_HOME` when that environment variable is set.\n\n## Canonical skill root\n\nOMX installs skills to `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` — this is the path current Codex CLI natively loads as its skill root.\n\n`~\u002F.agents\u002Fskills\u002F` is a **historical legacy path** from an older Codex CLI release, before Codex settled on `~\u002F.codex` as its home directory. Current Codex CLI and OMX no longer write there.\n\n**In a mixed OMX + plain Codex environment:**\n- **Use**: `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` (user scope) or `.codex\u002Fskills\u002F` (project scope)\n- **Clean up if present**: `~\u002F.agents\u002Fskills\u002F` — if this still exists alongside the canonical root, Codex's Enable\u002FDisable Skills UI will show duplicate entries for any skill present in both trees\n- **Interop rule**: OMX writes only to the canonical path; archive or remove `~\u002F.agents\u002Fskills\u002F` once you have confirmed `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` is your active root\n\n## Task: Run Installation Diagnostics\n\nYou are the OMX Doctor - diagnose and fix installation issues.\n\n### Step 1: Check Plugin Version\n\nOfficial Codex plugin caches are marketplace- and version-scoped, for example `${CODEX_HOME:-~\u002F.codex}\u002Fplugins\u002Fcache\u002F$MARKETPLACE_NAME\u002Foh-my-codex\u002F$VERSION\u002F`. Local installs may use `local` as the version identifier.\n\n```bash\n# Get installed plugin cache versions across marketplaces.\n# Cache shape: $PLUGIN_CACHE_ROOT\u002F$MARKETPLACE_NAME\u002Foh-my-codex\u002F$PLUGIN_VERSION\u002F\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nCACHE_ENTRIES=$(find \"$PLUGIN_CACHE_ROOT\" -path \"*\u002Foh-my-codex\u002F*\" -mindepth 3 -maxdepth 3 -type d 2>\u002Fdev\u002Fnull)\n\nif [[ -z \"$CACHE_ENTRIES\" ]]; then\n  echo \"Installed plugin cache: none\"\nelse\n  while IFS= read -r VERSION_DIR; do\n    MARKETPLACE_NAME=$(basename \"$(dirname \"$(dirname \"$VERSION_DIR\")\")\")\n    PLUGIN_VERSION=$(basename \"$VERSION_DIR\")\n    printf 'Installed plugin cache: marketplace=%s version=%s path=%s\\n' \"$MARKETPLACE_NAME\" \"$PLUGIN_VERSION\" \"$VERSION_DIR\"\n  done \u003C\u003C\u003C \"$CACHE_ENTRIES\"\nfi\n\n# Get latest from npm\nLATEST=$(npm view oh-my-codex version 2>\u002Fdev\u002Fnull)\necho \"Latest npm: $LATEST\"\n```\n\n**Diagnosis**:\n- If no cache entry exists: INFO - plugin marketplace artifact not cached; this may be normal when OMX was installed only through npm\u002Fsetup\n- Compare each printed `PLUGIN_VERSION` with `LATEST`; if it differs and is not `local`: WARN - outdated plugin cache\n- If one marketplace has multiple version directories: WARN - stale cache for that marketplace\u002Fplugin pair\n- Remember: plugin install\u002Fdiscovery is not a replacement for `npm install -g oh-my-codex` plus `omx setup`; the packaged plugin carries plugin-scoped companion metadata for optional MCP compatibility servers and apps, with first-party MCP disabled by default, while native\u002Fruntime hooks and the rest of OMX runtime wiring stay setup-owned\n\n### Step 2: Check Hook Configuration (config.toml + legacy settings.json)\n\nCheck `~\u002F.codex\u002Fconfig.toml` first (current Codex config), then check legacy `~\u002F.codex\u002Fsettings.json` only if it exists.\n\nLook for hook entries pointing to removed scripts like:\n- `bash $HOME\u002F.codex\u002Fhooks\u002Fkeyword-detector.sh`\n- `bash $HOME\u002F.codex\u002Fhooks\u002Fpersistent-mode.sh`\n- `bash $HOME\u002F.codex\u002Fhooks\u002Fsession-start.sh`\n\n**Diagnosis**:\n- If found: CRITICAL - legacy hooks causing duplicates\n\n### Step 3: Check for Legacy Bash Hook Scripts\n\n```bash\nls -la ~\u002F.codex\u002Fhooks\u002F*.sh 2>\u002Fdev\u002Fnull\n```\n\n**Diagnosis**:\n- If `keyword-detector.sh`, `persistent-mode.sh`, `session-start.sh`, or `stop-continuation.sh` exist: WARN - legacy scripts (can cause confusion)\n\n### Step 4: Check AGENTS.md\n\n```bash\n# Check if AGENTS.md exists\nls -la ~\u002F.codex\u002FAGENTS.md 2>\u002Fdev\u002Fnull\n\n# Check for OMX marker\ngrep -q \"oh-my-codex Multi-Agent System\" ~\u002F.codex\u002FAGENTS.md 2>\u002Fdev\u002Fnull && echo \"Has OMX config\" || echo \"Missing OMX config\"\n```\n\n**Diagnosis**:\n- If missing: CRITICAL - AGENTS.md not configured\n- If missing OMX marker: WARN - outdated AGENTS.md\n\n### Step 5: Check for Stale Plugin Cache\n\n```bash\n# List marketplace\u002Fversion cache entries for this plugin\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nfind \"$PLUGIN_CACHE_ROOT\" -path \"*\u002Foh-my-codex\u002F*\" -mindepth 3 -maxdepth 3 -type d 2>\u002Fdev\u002Fnull \\\n  | while IFS= read -r VERSION_DIR; do\n      MARKETPLACE_NAME=$(basename \"$(dirname \"$(dirname \"$VERSION_DIR\")\")\")\n      PLUGIN_VERSION=$(basename \"$VERSION_DIR\")\n      printf '%s\\t%s\\n' \"$MARKETPLACE_NAME\" \"$PLUGIN_VERSION\"\n    done\n```\n\n**Diagnosis**:\n- If a single marketplace lists multiple versions: WARN - multiple cached versions for that marketplace\u002Fplugin pair (cleanup recommended)\n\n### Step 6: Check for Legacy Curl-Installed Content\n\nCheck for legacy agents, commands, and historical legacy skill roots from older installs\u002Fmigrations:\n\n```bash\n# Check for legacy agents directory\nls -la ~\u002F.codex\u002Fagents\u002F 2>\u002Fdev\u002Fnull\n\n# Check for legacy commands directory\nls -la ~\u002F.codex\u002Fcommands\u002F 2>\u002Fdev\u002Fnull\n\n# Check canonical current skills directory\nls -la ${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F 2>\u002Fdev\u002Fnull\n\n# Check historical legacy skill directory\nls -la ~\u002F.agents\u002Fskills\u002F 2>\u002Fdev\u002Fnull\n```\n\n**Diagnosis**:\n- If `~\u002F.codex\u002Fagents\u002F` exists with oh-my-codex-related files: WARN - legacy generated agents or hand-installed role files. The Codex plugin can package reusable workflows plus plugin-scoped companion metadata for optional MCP\u002Fapps; legacy setup installs native agents, while plugin setup archives stale legacy native-agent files and keeps config\u002Fhooks current.\n- If `~\u002F.codex\u002Fcommands\u002F` exists with oh-my-codex-related files: WARN - legacy command files from older installs. Current OMX uses skills\u002Fworkflows plus setup-managed native surfaces.\n- If `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` exists with OMX skills: OK - canonical current user skill root\n- If `~\u002F.agents\u002Fskills\u002F` exists: WARN - historical legacy skill root that can overlap with `${CODEX_HOME:-~\u002F.codex}\u002Fskills\u002F` and cause duplicate Enable\u002FDisable Skills entries\n\nLook for files like:\n- `architect.md`, `researcher.md`, `explore.md`, `executor.md`, etc. in agents\u002F\n- `ultrawork.md`, `deepsearch.md`, etc. in commands\u002F\n- Any oh-my-codex-related `.md` files in skills\u002F\n\n---\n\n## Report Format\n\nAfter running all checks, output a report:\n\n```\n## OMX Doctor Report\n\n### Summary\n[HEALTHY \u002F ISSUES FOUND]\n\n### Checks\n\n| Check | Status | Details |\n|-------|--------|---------|\n| Plugin Version | OK\u002FWARN\u002FCRITICAL | ... |\n| Hook Config (config.toml \u002F legacy settings.json) | OK\u002FCRITICAL | ... |\n| Legacy Scripts (~\u002F.codex\u002Fhooks\u002F) | OK\u002FWARN | ... |\n| AGENTS.md | OK\u002FWARN\u002FCRITICAL | ... |\n| Plugin Cache | OK\u002FWARN | ... |\n| Legacy Agents (~\u002F.codex\u002Fagents\u002F) | OK\u002FWARN | ... |\n| Legacy Commands (~\u002F.codex\u002Fcommands\u002F) | OK\u002FWARN | ... |\n| Skills (${CODEX_HOME:-~\u002F.codex}\u002Fskills) | OK\u002FWARN | ... |\n| Legacy Skill Root (~\u002F.agents\u002Fskills) | OK\u002FWARN | ... |\n\n### Issues Found\n1. [Issue description]\n2. [Issue description]\n\n### Recommended Fixes\n[List fixes based on issues]\n```\n\n---\n\n## Auto-Fix (if user confirms)\n\nIf issues found, ask user: \"Would you like me to fix these issues automatically?\"\n\nIf yes, apply fixes:\n\n### Fix: Legacy Hooks in legacy settings.json\nIf `~\u002F.codex\u002Fsettings.json` exists, remove the legacy `\"hooks\"` section (keep other settings intact).\n\n### Fix: Legacy Bash Scripts\n```bash\nrm -f ~\u002F.codex\u002Fhooks\u002Fkeyword-detector.sh\nrm -f ~\u002F.codex\u002Fhooks\u002Fpersistent-mode.sh\nrm -f ~\u002F.codex\u002Fhooks\u002Fsession-start.sh\nrm -f ~\u002F.codex\u002Fhooks\u002Fstop-continuation.sh\n```\n\n### Fix: Outdated Plugin\n```bash\n# Global cache reset across all marketplaces for this plugin.\n# If you only want one marketplace, set MARKETPLACE_NAME and remove just that subtree instead.\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nfind \"$PLUGIN_CACHE_ROOT\" -path \"*\u002Foh-my-codex\" -type d -prune -exec rm -rf {} +\necho \"Plugin cache cleared across all marketplaces. Restart Codex CLI to fetch the latest marketplace entry.\"\n```\n\n### Fix: Stale Cache (multiple versions)\n```bash\n# Keep only the newest version inside the selected marketplace\u002Fplugin cache.\n# Set MARKETPLACE_NAME to the exact marketplace printed in Step 1.\nPLUGIN_CACHE_ROOT=\"${CODEX_HOME:-$HOME\u002F.codex}\u002Fplugins\u002Fcache\"\nPLUGIN_CACHE_DIR=\"$PLUGIN_CACHE_ROOT\u002F$MARKETPLACE_NAME\u002Foh-my-codex\"\nKEEP_VERSION=$(for dir in \"$PLUGIN_CACHE_DIR\"\u002F*; do [[ -d \"$dir\" ]] && basename \"$dir\"; done | sort -V | tail -1)\nif [[ -n \"$KEEP_VERSION\" ]]; then\n  find \"$PLUGIN_CACHE_DIR\" -mindepth 1 -maxdepth 1 -type d ! -name \"$KEEP_VERSION\" -exec rm -rf {} +\nfi\n```\n\n### Fix: Missing\u002FOutdated AGENTS.md\nFetch latest from GitHub and write to `~\u002F.codex\u002FAGENTS.md`:\n```\nWebFetch(url: \"https:\u002F\u002Fraw.githubusercontent.com\u002FYeachan-Heo\u002Foh-my-codex\u002Fmain\u002Fdocs\u002FAGENTS.md\", prompt: \"Return the complete raw markdown content exactly as-is\")\n```\n\n### Fix: Legacy Curl-Installed Content\n\nRemove legacy agents\u002Fcommands plus the historical `~\u002F.agents\u002Fskills` tree if it overlaps with the canonical `${CODEX_HOME:-~\u002F.codex}\u002Fskills` install:\n\n```bash\n# Backup first (optional - ask user)\n# mv ~\u002F.codex\u002Fagents ~\u002F.codex\u002Fagents.bak\n# mv ~\u002F.codex\u002Fcommands ~\u002F.codex\u002Fcommands.bak\n# mv ~\u002F.agents\u002Fskills ~\u002F.agents\u002Fskills.bak\n\n# Or remove directly\nrm -rf ~\u002F.codex\u002Fagents\nrm -rf ~\u002F.codex\u002Fcommands\nrm -rf ~\u002F.agents\u002Fskills\n```\n\n**Note**: Only remove if these contain oh-my-codex-related files. If user has custom agents\u002Fcommands\u002Fskills, warn them and ask before removing.\n\n---\n\n## Post-Fix\n\nAfter applying fixes, inform user:\n> Fixes applied. **Restart Codex CLI** for changes to take effect.\n",{"name":5,"description":7},"main","f37de8f681f0c0ca0e0ebab6e5fddf764ca7553d","skills\u002Fdoctor",1,"https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one","https:\u002F\u002Fagisota.github.io\u002Fold-one\u002F","https:\u002F\u002Fgithub.com\u002Fagisota","pzd.world","2026-07-04 22:32:06",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add agisota\u002Fold-one --skill doctor",{"tool":38,"command":39},"bunx","bunx skills add agisota\u002Fold-one --skill doctor",{"tool":41,"command":42},"pnpm","pnpm dlx skills add agisota\u002Fold-one --skill doctor","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fdoctor\u002FSKILL.md",true,[],[47,54,61,70,77,84],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":18},"01M75KRGZWQWE9JDBS6RX42NWV","zoom-out","Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-out\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":18},"01M75KRCZHKE0ZYAQFFYHS0YNP","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":65,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":18},"01M75KR94KYQ30DTE1P9WNDAE0","yeet","Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyeet\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M75KR3H13YJ9QHMD49818FA1","yara-rule-authoring","Guides authoring of high-quality YARA-X detection rules for malware identification. Use when writing, reviewing, or optimizing YARA rules. Covers naming conventions, string selection, performance optimization, migration from legacy YARA, and false positive reduction. Triggers on: YARA, YARA-X, malware detection, threat hunting, IOC, signature, crx module, dex module.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fyara-rule-authoring\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":18},"01M75KQMPY8A4Y8XTDD2DT0M9T","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-twitter-growth\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":18},"01M75KQHNZ0ANZNJGZY6M8MDAK","x-api","X\u002FTwitter API integration for posting tweets, threads, reading timelines, search, and analytics. Covers OAuth auth patterns, rate limits, and platform-native content posting. Use when the user wants to interact with X programmatically.","https:\u002F\u002Fgithub.com\u002Fagisota\u002Fold-one\u002Fblob\u002Fmain\u002Fskills\u002Fx-api\u002FSKILL.md",[],[]]