[BUG] /clear command does not work anymore

Status Fixed / completed
Reported on v2.1.12
Maintainer reply None cached
Activity 4 comments · opened Jan 18, 2026 · closed Jan 18, 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?

when typing "/clear" and pressing enter, claude now does /compact instead.

What Should Happen?

Should run "/clear"

Error Messages/Logs

Steps to Reproduce

  1. enter /clear
  2. press enter

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.10

Claude Code Version

2.1.12

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 9 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/18976
  2. https://github.com/anthropics/claude-code/issues/18892
  3. https://github.com/anthropics/claude-code/issues/18902

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

josiahsrc · 9 months ago

Same issue here

strowk · 9 months ago

This is duplicate

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.