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

  1. Install Claude Code CLI (latest: 2.1.163)
  2. Run /plugin marketplace add anthropics/claude-plugins-official
  3. Observe schema validation errors for git-subdir and url source types
  4. 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)

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗