[BUG] Duplicating Slash Commands When Typing

Status Fixed / completed
Reported on v2.1.149
Maintainer reply None cached
Activity 4 comments · opened May 22, 2026 · closed Jun 8, 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 I use Claude Code and try to invoke a slash command the more I type (or even backspace) duplicate entries will spawn in and push my text entry up so I can't see what I'm typing anymore. Backspacing until the slash is gone will fix the layout though.

Prompt Still On Screen

<img width="1912" height="2098" alt="Image" src="https://github.com/user-attachments/assets/7a1fe65c-3529-4acb-9d8e-828086fc77c9" />

Prompt Off-Screen after a few backspaces and typing again

<img width="1912" height="2104" alt="Image" src="https://github.com/user-attachments/assets/6676f049-5e9f-4a41-86c8-2ffbbca2f18a" />

What Should Happen?

Slash commands should filter out as expected when typing without pushing my text off the screen

Error Messages/Logs

Steps to Reproduce

  1. Start a claude code session anywhere
  2. Start typing the name of a slash command (the more you type the more the list grows with duplicates and backspaces will contribute to the problem as well)

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

Before Opus 4.7 (I don't remember which version I was on. 😔 )

Claude Code Version

2.1.149 (Claude Code)

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

4 Comments

github-actions[bot] · 4 months ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/59686
  2. https://github.com/anthropics/claude-code/issues/51008
  3. https://github.com/anthropics/claude-code/issues/13165

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

JWShroyer · 4 months ago

I don't believe this is a duplicate of the above linked options as typing seems to be the cause of my issue.

JWShroyer · 4 months ago

Closing this issue and pointing to https://github.com/anthropics/claude-code/issues/51008 as the official link.

My issue was specific to plannotator and was fixed by removing old commands/*.md files after the plugin updated to skills/ directory.
This comment on the above linked issue suggested it could be fixed by removing duplicate commands: https://github.com/anthropics/claude-code/issues/51008#issuecomment-4466769246

github-actions[bot] · 2 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.