[BUG] /context executes /compact instead, unless I ask nicely :-)
Resolved 💬 11 comments Opened Oct 31, 2025 by jenova-marie Closed Nov 3, 2025
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?
That first /compact was NOT typed in. I typed /context
/context runs /compact instead
/context please will run /context
<img width="1140" height="212" alt="Image" src="https://github.com/user-attachments/assets/1a6bf9af-e9de-44da-90d6-c29a397e9c7a" />
What Should Happen?
/context should execute the slash command context and not compact
Error Messages/Logs
Steps to Reproduce
Fill context up w/o auto-compact turned off. type
/context
Claude will execute a compact
<img width="1003" height="204" alt="Image" src="https://github.com/user-attachments/assets/439b7145-807a-45d0-840c-dcf3b37eb1b8" />
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.30 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
Thank you!
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗