본문으로 건너뛰기
Skillpedia
에이전트41k · #7012

omc-doctor

하는 일

이 스킬은 oh-my-claudecode가 Claude Code에 올바르게 설치되었는지 확인하고, 흔한 문제를 고칩니다. Claude Code 추가 기능이 기대대로 작동하지 않는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓oh-my-claudecode 추가 기능이 작동하지 않거나 이상하게 행동할 때.
  • ✓추가 기능이 오래되었다고 의심될 때.
  • ✓예전 설정이나 충돌하는 설정이 문제를 일으킬 수 있을 때.

스킬 링크

https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/omc-doctor/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/Yeachan-Heo/oh-my-claudecode/blob/main/skills/omc-doctor/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“업데이트 후 oh-my-claudecode 설정이 고장난 것 같습니다. 진단을 실행하고 찾은 것을 고쳐 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 설치된 버전과 사용할 수 있는 최신 버전을 비교하고, 설정 파일에서 오래된 훅을 찾으며, 각 문제를 심각도와 함께 보고합니다. 그다음 고칠 수 있는 문제를 고칩니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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.sh
  • bash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/persistent-mode.sh
  • bash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/session-start.sh
  • bash ${CLAUDE_CONFIG_DIR:-$HOME/.claude}/hooks/stop-continuation.sh
  • bash ${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

자주 묻는 질문

먼저 무엇을 확인하나요?

설치된 플러그인 버전을 사용할 수 있는 최신 버전과 비교합니다.

설정을 바꿀 수 있나요?

네. 문제가 발견되면 설정을 고칠 수 있으며, 바꾼 내용을 보고합니다.

플러그인이 설치되어 있지 않으면 어떻게 하나요?

스킬은 그것을 치명적인 문제로 표시하고 설치를 돕습니다.

상세 정보

작성자의 원본 설명

Diagnose and fix oh-my-claudecode installation issues

repo: Yeachan-Heo/oh-my-claudecode

인기도

GitHub 스타
41k
순위
#7012
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬