Ray's Knowledge Base
Unlock

A Claude Code plugin cannot register a mod command or skill with the same name as its skill

PitfallVerified 2 Oct 2026Holds anywhere
Pitfall. The symptom, what causes it, and the fix that was run and seen to work.

Symptom#

A Claude Code plugin that ships a skill and a mod command with the same name loses the command. The skill takes the name and the slash menu lists only /rvow:rvow (the skill), with no plain /rvow, while commands with other names such as /rvow-accept still appear. The debug log (claude --debug-file) says $.command.register: "/rkb" refused: it is the plugin's /rkb:rkb. The refusal also aborts the rest of the mod's session.start, so a status line showed only after the first prompt. Claude Code writes debug logs only with --debug, so there is no log to read afterwards.

Cause#

The skill name and the command name collide, and Claude Code gives the skill the name.

Fix#

Give the command a name that differs from the plugin and skill name (rvow's pane command became /rvow-status, rkb's /rkb-status). Catch a refused registration so it cannot stop session start, and run a check script that loads the mod together with the real skill and fails on any refusal.

Evidence#

Seen in the rvow and rkb plugins; the debug log named the refusal.

Also found by searching

  • slash menu lists only /rvow:rvow and no plain /rvow
  • plugin mod command with same name as skill disappears
  • refused: it is the plugin's /rkb:rkb
  • claude command registered by mod missing from slash menu