omc-doctor
Fungsinya
Skill ini memeriksa bahwa oh-my-claudecode terpasang dengan benar di Claude Code dan memperbaiki masalah umum. Skill ini untuk orang yang add-on Claude Code-nya tidak bekerja seperti yang diharapkan.
Kapan dipakai
- ✓Saat add-on oh-my-claudecode tidak berfungsi atau berperilaku aneh.
- ✓Saat Anda curiga add-on itu sudah usang.
- ✓Saat pengaturan lama atau yang saling bertentangan mungkin menjadi penyebab masalah.
Link skill
https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/omc-doctor/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Penyiapan oh-my-claudecode saya tampaknya rusak setelah pembaruan. Bisakah Anda menjalankan diagnosis dan memperbaiki yang ditemukan?”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent membandingkan versi yang terpasang dengan versi terbaru, mencari hook lama di file pengaturan Anda, dan melaporkan setiap masalah beserta tingkat keparahannya. Setelah itu agent memperbaiki masalah yang bisa diperbaikinya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Doctor Skill
Note: All ~/.claude/... paths in this guide respect CLAUDE_CONFIG_DIR when that environment variable is set.
Task: Run Installation Diagnostics
You are the OMC Doctor - diagnose and fix installation issues.
Step 1: Check Plugin Version
# Get installed and latest versions (cross-platform)
node -e "const p=require('path'),f=require('fs'),h=require('os').homedir(),d=process.env.CLAUDE_CONFIG_DIR||p.join(h,'.claude'),b=p.join(d,'plugins','cache','omc','oh-my-claudecode');try{const v=f.readdirSync(b).filter(x=>/^\d/.test(x)).sort((a,c)=>a.localeCompare(c,void 0,{numeric:true}));console.log('Installed:',v.length?v[v.length-1]:'(none)')}catch{console.log('Installed: (none)')}"
npm view oh-my-claude-sisyphus version 2>/dev/null || echo "Latest: (unavailable)"
Diagnosis:
- If no version installed: CRITICAL - plugin not installed
- If INSTALLED != LATEST: WARN - outdated plugin
- If multiple versions exist: WARN - stale cache
Step 2: Check for Legacy Hooks in settings files
Read the profile-level ${CLAUDE_CONFIG_DIR:-~/.claude}/settings.json and the primary working directory's .claude/settings.json, then resolve every project-local settings file Claude Code may read before checking hooks. In a normal checkout, inspect the repository-root .claude/settings.local.json. In a linked Git worktree, inspect the main checkout root's .claude/settings.local.json, not just the linked worktree's file; identify the main checkout with git worktree list --porcelain. On Windows, and whenever Claude Code keeps the local file beside the shared .claude/settings.json, inspect .claude/settings.local.json beside that shared settings file, including in a worktree. Also inspect any starting-directory .claude/settings.local.json left by Claude Code versions before 2.1.211; Claude Code can still read it alongside the root file. Deduplicate identical paths. If the main checkout root or any applicable local settings file cannot be resolved or read, treat settings and script references as inconclusive and do not remove hooks or scripts. Check whether any applicable file has a "hooks" key with entries like:
bash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/keyword-detector.shbash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/persistent-mode.shbash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/session-start.shbash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/stop-continuation.shbash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/silent-auto-update.sh
Also recognize standalone Node hook registrations under the active config directory's hooks/ folder: .mjs files named keyword-detector, persistent-mode, session-start, session-end, pre-tool-use, post-tool-use, post-tool-use-failure, code-simplifier, or stop-continuation. For the historical keyword-detector, persistent-mode, session-start, and stop-continuation basenames, .cjs and .js variants are legacy too. For example, node "${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/keyword-detector.mjs" is a legacy registration. On Windows, recognize paths such as node "%USERPROFILE%\.claude\hooks\keyword-detector.mjs" and %CLAUDE_CONFIG_DIR%\hooks\<filename> (or their expanded absolute equivalents) with backslash separators as the same active config directory. Match only exact listed filenames invoked with node from that directory; do not match plugin-root commands or similarly named scripts in other directories.
A command is an auto-fix candidate only when it is a plain direct invocation of exactly one listed file: bash <exact .sh path>, node <exact Node path>, or the exact executable script path alone when the target has execute permission (for example, $HOME/.claude/hooks/keyword-detector.sh). No form may include extra arguments, shell operators, or other commands. If a command merely mentions the path, adds custom behavior (for example, bash legacy.sh && run-my-check), or cannot be parsed unambiguously, report it for manual cleanup and leave the hook object unchanged.
Before diagnosing a standalone registration as a duplicate, resolve plugin enablement with the runtime's precedence: managed and command-line settings first (read-only), then every applicable project-local settings file resolved above, then the primary working directory's ./.claude/settings.json, then ${CLAUDE_CONFIG_DIR:-~/.claude}/settings.json. Include the main-checkout, Windows side-by-side, and legacy starting-directory
Pertanyaan umum
Apa yang diperiksa pertama kali?
Versi plugin yang terpasang, dibandingkan dengan versi terbaru yang tersedia.
Apakah ia bisa mengubah pengaturan saya?
Ya, ia bisa memperbaiki pengaturan saat masalah ditemukan, dan melaporkan apa yang diubahnya.
Bagaimana jika plugin belum terpasang?
Skill ini menandai itu sebagai masalah kritis dan membantu Anda memasangnya.
Detail
Deskripsi asli dari pembuat
Diagnose and fix oh-my-claudecode installation issues
Popularitas
- Bintang GitHub
- 41k
- Peringkat
- #7012
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- …
Skill lain dari repositori ini
agent-doc-discipline
41kMengajari agent Anda menulis instruksi yang bisa diikuti agent AI lain tanpa bantuan, dengan aturan yang bisa diperiksa dan alasan yang jelas di balik setiap aturan.
ai-slop-cleaner
41kMembantu agent Anda merapikan kode yang ditulis AI, yang berfungsi tetapi membengkak atau berulang, dengan menghapus kode berlebih tanpa mengubah perilakunya.
architecture-survey
41kMembantu agent Anda meninjau struktur basis kode dan mendaftar bagian yang makin sulit diubah, dengan bukti, tanpa mengubah apa pun sendiri.
ask-navigator
41kMembantu agent Anda mengubah proyek yang masih samar menjadi peta pertanyaan keputusan yang jelas, lalu menjawabnya satu per satu sampai jalurnya terang.
Skill serupa
add-model-provider
394kMemungkinkan agent Anda menghubungkan penyedia model AI baru ke OpenClaw dengan perintah pengaturan yang aman, menjaga kunci API tetap di luar teks biasa, dan menjalankan uji langsung.
acp-router
394kMembantu agent Anda mengirim tugas ke asisten pemrograman seperti Claude Code atau Cursor lewat OpenClaw, sehingga pekerjaan dijalankan di alat tersebut.
browser-automation
394kMengajari agent Anda mengendalikan halaman web langkah demi langkah, termasuk login, tab, dan pemulihan saat halaman berhenti merespons.