Fix a Claude Skill That Won't Load
Fix a Claude skill that won't load by checking structure before behavior. The client is usually not ignoring a good skill; the folder is in the wrong place, the SKILL.md file is invalid, the description does not match the request, or the session has not noticed a new directory. Work through those layers in order and leave the instruction body for last.
Fix a Claude Skill That Won't Load by Checking the Path
The client scans personal skills in ~/.claude/skills/<skill-name>/SKILL.md, project skills in .claude/skills/<skill-name>/SKILL.md, nested .claude/skills/ folders under the files you are editing, and plugin skill folders. A skill placed one level too deep is the most common miss. Anthropic's README says each skill is “self-contained in its own folder with a SKILL.md file containing the instructions and metadata that Claude uses,” so the folder shape is part of the contract.
~/.claude/skills/pdf/SKILL.md correct
~/.claude/skills/pdf.md wrong: no skill folder
~/.claude/skills/pdf/pdf/SKILL.md wrong: extra nested folder
Check with absolute paths, because a relative path depends on where you started the client. If you copied an archive, look for the duplicate folder that appears when the archive was extracted one level too deep. Neither client treats the outer folder as a skill when the inner folder is the real skill.
Project skills have the same rule. If the repository root contains .claude/skills/release-notes/SKILL.md, a session started in that repository can see it. A session started in a parent directory may not, depending on which repository scope is active.
Why Does the Folder Name Matter?
The Agent Skills specification requires the name field to match the parent directory name, use lowercase letters, numbers and hyphens, and avoid leading, trailing or consecutive hyphens. A folder called PDF_Skill with name: pdf fails that rule even if the instructions are perfect.
Open the file and check the first lines:
head -20 ~/.claude/skills/pdf/SKILL.md
A valid entry starts with ---, contains name and description, and closes the block with another ---. An unquoted colon inside the description, a tab used for indentation, or a missing closing marker makes the block unreadable. Run the reference validator to catch those errors:
skills-ref validate ./pdf
The validator also catches naming mistakes, which makes it a better first check than asking the model why a skill is missing.
Duplicate names are the next trap. Claude Code resolves collisions by precedence: enterprise over personal, and personal over project. If a higher-precedence copy exists, the folder you edited may be shadowed. Plugin skills use a plugin-name:skill-name namespace, so they should not collide with personal or project skills, but a leftover plugin can still provide a copy you forgot about.
Restart and Scope Rules for Claude Code
Claude Code watches ~/.claude/skills/, the project .claude/skills/, and .claude/skills/ inside directories added with --add-dir. Edits, additions and deletions in those watched directories take effect in the current session. That is why a small fix often appears without a restart.
The exception is a new top-level skills directory. If ~/.claude/skills/ did not exist when the session started, Claude Code has nothing to watch until it restarts. Create the directory, add the skill, then restart the client. Opening another window is not the same as restarting; exit the client completely so it rescans its skill locations.
Scope also affects what you see. A personal skill follows you across projects, a project skill only appears in that repository, and a plugin skill only appears while the plugin is enabled. If a skill works in one repository and not another, compare the scope before editing the file.
A quick scope check:
- Personal:
~/.claude/skills/ - Project:
.claude/skills/ - Plugin: plugin directory with a namespace
Nested discovery adds one more case. When you edit a file under packages/frontend/, Claude Code also looks for packages/frontend/.claude/skills/. A monorepo skill placed in the wrong package will not load for work in another package.
When the Description Never Matches
A skill can be valid and still never load because the description does not match the task. Claude Code keeps descriptions in the listing and truncates the combined description and invocation text at 1,536 characters. Put the task and the trigger words in the first sentence.
Check the frontmatter flags too. disable-model-invocation: true makes a skill manual-only, so it will not load automatically. user-invocable: false hides it from the slash menu while still allowing Claude to load it as background knowledge. A skill with both behaviors can look broken when it is behaving as configured.
The paths field can also explain a selective failure. When set, the skill activates automatically only while you work with files that match those globs. A skill that works in one package and not another may be scoped by paths rather than by installation.
Test with two prompts: one that should match and one that should not. If both match, the description is too broad. If neither matches, it is too abstract or the skill is disabled for automatic invocation. Read only the first 120 characters; if that fragment does not name the task and object, the rest is unlikely to rescue the match.
How Do You Isolate a Failing Skill?
Strip the skill to the smallest possible form and see whether it loads:
---
name: minimal-check
description: Answers questions about the word pomegranate. Use when the user mentions pomegranate.
---
Reply with one sentence about pomegranates.
Place the folder in a watched skills directory, restart if the top-level directory is new, and invoke it directly with /minimal-check or a matching request. If the minimal skill loads, the problem is in the original frontmatter, description or body. If it does not, the problem is the path or the client's skill loading.
Add the body back in sections, then the scripts and references. This narrows the failure to a specific change instead of rewriting the whole skill. Keep the minimal skill around as a smoke test after client upgrades; it separates a broken client from a broken skill in one step.
For the folder layout, see how to create a Claude skill step by step. For the flags that suppress automatic loading, see how to use a Claude skill and control which skills load. For the install side, see how to install a Claude skill from GitHub.
FAQ
Check the folder path, the name field, the description and the session restart rules in that order. A valid skill in the wrong scope or a new top-level directory can look exactly like a broken skill.
Not always. It watches personal and project skills directories that existed at session start, so edits and additions inside them take effect live. Creating a new top-level skills directory still requires a restart.
The skill may be hidden from automatic invocation with disable-model-invocation: true, its description may be truncated in the listing, or a higher-precedence copy with the same name may be shadowing it.
Create one folder with a SKILL.md that has a name, a description and one instruction, place it in a watched skills directory, then invoke it directly before adding scripts or references.
Related Terms
- Frontmatter
- The YAML block between --- markers at the top of SKILL.md that declares metadata such as name and description.— Agent Skills specification
- Skill precedence
- The rule that decides which copy wins when skills share a name across enterprise, personal and project scopes.— Anthropic Claude Code documentation
- User-invocable
- A Claude Code frontmatter flag; when false, the skill is hidden from the slash menu but can still be loaded by Claude.— Anthropic Claude Code documentation
- Live change detection
- Claude Code's behavior of watching skill directories so additions and edits take effect within the current session.— Anthropic Claude Code documentation
Sources
- Extend Claude with skills· Anthropic
- Agent Skills specification· Agent Skills
- anthropics/skills README· Anthropic
- Agent Skills in Codex· OpenAI