Custom slash commands from ~/.claude/commands/ not recognized
Resolved 💬 3 comments Opened Mar 7, 2026 by zemse Closed Mar 9, 2026
Description
Custom slash commands placed in ~/.claude/commands/ (global user commands) are not recognized when invoked.
Steps to Reproduce
- Create a markdown file at
~/.claude/commands/find-issues.mdwith prompt content - Start a Claude Code session
- The command appears in the
/skillsdialog - Try to invoke it as
/find-issues→ "Unknown skill: find-issues" - Try
/user:find-issues→ "Unknown skill: user:find-issues"
Expected Behavior
The command should be invocable as a slash command from any project, since it's in the global ~/.claude/commands/ directory.
Workaround
Copying the file to the project-local .claude/commands/ directory works — but this defeats the purpose of having a global commands directory.
Environment
- macOS (Darwin 25.2.0)
- Claude Code CLI (latest)
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗