plugin install fails 'source type your Claude Code version does not support' for valid plugins that load fine via --plugin-dir
Status Fixed / completed
Reported on v2.1.139
Maintainer reply None cached
Activity 2 comments · opened Jul 22, 2026 · closed Aug 25, 2026
Summary
claude plugin install <plugin>@<marketplace> fails for certain plugins with:
✘ Failed to install plugin "<plugin>@<marketplace>": This plugin uses a source type your Claude Code version does not support. Update Claude Code and try again.
The error is misleading: updating does not help, and the affected plugins are valid — they load and run correctly via --plugin-dir. Within the same marketplace, some plugins install and others don't, so it is neither a version nor a marketplace-wiring problem.
Environment
- Claude Code 2.1.139 (npm global) and 2.1.217 (native,
~/.local/bin/claude) — both fail identically. - Platform: WSL2 (Ubuntu), Linux.
- Marketplace: a private GitHub repo added via
claude plugin marketplace add owner/repo(also reproduced as a localdirectorysource).
Repro
- A marketplace with several plugins (string sources, e.g.
"source": "./my-plugin"). claude plugin install plugin-A@mkt→ succeeds (a simple plugin: agents withname/description/toolsfrontmatter; a few skills).claude plugin install plugin-B@mkt→ fails with the "source type" error (a plugin with 8 agents whose frontmatter also includesmodel:andeffort:, and 5 skills, some withargument-hint:).claude --plugin-dir /path/to/plugin-B→ loads plugin-B fine (skills available, no error). So plugin-B's content is valid; only the marketplace install path rejects it.
Ruled out (tested)
- Not the version — fails on both 2.1.139 and latest 2.1.217.
- Not the marketplace — plugin-A installs from the exact same
marketplace.json. - Not
$schema— reproduced with bothhttps://anthropic.com/claude-code/marketplace.schema.jsonandhttps://code.claude.com/schemas/marketplace.json. - Not the source-path format — reproduced with plugins at repo root (
./plugin) and nested (./plugins/plugin), and with/withoutmetadata.pluginRoot. - Not agent
model/effortfields — stripping them from plugin-B's agent frontmatter did not change the result.
Expected vs actual
- Expected: a plugin that loads via
--plugin-dirshould also install viaclaude plugin install, or the error should name the specific unsupported "source type" and file. - Actual: generic "source type ... does not support / update Claude Code," which is inaccurate (latest version fails) and gives no way to locate the offending declaration.
Ask
- What does "source type" refer to at the plugin (not marketplace) level, and which manifest/component triggers this? The error should identify the file/field.
- Why does
--plugin-diraccept a plugin thatclaude plugin installrejects? The two paths appear to validate differently.
Happy to share the exact plugin directory / a minimal repro on request.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗