vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Claude agent: skills from VS Code agent plugins are not suggested before the first message

Open GNeras opened this issue 1 month ago • 1 comments

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.141.0 (2a59476c9bfcb90b3ddc372c36762471b7dfad1c)
  • OS Version: Ubuntu 25.10 (Linux 6.17)

In an Agent Host session using the Claude harness, the skills of an agent plugin installed in VS Code are not offered as slash-command completions until the first message has been sent. With the same plugin, the Codex harness suggests them right away.

The skills are known before the first message: typing the full name (e.g. /my-plugin:my-skill) highlights it as a recognized command. Only the completion suggestions are missing.

Steps to Reproduce:

  1. Install an agent plugin that contains at least one skill (say my-plugin with my-skill) from a plugin marketplace (chat.plugins.marketplaces). Make sure the same plugin is not also installed as a native Claude Code plugin, since native plugins are discovered separately.
  2. Open a new Agent Host session with the Claude harness.
  3. Before sending anything, type / (or the beginning of the skill name) in the chat input.
  4. Send any message, then type / again.
  5. Repeat steps 2–3 with the Codex harness.

Expected: the plugin's skills are suggested in step 3, as they are for Codex.

Actual: for Claude they are only suggested after the first message (step 4).

Analysis

Full disclosure: I'm not familiar with this codebase, so I traced this with the help of an AI agent. I hope it's useful, but please double-check it.

The Agent Host slash completions skip plugin customizations that have no children (agentHostSkillCompletionProvider.ts#L94). The synced client plugin customizations don't carry their children, so each agent has to parse the plugin:

After the first message the skills do appear, presumably because they then come from the SDK-discovered tier once the plugin has been loaded through Options.plugins.

A possible fix would be for the Claude session to attach the parsed children to the synced plugin customizations, as Codex does, perhaps by sharing parsedPluginChildren.

Workaround

Installing the same plugin as a native Claude Code plugin (claude plugin install <plugin>@<marketplace>) makes its skills appear before the first message, since enabledPlugins plugins are scanned from disk.

GNeras avatar Oct 09 '26 08:10 GNeras

Hello, i have the exact same issue in 1.147.0

AntoineMaille avatar Nov 19 '26 10:11 AntoineMaille