claude-code - 💡(How to fix) Fix [BUG] /skills dialog closes immediately in CLI without feedback [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#52021Fetched 2026-04-23 07:38:39
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×3closed ×1

Error Message

  1. But closes instantly — no list of skills, no error, no guidance Dialog opens and closes immediately. No output. No error. No guidance.

Error Messages/Logs

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?

Problem

When running /skills in the Claude Code CLI, a dialog briefly appears and closes immediately without any useful output or feedback:

  1. The command appears to do something (dialog opens)
  2. But closes instantly — no list of skills, no error, no guidance
  3. Users have no way to discover available skills from the CLI

Actual behavior

Dialog opens and closes immediately. No output. No error. No guidance.

What Should Happen?

Either:

  • Display a list of available skills and how to invoke them (like /help)
  • Or show a clear message: "The /skills dialog is only available in the desktop app. To run a skill, type /skill-name directly."

Error Messages/Logs

Steps to Reproduce

launch Claude CLI in console

type /skill

select an entry, press <ENTER>

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.1.117 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

extent analysis

TL;DR

The issue with the /skills command in the Claude Code CLI can be resolved by investigating the command's implementation and potentially modifying it to handle the dialog closure issue.

Guidance

  • Investigate the /skills command implementation to determine why the dialog is closing immediately without output.
  • Verify if the issue is related to the Anthropic API or the Claude Code version by testing with different versions or APIs.
  • Check if there are any error messages or logs that can provide more information about the issue, even if they are not immediately visible.
  • Consider adding a temporary workaround to display a clear message to users when the /skills dialog is not available, as suggested in the "What Should Happen?" section.

Example

No code snippet can be provided without more information about the implementation of the /skills command.

Notes

The issue seems to be a regression, as it worked in a previous version, but the last working version is not specified. More information about the previous version and the changes made to the /skills command would be helpful in resolving the issue.

Recommendation

Apply a workaround to display a clear message to users when the /skills dialog is not available, as this will provide a better user experience until the root cause of the issue is resolved.

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] /skills dialog closes immediately in CLI without feedback [1 participants]