Claude agent: skills from VS Code agent plugins are not suggested before the first message
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:
- Install an agent plugin that contains at least one skill (say
my-pluginwithmy-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. - Open a new Agent Host session with the Claude harness.
- Before sending anything, type
/(or the beginning of the skill name) in the chat input. - Send any message, then type
/again. - 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:
- Codex parses each synced plugin and folds its skills, agents and MCP servers in as children (
_resolveClientCustomizationEnablement,parsedPluginChildren). - Claude returns the synced plugin customizations as they are, without children, from
getSessionCustomizations. It only parses the synced plugins to collect their MCP servers (claudeAgentSession.ts#L918-L930).
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.
Hello, i have the exact same issue in 1.147.0