✻Founding-member pricing: every lesson for $19/mo. The first 3 lessons are free. Start lesson 1 →
Unit 4 · Agent Skills · Lesson 21 of 40

Sharing & Troubleshooting Skills

Share Claude Code skills with your team through the repo, plugins or managed settings, and fix skills that don't trigger, conflict or fail.

ACADEMY10 min+70 XP4-question quiz

🎯 By the end of this lesson you'll be able to

  • Share skills via repo, plugin or organization
  • Diagnose a skill that never triggers
  • Resolve name conflicts and priority
  • Use debug tools and evals to improve skills

Three ways to share

MethodHowBest for
Commit to the repo.claude/skills/<name>/ in version controlProject-specific workflows
Package as a pluginPut skills in a plugin and publish it to a marketplaceReusing across many repos and teams
Managed settingsAdmins deploy skills through enterprise configurationOrg-wide standards

Plugin skills are namespaced, so /acme-tools:deploy won't collide with another plugin's /deploy.

Troubleshooting: "my skill never triggers"

Work through these in order:

  1. Is it found? Type / and look for it in the menu. If it's missing, check the path (.claude/skills/<name>/SKILL.md) and that the first line of the file is ---.
  2. Is the frontmatter valid? Bad YAML is silently ignored. Run claude --debug to see loading errors.
  3. Is auto-invocation off? disable-model-invocation: true means only /name works, by design.
  4. Is the description specific? Vague or overlapping descriptions lose to better matches. Add real trigger phrases.
  5. **Is it limited by paths?** If set, the skill only auto-activates when matching files are involved.
▶Watch it runDebugging a skill
Debugging a skill

Name conflicts and priority

When two skills share a name, the higher-priority location wins: enterprise > personal > project. A skill also takes priority over an old .claude/commands/ file with the same name. If the wrong version runs, check for duplicates in ~/.claude/skills/.

Runtime errors

  • A script fails? Run it yourself in the terminal with the same arguments first.
  • A ` !command injection that exits non-zero aborts the skill. Add || true` where failure is acceptable.
  • Prompted every time a script runs? Add it to allowed-tools.

Measure, don't guess

The real test of a skill is whether results improve. Compare fresh sessions with and without the skill on the same task. For plugin skills, claude plugin eval runs evaluation suites, and /skill-doctor reports each skill's context cost and usage.

⇅Diagnose a silent skilldrag or use arrows
  1. ⋮⋮Type / and check whether the skill appears in the menu
  2. ⋮⋮Run claude --debug and look for YAML or loading errors
  3. ⋮⋮Check disable-model-invocation and paths in the frontmatter
  4. ⋮⋮Rewrite the description with specific trigger phrases
  5. ⋮⋮Test again in a fresh session
☑Ship a team skillsaved on this device

Check your understanding

?Lesson quiz10 XP per correct answer · +25 for a perfect score
QUESTION 1 OF 4

How do plugin skills avoid name collisions?

Why: Namespacing lets many plugins coexist.
QUESTION 2 OF 4

A skill doesn't appear in the / menu. What's the first thing to check?

Why: Discovery problems usually come down to location or a malformed file.
QUESTION 3 OF 4

Which flag shows skill loading errors like invalid YAML?

Why: claude --debug logs loading problems.
QUESTION 4 OF 4

Two skills share a name in personal and project locations. Which wins?

Why: Priority is enterprise > personal > project.
0 / 4 correct
Academy lesson

Unlock lesson 21 and the next 19

You've finished the free lessons. Join the Academy for $19/month to unlock every lesson, quiz, terminal simulation and puzzle, plus the final exam and your certificate of completion.

  • All 40 lessons across 9 units
  • 165+ quiz questions
  • Final exam + certificate
  • New lessons as Claude Code evolves
  • XP, streaks and badges
  • Cancel anytime

Already a member? Log in to continue.

Key takeaways

  • Share via the repo, plugins (namespaced) or managed settings.
  • Silent skill? Check location, YAML, invocation settings, description and paths.
  • Priority: enterprise > personal > project.
  • Measure skills by comparing sessions with and without them.

Nice work. Lesson 21 done?

Mark it complete to earn +70 XP, keep your streak alive and unlock badges.

Written by Curtis Cornell from Anthropic's public Claude Code documentation. Last reviewed November 14, 2026. Claude Code changes fast; if something here differs from your version, the official docs win.

Start lesson 1 free →