Repository navigation
Description
Description of the bug
Since aa977a6 (#2696), .claude-plugin/plugin.json declares commands as an array of objects:
"commands": [
{
"name": "inspect-in-devtools",
"description": "Open a DevTools window for the current page to debug it.",
"prompt": "Run the inspect-in-devtools skill to open the Chrome DevTools window for the selected page."
}
]Claude Code does not accept this shape. The manifest fails validation and Claude Code skips the whole plugin, so none of its skills load. Calling any of them fails, for example Unknown skill: chrome-devtools-mcp:chrome-devtools. Users with marketplace auto-update received the broken version automatically.
Making commands valid does not help either. The object form {"inspect-in-devtools": {"description": "...", "content": "..."}} passes validation, but Claude Code names the command chrome-devtools-mcp:inspect-in-devtools. That is the same name as the skills/inspect-in-devtools skill, and the command shadows the skill. Invoking /chrome-devtools-mcp:inspect-in-devtools gives the model only the one-line prompt. When the model follows it and calls the skill, Claude Code answers Skill /chrome-devtools-mcp:inspect-in-devtools is already loaded above; instructions unchanged., so the SKILL.md instructions never reach the model. Claude Code already exposes every plugin skill as a slash command (/chrome-devtools-mcp:inspect-in-devtools), so the command adds nothing.
Suggested fix: remove commands from .claude-plugin/plugin.json. I checked this locally on aa977a6: validation passes, all 8 skills load, and /chrome-devtools-mcp:inspect-in-devtools loads the full SKILL.md.
Side note (harmless, but visible to users): the marketplace entry uses "source": "./", so the plugin root is the repository root and the plugin also contains the server's package.json and package-lock.json. Claude Code 2.1.322 tries to install plugin dependencies from them and shows this under /plugin → Errors:
The packages it lists were not installed, because its package.json sets overrides, which this install does not apply
The plugin needs none of these packages: dependencies is empty, and the MCP server runs through npx. Moving the plugin into its own directory and pointing source in marketplace.json at it would keep the server's package files out of the plugin.
Reproduction
git clone https://github.com/ChromeDevTools/chrome-devtools-mcp && cd chrome-devtools-mcpclaude plugin validate .on aa977a6 or later:On b1e35e3 (release 1.13.0) the same command reports✘ Found 1 error: ❯ commands: Invalid input ✘ Validation failed✔ Validation passed with warnings.- With the plugin installed from the
chrome-devtools-pluginsmarketplace at aa977a6, invoke the skillchrome-devtools-mcp:chrome-devtoolsin Claude Code:Unknown skill: chrome-devtools-mcp:chrome-devtools.
Expectation
The plugin loads with all of its skills, and /chrome-devtools-mcp:inspect-in-devtools loads the inspect-in-devtools skill.
MCP configuration
Not involved: the failure happens while Claude Code reads .claude-plugin/plugin.json, before any MCP server starts.
Chrome DevTools MCP version
1.13.0 (Claude Code plugin from main at aa977a6)
Chrome version
157.0.8103.50 (not involved)
Coding agent version
Claude Code 2.1.322
Model version
Not model-related
Chat log
No response
Node version
v26.13.0
Operating system
Linux
Extra checklist
- I want to provide a PR to fix this bug
Activity
fix: remove commands from claude plugin (ChromeDevTools#3469)