Official marketplace fails schema validation on CLI 2.1.163 (git-subdir source type)
Resolved 💬 1 comment Opened Jun 5, 2026 by cowboyd Closed Jul 11, 2026
Bug description
Running /plugin marketplace add anthropics/claude-plugins-official on CLI version 2.1.163 fails with schema validation errors on a large number of plugin entries:
Error: Invalid schema: ...marketplace.json plugins.0.source: Invalid input, plugins.1.source: Invalid input, ...
The marketplace's marketplace.json uses "source": "git-subdir" and "source": "url" source types that the current CLI release does not recognize. Out of 212 plugins in the marketplace, dozens fail validation, preventing the marketplace from being added at all.
Steps to reproduce
- Install Claude Code CLI (latest: 2.1.163)
- Run
/plugin marketplace add anthropics/claude-plugins-official - Observe schema validation errors for
git-subdirandurlsource types - Marketplace is not added
claude update reports already up to date.
Expected behavior
The CLI should be able to parse all source types used by the official marketplace, or at minimum gracefully skip entries with unrecognized source types rather than rejecting the entire marketplace.
Environment
- Claude Code CLI version: 2.1.163
- OS: macOS (Darwin 24.6.0)
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗