[BUG] Custom slash commands no longer working
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Custom slash commands are no longer available on Windows.
I use custom slash commands frequently; they were very recently (9/5 I think), not today (9/7). They do not show on auto-fill and if I type in the command exactly I get "Unknown slash command: {rule-name}".
I have my commands in the .claude\commands folder of the repo.
I verified I opened Claude Code in the correct directory, and I tried with several projects. I tried also tried clearing the Users\{user}\.claude\projects folder, that also did not resolve.
May be related to https://github.com/anthropics/claude-code/issues/7271
What Should Happen?
I should be able to use custom slash commands.
Error Messages/Logs
Custom slash commands do not auto-fill when typing and if typed in fully Claude Code responds with "Unknown slash command: {rule-name}".
Steps to Reproduce
- Have a custom slash command in the .claude/commands folder of your project.
- Attempt to use the custom slash command
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
1.0.108
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Cursor
Additional Information
_No response_
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗