Skill matching incorrectly matches /con to user skill instead of built-in /context

Resolved 💬 4 comments Opened Jan 19, 2026 by dmcnaugh Closed Feb 28, 2026

Description

When typing /con as a prefix for the built-in /context command, it incorrectly matches a user skill (/execute-plan) instead of the built-in command.

Steps to Reproduce

  1. Have user skills installed in ~/.claude/skills/ (e.g., create-plan, execute-plan)
  2. Type /con intending to invoke /context
  3. Observe that it matches /execute-plan instead

Expected Behavior

/con should match the built-in /context command since:

  • "con" is a prefix of "context"
  • Built-in commands should take precedence over user skills
  • "con" is not a prefix or substring of "execute-plan"

Actual Behavior

/con matches the user skill /execute-plan instead of /context.

Environment

  • Claude Code CLI
  • User skills present: create-plan, execute-plan, rehydrate-project, setup-project

Analysis

This appears to be either:

  1. A priority issue where user skills are checked before built-in commands
  2. A broken matching algorithm that isn't doing proper prefix matching

View original on GitHub ↗

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