Discovery Paths
Skills are discovered from three locations in order of precedence:Project Skills
Path:
.claude/skills/*/SKILL.mdScope: Current project onlyUse for: Project-specific patterns, conventions, and workflowsExample: .claude/skills/api-conventions/SKILL.mdUser Skills
Path:
~/.claude/skills/*/SKILL.mdScope: All projects for this userUse for: Personal coding patterns, language-specific knowledge, tool configurationsExample: ~/.claude/skills/typescript-patterns/SKILL.mdNaming Convention
The skill name comes from the directory name, not the file name.
Precedence Rules
When multiple skills have the same name:- Project → Overrides user and plugin skills
- User → Overrides plugin skills
- Plugin → Lowest priority
Example: Overriding Plugin Skills
Example: Overriding Plugin Skills
Plugin skill: User skill: Project skill: Result: When you run
~/.claude/plugins/pro-workflow/skills/wrap-up/SKILL.md~/.claude/skills/wrap-up/SKILL.md.claude/skills/wrap-up/SKILL.md/wrap-up, the project skill is used.Discovery Process
Discovery Filters
User-Invocable
Only skills withuser-invocable: true appear in the / menu:
Model Invocation
Skills withdisable-model-invocation: true can only be invoked by users:
Verification
Check which skills are discovered:Common Issues
Skill not found
Skill not found
Problem:
/my-skill returns “Skill not found”Solutions:- Check file is named
SKILL.md(case-sensitive) - Check directory structure:
skills/my-skill/SKILL.md - Verify frontmatter has
name: my-skill - Restart Claude Code to re-scan skills
Wrong skill loaded
Wrong skill loaded
Problem: Modified skill but old version still runsSolutions:
- Check precedence: project > user > plugin
- Find all instances:
- Remove or rename conflicting skills
- Restart Claude Code
Skill not in / menu
Skill not in / menu
Directory Structure
Best practices for organizing skills:- Flat Structure
- Categorized
- With Resources
Plugin Skills
Plugins ship skills in theirskills/ directory:
Dynamic Discovery
Skills can be added at runtime:Skills are scanned at startup. Add new skills, then restart Claude Code.
Best Practices
Unique Names
Skill names must be unique across all locations. Use descriptive, specific names.
Follow Convention
Use
skills/<name>/SKILL.md structure. Don’t deviate.Test Discovery
After adding skills, verify they appear in
/ menu.Document Location
In skill description, note if it’s project-specific or user-wide.
Next Steps
Skill Frontmatter
Configure skill metadata
Skill Preloading
Load skills into agents
Agent Skills
Preload skills into agent context
Creating Skills
Build custom skills