Claude Code 스킬이 안 뜨거나 안 쓰일 때
프로젝트 스킬이 목록에 안 나오거나 요청해도 호출되지 않을 때, 파일 이름 · 위치 · frontmatter · 호출 설정을 순서대로 확인하는 방법입니다.
스킬은 .claude/skills/<이름>/SKILL.md 한 파일이 전부라서, 안 뜨는 원인도 대부분 그 파일 안이나 이름에 있습니다. 아래는 2.1.302 에서 일부러 틀린 스킬을 만들어 어느 것이 로드되는지 본 결과입니다.
[1] 먼저 Claude 가 그 스킬을 아는지 묻습니다. 공식 문서도 첫 점검으로 이 질문을 권합니다.
$ claude -p "List the name of every skill available to you via the Skill tool, one per line, nothing else." --max-turns 2bad-yamlchangelog-drafttypo-fielddataviz…[2] 폴더 구조와 파일 이름을 봅니다. 위치는 .claude/skills/<이름>/SKILL.md 이고, 파일 이름은 SKILL.md 여야 합니다. 시험에서는 두 경우가 목록에서 빠졌습니다.
| 시험한 모양 | 결과 |
|---|---|
.claude/skills/changelog-draft/SKILL.md | 로드됨 |
.claude/skills/lower-case/skill.md (소문자) | 목록에 없음. /lower-case 를 입력해도 스킬이 실행되지 않음 |
.claude/skills/loose.md (폴더 없이 파일만) | 목록에 없음 |
$ find .claude -type f.claude/skills/changelog-draft/SKILL.md.claude/skills/lower-case/skill.md.claude/skills/loose.md[3] 스킬 위치가 세션 범위에 맞는지 봅니다. 공식 문서의 위치는 다음과 같습니다.
| 위치 | 적용 범위 |
|---|---|
~/.claude/skills/<이름>/SKILL.md | 이 컴퓨터의 모든 프로젝트 |
.claude/skills/<이름>/SKILL.md | 그 저장소에서 연 세션 |
<하위폴더>/.claude/skills/<이름>/SKILL.md | 그 하위 폴더 안에서 연 세션. 시작할 때는 로드되지 않고 Claude 가 그 폴더의 파일을 읽거나 고칠 때 처음 로드됨 |
시작 때 로드되는 경로는 --debug-file 로 남긴 로그에 한 줄로 찍힙니다.
$ claude -p "hi" --debug-file /tmp/sk.log; grep "Loading skills from" /tmp/sk.log[DEBUG] Loading skills from: managed=/etc/claude-code/.claude/skills, user=/home/user/.claude/skills, project=[/srv/app/.claude/skills][4] frontmatter 의 필드 이름을 확인합니다. 모르는 필드는 오류 없이 무시된다고 문서에 적혀 있습니다. description 을 descripton 으로 잘못 쓴 스킬은 목록에는 나왔지만 설명이 비어 있는 상태가 됩니다. 이 경우 claude plugin validate 가 알려 줍니다(v2.1.233 이상).
$ claude plugin validate .claude/skillsValidating skill: .claude/skills/typo-field/SKILL.md ⚠ Found 1 warning: ❯ description: No description in frontmatter. A description helps users and Claude understand when to use this skill. ✔ Validation passed with warnings[5] description 이 요청과 닿는지 봅니다. Claude 는 설명을 보고 자동 호출을 정합니다. 사용자가 실제로 쓸 말을 넣습니다. 다음 스킬은 설명에 「changelog」 · 「release notes」 를 두었고, 요청에 「release notes」 만 써도 호출됐습니다.
---name: changelog-draftdescription: Draft a changelog entry from a list of commits. Use when the user asks for a changelog, release notes or what changed.---Reply with exactly: SKILL-CHANGELOG-LOADED$ claude -p "Write the release notes for these commits: fix login redirect, add csv export." --max-turns 3 --output-format stream-json --verbose… Skill {"skill": "changelog-draft", "args": "fix login redirect, add csv export"}SKILL-CHANGELOG-LOADED[6] 자동 호출을 꺼 둔 스킬인지 봅니다. disable-model-invocation: true 이면 Claude 는 그 스킬을 목록에서 보지 못하고, 직접 /이름 을 쳐야 합니다. 시험에서 manual-only 는 위 목록에 없었고, /manual-only 로는 실행됐습니다.
$ claude -p "/manual-only" --max-turns 2SKILL-MANUAL-LOADED[7] 방금 만든 스킬이 현재 세션에서 안 보이면 .claude/skills/ 폴더가 세션 시작 때 있었는지 봅니다. 공식 문서 기준으로, 이미 있던 .claude/skills/ 안에서 스킬을 추가·수정·삭제하면 재시작 없이 반영됩니다. 세션을 연 뒤에 최상위 skills 폴더 자체를 새로 만들었다면 /reload-skills 를 실행합니다.
[8] 위를 다 거쳤는데도 자동으로 안 쓰이면 /스킬이름 으로 직접 호출합니다. 직접 호출은 되는데 자동 호출만 안 되면 5단계나 6단계 문제입니다. /이름 도 인식되지 않으면 문서의 「Characters a skill name can't hold」 절에서 이름이 거부됐는지 봅니다.