claude-code - 💡(How to fix) Fix [BUG] Regression-in-effect: Only 3 slash commands or skills shown in TUI search options [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#52901Fetched 2026-04-25 06:17:51
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Error Message

Error Messages/Logs

No error messages.

Code Example

/push-repo1     Push with settings for repo 1. Longer longer longer longer longer longer 
                description goes here.
/push-repo2     Push with settings for repo 2. Longer longer longer longer longer longer 
                description goes here.
/push-lite      Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.

---

/push           Push most recent commit to current branch
/push-repo1     Push with settings for repo 1.
/push-repo2     Push with settings for repo 2.
/push-lite      Push most recent commit only if not on main.
/push-all       Push all commits, all branches.

---

/push           Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.
/push-repo1     Push with settings for repo 1. Longer longer longer longer longer longer 
                description goes here.
/push-repo2     Push with settings for repo 2. Longer longer longer longer longer longer 
                description goes here.
/push-lite      Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.
/push-all       Push all commits, all branches. Longer longer longer longer longer longer 
                description goes here.

---

No error messages.

---

/push           Push most recent commit to current branch
/push-repo1     Push with settings for repo 1.
/push-repo2     Push with settings for repo 2.
/push-lite      Push most recent commit only if not on main.
/push-all       Push all commits, all branches.

---

/push-repo1     Push with settings for repo 1. Longer longer longer longer longer longer 
                description goes here.
/push-repo2     Push with settings for repo 2. Longer longer longer longer longer longer 
                description goes here.
/push-lite      Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

The improvement of multiline wrapping of long skill and slash command descriptions onto a second line caused a regression in the number of skills and slash commands that are shown from five at a time to three, making search less effective.

Fabricated example for illustration:

  1. Type /push-
  2. I can see only 3 options shown due to wrapping:
/push-repo1     Push with settings for repo 1. Longer longer longer longer longer longer 
                description goes here.
/push-repo2     Push with settings for repo 2. Longer longer longer longer longer longer 
                description goes here.
/push-lite      Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.

What Should Happen?

Five (5) skills or slash commands should still be shown even when >=1 skill or slash command has a long enough description to cause wrapping onto a second line.

Normal skill & command display with short descriptions.

(or previously trunca...)

/push           Push most recent commit to current branch
/push-repo1     Push with settings for repo 1.
/push-repo2     Push with settings for repo 2.
/push-lite      Push most recent commit only if not on main.
/push-all       Push all commits, all branches.

What SHOULD Be Normal skill & command display with longer descriptions wrapped.

/push           Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.
/push-repo1     Push with settings for repo 1. Longer longer longer longer longer longer 
                description goes here.
/push-repo2     Push with settings for repo 2. Longer longer longer longer longer longer 
                description goes here.
/push-lite      Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.
/push-all       Push all commits, all branches. Longer longer longer longer longer longer 
                description goes here.

Error Messages/Logs

No error messages.

Steps to Reproduce

Setup

  1. Create 5 fake skills. /push /push-repo1 /push-repo2 /push-lite /push-all
  2. Give each a short description.
  3. Verify you can see 5 when typing /push into in Claude Code CLI TUI prompt bar.

NORMAL:

/push           Push most recent commit to current branch
/push-repo1     Push with settings for repo 1.
/push-repo2     Push with settings for repo 2.
/push-lite      Push most recent commit only if not on main.
/push-all       Push all commits, all branches.
  1. Verify you can see 5 when typing /push into in Claude Code CLI TUI prompt bar.

Setting Up Regression-Like Behavior

  1. Increase description length to something like Push most recent commit to current branch. Longer longer longer longer longer longer description goes here.
  2. Type /push-
  3. See only 3 options shown due to wrapping:

LOST FUNCTIONALITY

/push-repo1     Push with settings for repo 1. Longer longer longer longer longer longer 
                description goes here.
/push-repo2     Push with settings for repo 2. Longer longer longer longer longer longer 
                description goes here.
/push-lite      Push most recent commit to current branch. Longer longer longer longer longer longer 
                description goes here.

Skill families like /push-* where there are >3 in-family skills may not ever visible due to the wrapping of the longer description.

This forces memorization due to reduced quick search functionality.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.118

Claude Code Version

2.1.119

Platform

Other

Operating System

Other Linux

Terminal/Shell

Other

Additional Information

Would love to be able to customize how many lines are shown in skill/command search display at bottom of TUI!

extent analysis

TL;DR

The issue can be fixed by adjusting the display logic to account for wrapped descriptions, allowing up to five skills or slash commands to be shown.

Guidance

  • Review the code changes between versions 2.1.118 and 2.1.119 to identify the regression cause, focusing on the display logic for skills and slash commands.
  • Consider implementing a dynamic height calculation for the search display to accommodate wrapped descriptions.
  • Adjust the display limit to ensure that up to five skills or slash commands are shown, even when descriptions are wrapped.
  • Test the fix with various description lengths and skill/command counts to verify the solution.

Example

No code example is provided due to the lack of specific code details in the issue.

Notes

The fix may require modifications to the Claude Code's UI rendering logic, and thorough testing is necessary to ensure the solution works as expected.

Recommendation

Apply a workaround by adjusting the display logic to account for wrapped descriptions, as the issue is identified as a regression and the previous version (2.1.118) worked as expected.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Regression-in-effect: Only 3 slash commands or skills shown in TUI search options [1 participants]