claude-code - 💡(How to fix) Fix VSCode extension: "Unknown skill" errors from slash commands are not displayed in the chat UI [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#48186Fetched 2026-04-15 06:30:44
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3

Error Message

When typing an unknown slash command (e.g. /status) into the VSCode extension's chat input, the command is silently swallowed. No error is shown to the user. The error message Unknown skill: <name> does reach the model as a <local-command-caveat> block, but the user sees nothing and assumes the command ran (or was ignored intentionally). In the terminal CLI the same input produces a visible Unknown skill: <name> error in the output — so this is a UI regression specific to the VSCode extension. 4. Ask the model "did you see an error?" — it will report having received Unknown skill: status via a local-command-caveat The Unknown skill: <name> error should be rendered visibly in the chat transcript, matching terminal CLI behavior, so users know their command was rejected.

RAW_BUFFERClick to expand / collapse

Bug Description

When typing an unknown slash command (e.g. /status) into the VSCode extension's chat input, the command is silently swallowed. No error is shown to the user. The error message Unknown skill: <name> does reach the model as a <local-command-caveat> block, but the user sees nothing and assumes the command ran (or was ignored intentionally).

In the terminal CLI the same input produces a visible Unknown skill: <name> error in the output — so this is a UI regression specific to the VSCode extension.

Steps to Reproduce

  1. Open Claude Code in the VSCode extension
  2. Type /status (or any non-existent slash command) and submit
  3. Observe: nothing appears in the chat; the model answers as if the text was a normal user prompt
  4. Ask the model "did you see an error?" — it will report having received Unknown skill: status via a local-command-caveat

Expected Behavior

The Unknown skill: <name> error should be rendered visibly in the chat transcript, matching terminal CLI behavior, so users know their command was rejected.

Environment

  • OS: Windows 10 Pro
  • Shell: bash (git-bash)
  • Claude Code: VSCode extension

🤖 Generated with Claude Code

extent analysis

TL;DR

The VSCode extension should be updated to display the "Unknown skill: <name>" error message in the chat transcript when an unknown slash command is entered.

Guidance

  • Investigate the difference in error handling between the terminal CLI and the VSCode extension to identify why the error message is not being displayed in the extension.
  • Check the code that handles the <local-command-caveat> block in the VSCode extension to ensure it is properly rendering the error message.
  • Verify that the error message is being received by the VSCode extension by logging or debugging the extension's code.
  • Consider adding a try-catch block around the code that executes the slash command to catch and display any errors that occur.

Example

No code example is provided as the issue does not include specific code snippets.

Notes

The issue seems to be specific to the VSCode extension and not a problem with the underlying model or command handling. The fact that the error message is received by the model but not displayed in the extension suggests a UI or rendering issue.

Recommendation

Apply a workaround to display the error message in the chat transcript, such as modifying the code that handles the <local-command-caveat> block to render the error message. This will provide a better user experience until a full fix can be implemented.

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 VSCode extension: "Unknown skill" errors from slash commands are not displayed in the chat UI [1 participants]