[BUG] Commands duplicated in command list

Resolved 💬 5 comments Opened Jun 17, 2025 by warpdev Closed Aug 24, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: Claude MAX Plan
  • Claude CLI version: 1.0.25 (Claude Code)
  • Operating System: macOS 15.5
  • Terminal: Terminal App

Bug Description

Custom commands are being duplicated in the UI. This appears to occur when commands with the same name exist in different scopes. The duplication happens each time I navigate through commands using the keyboard arrow keys. Commands in the duplicated area behave as if they are in an unselectable region and cannot be selected.

Steps to Reproduce

  1. Create same commands at different scopes. ( ~/.claude/commands/foo-bar.md, ~/**/project/.claude/commands/foo-bar.md)
  2. Open claude at terminal, type /.
  3. Focus the commands using arrow up, down keys.

Expected Behavior

The command list area should not display any unselectable regions, and even if there are commands with the same name, only the actual number of commands should be displayed on the screen.

Actual Behavior

Whenever commands with the same name are focused, the command is duplicated and displayed in the unselectable area of the UI.

Additional Context

!Image

View original on GitHub ↗

This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗