[BUG] /clear built-in command being intercepted as a skill lookup
Resolved 💬 4 comments Opened Mar 11, 2026 by pEtienn Closed Apr 10, 2026
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?
The /clear built-in command is being intercepted and handled as a skill lookup instead of executing its built-in behaviour.
What Should Happen?
/clear should clear the conversation history and free up context window tokens.
Error Messages/Logs
Unknown skill: clear
Steps to Reproduce
Open Claude Code
Type /clear in the chat input and press Enter
Expected: conversation history clears
Actual: Unknown skill: clear is shown, nothing is cleared
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
1.1.6041
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
Claude for Windows (desktop app)
OS: Windows 10
No custom skill file named clear.md exists in ~/.claude/
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗