
The Claude Code unknown skill error means Claude Code never loaded the skill you or Claude asked for. When Claude calls a skill that isn’t loaded, the Skill tool answers Unknown skill: name. When you type the name yourself in the terminal, you get Unknown command: /name instead.
Either way, the skill is missing from the session, not broken while running.
The cause is almost always the file layout or the name. A skill must live in its own folder as .claude/skills/<name>/SKILL.md, the folder name can’t hold hidden characters or a reserved word, and a plugin skill needs its plugin prefix, such as /my-plugin:review. Run /skills to see what actually loaded, then fix the one that’s missing.
We built a demo project with eight skills that were broken on purpose and recorded every message Claude Code showed. This guide walks through each cause, the exact text you’ll see and the fix that made the skill load.
Browse all our Claude Code tutorials for more fixes and how-tos.
Tested with Claude Code v2.1.332 on macOS on December 3, 2026. All skills lived in a throwaway sandbox project and a small local plugin, so nothing in our real setup changed. Items marked as coming from the docs follow Anthropic’s official skills documentation.
Quick Summary: Claude Code Unknown Skill Causes and Fixes
Find your symptom in the first column. The first seven rows are cases we reproduced, so the wording is exactly what v2.1.332 printed.
| What you see | Likely cause | Fix | How we checked it |
|---|---|---|---|
Unknown skill: changelog from the Skill tool | The skill isn’t loaded in this session | Find it in /skills, fix the cause below | Tested in the terminal |
Unknown command: /tidy-imports | Folder named .claude/skill (singular) | Move it to .claude/skills/ | Tested in the terminal |
Unknown command: /changelog | File not named SKILL.md | Rename the file to SKILL.md | Tested in the terminal |
Unknown command: /summary | Loose summary.md with no folder | Put it in summary/SKILL.md | Tested in the terminal |
1 skill or command name refused | Hidden character in the folder name | Rename the folder, then restart | Tested in the terminal |
| Skill missing, debug log says the name is reserved | Folder named anthropic-skills | Pick another name | Tested in the terminal |
This skill can only be invoked by Claude | user-invocable: false is set | Ask Claude to use it, or remove the line | Tested in the terminal |
| Plugin skill not found by its short name | Plugin skills are namespaced | Type /plugin-name:skill-name | Tested in the terminal |
| Skill not found in a cloud scheduled task | The skill exists only in ~/.claude/skills/ | Commit it to the repo or enable it on claude.ai | From the official docs |
What the “Unknown Skill” Error Means in Claude Code
A skill is a folder with a SKILL.md file that gives Claude a reusable set of instructions. You can run it yourself with /name, or Claude can load it on its own through the Skill tool when your request matches its description. If you’re new to them, our guide to Claude Code skills covers the basics.
Claude Code builds its list of skills when a session starts, and it watches the skill folders for changes after that. A name that isn’t in that list gets one of two answers. Claude’s call to the Skill tool fails with Unknown skill, and your typed command fails with Unknown command.
So the error is never about what is inside your instructions. It is about whether Claude Code found and accepted the skill in the first place.

If a skill is missing from /skills, Claude Code never loaded it. Fix the file or the name, not the instructions.
How We Reproduced the Claude Code Unknown Skill Error
We made a small project with a notes.txt file and a mix of good and broken skills. One skill, release-notes, was set up correctly as a control. The others each had one mistake that people often make.
.claude/skill/tidy-imports/SKILL.md, with the folder spelled without the “s”.claude/skills/changelog/changelog.md, with the wrong file name.claude/skills/summary.md, a loose file with no skill folder- A
wordcountfolder with a zero-width space hidden in its name - A folder named
anthropic-skills, which Claude Code reserves style-guide, withuser-invocable: falsein its frontmatterweekly-report, with frontmatter YAML that doesn’t parse- A local plugin called
demo-toolswith areviewskill
We started Claude Code with --setting-sources project and loaded the plugin with --plugin-dir, so only the demo’s skills showed up. Then we typed each command, opened /skills and asked Claude to call a missing skill.

The /skills menu is the fastest check you have. Anything missing from it will give you an unknown skill or unknown command error, no matter how you call it.
Fix 1: Put SKILL.md in Its Own Folder Under .claude/skills
Three of our broken skills failed for the same reason: Claude Code only looks for a file named SKILL.md inside a folder under skills. Typing their names gave plain unknown command messages, with no hint about the file.

Here are the places a skill loads from, according to the official skills documentation:
| Location | Path | Command you type |
|---|---|---|
| Project | .claude/skills/<name>/SKILL.md | /name |
| Personal | ~/.claude/skills/<name>/SKILL.md | /name |
| Nested folder | <subdir>/.claude/skills/<name>/SKILL.md | /name, or /subdir:name on a clash |
| Plugin | <plugin>/skills/<name>/SKILL.md | /plugin-name:name |
| Older command file | .claude/commands/<name>.md | /name |
A quick find shows you the real paths, which is often where the typo jumps out. We fixed ours by moving the folder to .claude/skills/tidy-imports/, renaming changelog.md to SKILL.md and putting summary.md into summary/SKILL.md.
find .claude -name '*.md'
mv .claude/skill/tidy-imports .claude/skills/
mv .claude/skills/changelog/changelog.md .claude/skills/changelog/SKILL.md
mkdir .claude/skills/summary
mv .claude/skills/summary.md .claude/skills/summary/SKILL.md
The old .claude/commands/ folder still works for single-file commands, but it is a different format. If that’s what you’re using, our guide to fixing a custom slash command covers it.
Fix 2: Rename a Folder Claude Code Refused
Our wordcount folder looked normal in Finder, but it held an invisible zero-width space. Claude Code refused the name and showed this startup notice:
1 skill or command name refused: run with --debug to see which ([names]), rename, then restartThe notice doesn’t say which skill it means. To find out, start Claude Code with a debug log and search it for [names], as the official error reference suggests. The log spells hidden characters out as codes, so you can see exactly where the problem is.
claude --debug-file debug.log
grep '\[names\]' debug.log
The docs list what a name can’t hold: zero-width spaces and control characters, private-use characters such as icon-font glyphs, characters that flip text direction, odd blanks like a no-break space or two spaces in a row, and < or >. Names over 256 characters are refused too. We renamed the folder to word-count and restarted, and the notice went away.
These characters usually sneak in when you copy a name from a web page, a chat app or a PDF. Typing the folder name by hand is the simplest way to avoid them.
Reserved Skill Names
Claude Code also skips some names on purpose. Our anthropic-skills folder didn’t load, and the debug log said the name is reserved for skills synced from your claude.ai account.
The docs describe a startup notice that starts with Not loaded: rename for this case. In our run, the only notice on screen was the refused-name one, so check the debug log if you don’t see it.
anthropic-skills, or anything starting withanthropic-skills:, never loads outside a pluginsynced, in any capitalization, is skipped as a skill folder (from the docs)- Your own
ship,ship-localorstewardskill doesn’t load where the bundled/shipis available (from the docs)
Fix 3: Use the Plugin Prefix for Plugin Skills
Skills that come from a plugin are namespaced. Our plugin’s review skill ran as /demo-tools:review, not /review. When we typed /review, the menu offered the bundled code review command first, because that name was already taken.

If a plugin skill gives an unknown skill error, check these three things:
- Type the full name,
/plugin-name:skill-name. Start typing the plugin name and the menu will suggest it. - Make sure the plugin is installed and enabled in
/plugin. A disabled plugin’s skills don’t load, as our guide on how to disable a plugin explains. - Run
/reload-pluginsafter you change a plugin, or restart Claude Code.
If the plugin itself won’t install, see our fix for plugin not found errors. Our plugins guide covers how they’re built.
Fix 4: Check Who Is Allowed to Run the Skill
Sometimes the skill loads fine but you can’t run it the way you’re trying to. Two frontmatter fields control this, and both can look like a missing skill.
Our style-guide skill set user-invocable: false. Typing /style-guide gave this reply:
This skill can only be invoked by Claude, not directly by users. Ask Claude to use the "style-guide" skill for you.That’s expected behavior. Either ask Claude to use the skill in plain words, or remove the line if you want to run it yourself.
The opposite field, disable-model-invocation: true, stops Claude from running a skill on its own. According to the docs, Claude Code blocks Claude’s call unless your message includes /name as a separate word. Remove that line if you want Claude to pick the skill up automatically.
| Setting | You can run it | Claude can run it |
|---|---|---|
| No setting (default) | Yes | Yes |
user-invocable: false | No | Yes |
disable-model-invocation: true | Yes | Only when you name it |
skillOverrides set to "off" | No | No |
The skillOverrides setting hides skills from your settings file instead of the skill itself. The docs say a skill set to "off" returns a skillOverrides error if you call it by name. A deny rule such as Skill(deploy) in your permissions blocks a skill in a similar way.
Fix 5: Validate Broken Frontmatter
Bad YAML doesn’t stop a skill from loading. Our weekly-report skill had an unquoted colon in its description, and it still showed up in /skills. The catch is that every frontmatter field gets dropped, so Claude can’t match your description and settings like name stop working.
Claude Code has a built-in check for this. The docs say it needs v2.1.233 or later.
claude plugin validate .claude/skills
We fixed it by putting the description in quotes, and the next run printed Validation passed. Check these details too:
- The opening
---must be the very first line of the file, or Claude Code treats the whole file as plain text. - Field names must match exactly, hyphens included. Claude Code ignores a field it doesn’t recognize without any warning.
- Run
claude plugin validate ~/.claude/skillsto check your personal skills.
Our SKILL.md format guide explains every field with examples.
Other Reasons a Skill Is Unknown
These cases come from the official docs. We didn’t reproduce them, but they explain most of the remaining reports.
The Skill Is in a Subfolder
Skills in a .claude/skills/ folder below where you started Claude Code don’t load at startup. They load the first time Claude reads or edits a file in that subfolder. To load them sooner, run /add-dir with the subfolder’s path, or start Claude Code there.
You Just Created the Skill
Claude Code watches skill folders and picks up new skills during a session. If a new one still doesn’t appear, run /reload-skills. After renaming a folder to fix a refused name, restart the session.
It Runs in a Cloud Session or Scheduled Task
Cowork sessions, cloud sessions and cloud scheduled tasks don’t read ~/.claude/skills/ on your computer. A skill that lives only there is reported as not found. Commit it to the repository’s .claude/skills/ folder or enable it for your claude.ai account.
Two Skills Share a Name
When a personal and a project skill share a name, the personal one wins, and an enterprise skill beats both. A skill also replaces a bundled skill with the same name. If /name runs the wrong thing, rename one of them.
Your Personal Skills Disappeared
The docs say older versions could move personal skill folders into ~/.claude/skills/.trash/. Look there and move the folder back if you find it.
Confirm the Fix in /skills
After all five fixes, we restarted Claude Code. The startup notice was gone and /skills listed all 9 skills, including the plugin one.

Then we ran the skill that used to be a loose file. It read notes.txt and replied with a one-line summary, just as its instructions asked.


Try It Yourself
Make a throwaway folder, add one working skill and one broken one, and watch the difference in /skills. This takes two minutes and shows you what a healthy layout looks like.
mkdir -p skill-test/.claude/skills/hello skill-test/.claude/skill/broken
cd skill-test
printf -- '---\ndescription: Says hello.\n---\n\nSay hello in one line.\n' > .claude/skills/hello/SKILL.md
cp .claude/skills/hello/SKILL.md .claude/skill/broken/SKILL.md
claudeInside Claude Code, run /skills, then try /hello and /broken. You can also paste this prompt to see the Skill tool error for yourself:
Use the Skill tool to invoke the skill named broken, spelled exactly like that. Then quote the exact tool result.Common Mistakes
- Naming the folder
.claude/skillinstead of.claude/skills. - Calling the file
skill.md,README.mdor the skill’s own name instead ofSKILL.md. - Dropping a single
.mdfile straight intoskills/with no folder. - Typing a plugin skill’s short name instead of
/plugin-name:skill-name. - Copying a skill name from a web page and bringing a hidden character with it.
- Expecting a personal skill to show up in a cloud session or scheduled task.
Pro Tips
- Check
/skillsfirst. It answers “did it load?” in one second. - Keep folder names short, lowercase and hyphenated, like
release-notes. - Run
claude plugin validate .claude/skillsbefore you commit skills for your team. - Keep a debug log handy with
claude --debug-file debug.logwhen a skill acts up. - If a skill loads but Claude never picks it up, that’s a different problem. Our guide to a skill not triggering covers descriptions and matching.
- For other messages, see our list of common Claude Code errors.
Cheat Sheet

Frequently Asked Questions
What does “Unknown skill” mean in Claude Code?
It means Claude tried to call a skill through the Skill tool, but that skill isn’t loaded in the session. The skill’s file is missing, in the wrong place, refused because of its name, or from a plugin that isn’t enabled. Run /skills to see what loaded.
Why does my skill say “Unknown command” when I type it?
In an interactive terminal session, any /name that doesn’t match a loaded command or skill gives Unknown command. For skills, check that the file is .claude/skills/<name>/SKILL.md and that you used the plugin prefix for plugin skills.
Do I need to restart Claude Code after adding a skill?
Usually not. Claude Code watches skill folders and picks up new skills during a session. If one doesn’t show up, run /reload-skills, and restart after renaming a folder that Claude Code refused.
Does a YAML error stop a skill from loading?
No. In our test the skill still loaded, but with all its frontmatter fields dropped. Run claude plugin validate .claude/skills to find the broken file.
Can I run a skill that has user-invocable set to false?
Not by typing its name. Claude Code tells you to ask Claude to use it instead. Remove the line if you want to run it yourself.
You can read more about the model behind it on our Claude AI page.
Conclusion
The Claude Code unknown skill error almost always comes from a skill that never loaded, so start with /skills and look for what’s missing. Put each skill in its own folder as SKILL.md under .claude/skills/, rename any folder Claude Code refused or reserves, use /plugin-name:skill-name for plugin skills, and check user-invocable and disable-model-invocation when the skill loads but won’t run. Run claude plugin validate to catch broken frontmatter, and keep a debug log for the rare cases the startup notice doesn’t explain.


