Claude Code “Unknown Skill” Error: Why a Skill Won’t Load

Claude Code “Unknown Skill” Error: Why a Skill Won’t Load

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 seeLikely causeFixHow we checked it
Unknown skill: changelog from the Skill toolThe skill isn’t loaded in this sessionFind it in /skills, fix the cause belowTested in the terminal
Unknown command: /tidy-importsFolder named .claude/skill (singular)Move it to .claude/skills/Tested in the terminal
Unknown command: /changelogFile not named SKILL.mdRename the file to SKILL.mdTested in the terminal
Unknown command: /summaryLoose summary.md with no folderPut it in summary/SKILL.mdTested in the terminal
1 skill or command name refusedHidden character in the folder nameRename the folder, then restartTested in the terminal
Skill missing, debug log says the name is reservedFolder named anthropic-skillsPick another nameTested in the terminal
This skill can only be invoked by Claudeuser-invocable: false is setAsk Claude to use it, or remove the lineTested in the terminal
Plugin skill not found by its short namePlugin skills are namespacedType /plugin-name:skill-nameTested in the terminal
Skill not found in a cloud scheduled taskThe skill exists only in ~/.claude/skills/Commit it to the repo or enable it on claude.aiFrom 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.

Claude Code terminal where the Skill tool call for changelog fails with Error: Unknown skill: changelog
We asked Claude to call a skill that never loaded, and the Skill tool returned “Unknown skill”.

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 wordcount folder with a zero-width space hidden in its name
  • A folder named anthropic-skills, which Claude Code reserves
  • style-guide, with user-invocable: false in its frontmatter
  • weekly-report, with frontmatter YAML that doesn’t parse
  • A local plugin called demo-tools with a review skill

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.

Claude Code /skills menu listing only four skills: demo-tools:review, release-notes, style-guide and weekly-report
Before the fixes, /skills listed only 4 skills, so the other five never loaded.

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.

Claude Code showing Unknown command for tidy-imports, changelog and summary, the user-invocable message for style-guide and a startup notice that one name was refused
Three layout mistakes give “Unknown command”, while a refused name shows a notice at the bottom.

Here are the places a skill loads from, according to the official skills documentation:

LocationPathCommand 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
Diagram comparing skill paths that load in Claude Code with paths that do not load, such as a singular skill folder or a file not named SKILL.md
One folder per skill, and the file inside must be 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 restart

The 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
Terminal listing the demo skill files with find and a debug log line saying word\u{200B}count is not offered
find shows the real file paths, and the debug log names the refused folder with its hidden character.

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 with anthropic-skills:, never loads outside a plugin
  • synced, in any capitalization, is skipped as a skill folder (from the docs)
  • Your own ship, ship-local or steward skill doesn’t load where the bundled /ship is 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.

Claude Code command menu after typing /review, showing /code-review first and the plugin skill listed as /demo-tools:review
The plugin’s skill appears as /demo-tools:review, and the bare /review belongs to another command.

If a plugin skill gives an unknown skill error, check these three things:

  1. Type the full name, /plugin-name:skill-name. Start typing the plugin name and the menu will suggest it.
  2. 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.
  3. Run /reload-plugins after 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.

SettingYou can run itClaude can run it
No setting (default)YesYes
user-invocable: falseNoYes
disable-model-invocation: trueYesOnly when you name it
skillOverrides set to "off"NoNo

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
Output of claude plugin validate .claude/skills reporting that the weekly-report SKILL.md frontmatter failed to parse
claude plugin validate found the skill whose frontmatter fails to parse.

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/skills to 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.

Claude Code /skills menu after the fixes listing nine skills including changelog, summary, tidy-imports and word-count
After the fixes, all 9 skills loaded.

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.

Claude Code running /summary notes.txt and replying with a one-line summary of the file
/summary works now that it lives in summary/SKILL.md.
Decision ladder for a Claude Code skill that won't load: check the path, rename refused folders, use the plugin prefix, check user-invocable, then validate the frontmatter
Work down the ladder, and the first Yes is usually your fix.

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
claude

Inside 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/skill instead of .claude/skills.
  • Calling the file skill.md, README.md or the skill’s own name instead of SKILL.md.
  • Dropping a single .md file straight into skills/ 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 /skills first. It answers “did it load?” in one second.
  • Keep folder names short, lowercase and hyphenated, like release-notes.
  • Run claude plugin validate .claude/skills before you commit skills for your team.
  • Keep a debug log handy with claude --debug-file debug.log when 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

Cheat sheet with commands to check which Claude Code skills loaded and the fixes for skills that won't load
Checks and fixes for a skill that won’t load, on one card.

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.

Newsletter

New AI tools in your inbox

The best new tools and the AI news that matters, in one short email. Unsubscribe any time.

Free · No spam · Unsubscribe any time

✓ Looks like you’re subscribed

Loading Google’s sign-up form…

Looks like you’re already subscribed

Thanks for reading! New AI tools and the AI news that matters will land in your inbox.

Not subscribed yet? Refresh the page to load the sign-up form.

The sign-up form couldn’t load. If you use an ad or content blocker, allow news.google.com and reload the page.

Free instant check before you pay. Takes a few seconds.

Scroll to Top