[BUG] Claude Code Typing "/context" auto selects /compact slash command.
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?
Previously typing /context would automatically select the context slash command but recently when typing slash commands the system automatically selects compact. This occurs all the way from the first "c" to the ending "t" in the word "context".
<img width="1108" height="711" alt="Image" src="https://github.com/user-attachments/assets/9d76d97d-75ec-43bd-8637-9c3ee59b7064" />
<img width="1134" height="886" alt="Image" src="https://github.com/user-attachments/assets/0588db09-009e-4264-b368-dbadc6cc12cb" />
What Should Happen?
If this is a bug then the context slash command should be auto selecting probably once you type out "/con".
Error Messages/Logs
Steps to Reproduce
- Open Claude Code
- Type "/context"
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.31 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗