[Bug] Skill resolution prioritizes user-level over project-level skills with same name

Resolved 💬 4 comments Opened Mar 30, 2026 by yanixon Closed May 3, 2026

Bug Description
when i have 2 skills with same names (one project level, one user level) and run from the project a project level skill (i clearly see diffs in description) it runs user level skill. i have /home/yanixon/my_projects/amazon/services/bsr_analitycs/.claude/skills/brd-gen/SKILL.md and /home/yanixon/.claude/skills/brd-gen/SKILL.md. i run /brd-gen from /home/yanixon/my_projects/amazon/services/bsr_analitycs and it runs /home/yanixon/.claude/skills/brd-gen/SKILL.md (global). doesn't happens for subagents thought. thanks Yan

Environment Info

  • Platform: linux
  • Terminal: konsole
  • Version: 2.1.87
  • Feedback ID: f63457c8-29a2-4143-b01d-ac0c87abb019

Errors

[{"error":"Error: Request was aborted.\n    at Hv8 (file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1485:16693)\n    at Hv8.next (<anonymous>)\n    at MmK (file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7692:8941)\n    at MmK.next (<anonymous>)\n    at WmK (file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7697:10715)\n    at process.processTicksAndRejections (node:internal/process/task_queues:103:5)\n    at async file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7692:7914\n    at async Le1 (file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4397:2408)\n    at async Object.jL6 [as callModel] (file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:7692:7884)\n    at async C1z (file:///home/linuxbrew/.linuxbrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:4105:11220)","timestamp":"2026-03-30T08:57:15.001Z"}]

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗