Support symlinks in .claude/commands/ (same as .claude/rules/)
Resolved 💬 3 comments Opened Mar 26, 2026 by Don-Yin Closed Mar 30, 2026
Summary
.claude/rules/ follows symlinks for file discovery, but .claude/commands/ does not. Symlinked .md files in the commands directory are silently ignored during skill registration.
Reproduction
- create a command file at
.claude/commands/utils/my-command.md - symlink it:
ln -s utils/my-command.md .claude/commands/my-command.md - only
utils:my-commandregisters as a skill;/my-commanddoes not appear
Use case
I share a single .claude/ directory (via symlink) across multiple repos and machines. Commands live in subdirectories for organisation, with top-level symlinks for convenient access. This pattern works everywhere except command discovery.
Expected behavior
Symlinked .md files in .claude/commands/ should be resolved and registered as skills, consistent with .claude/rules/ behavior.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗