Marketplace schema validation fails for git-subdir source type

Resolved 💬 3 comments Opened Mar 20, 2026 by bawsome Closed Mar 24, 2026

Description

When loading the official claude-plugins-official marketplace, Claude Code throws schema validation warnings for plugins that use "source": "git-subdir". The warnings appear as:

⚠ Warning: Failed to load marketplace 'claude-plugins-official': Failed to load marketplace
"claude-plugins-official" from source (github): Failed to parse marketplace file at
.../.claude-plugin/marketplace.json: Invalid schema: ...
plugins.2.source: Invalid input, plugins.5.source: Invalid input, ...

Root Cause

The official marketplace (https://github.com/anthropics/claude-plugins-official) uses a git-subdir source type for some plugins:

{
  "source": "git-subdir",
  "url": "https://github.com/awslabs/agent-plugins.git",
  "path": "plugins/amazon-location-service",
  "ref": "main"
}

Claude Code's schema validator does not recognize git-subdir as a valid source type, causing validation to fail for those entries.

Affected Plugins (indices in marketplace.json)

  • [2] ai-firstify
  • [5] amazon-location-service
  • [12] aws-serverless
  • [29] deploy-on-aws
  • [48] helius
  • [56] legalzoom
  • [61] migration-to-aws
  • [63] neon
  • [85] railway
  • [95] semgrep
  • [115] zapier

Expected Behavior

Either:

  1. Claude Code's schema validator should support the git-subdir source type, or
  2. The official marketplace should not use source types that the current schema doesn't support

Impact

The marketplace still loads and shows available plugins, so functionality is not fully broken. However, the 11 affected plugins cannot be installed and the warnings are confusing to users.

Environment

  • Claude Code version: latest
  • OS: macOS Darwin 25.2.0

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗