Marketplace schema validation: 10 invalid entries in claude-plugins-official reject entire marketplace
Problem
The claude-plugins-official marketplace contains 10 plugin entries with invalid source fields. Because the schema validator is all-or-nothing, any single invalid entry causes the entire marketplace (86+ plugins) to be rejected -- blocking browsing and installation for all users.
This affects plugin operations (claude plugin install, claude plugin list, /reload-plugins) for any plugin sourced from claude-plugins-official.
Environment
- Claude Code v2.1.80
- Linux (headless NUC)
Invalid entries
Category 1: git-subdir source type not in Zod schema (9 entries)
"source": "git-subdir" is not recognized by the source type enum. These entries have valid full HTTPS URLs but fail because the type itself is unknown:
| Index | Plugin | URL |
|---|---|---|
| 2 | amazon-location-service | https://github.com/awslabs/agent-plugins.git |
| 7 | aws-serverless | https://github.com/awslabs/agent-plugins.git |
| 20 | deploy-on-aws | https://github.com/awslabs/agent-plugins.git |
| 44 | migration-to-aws | https://github.com/awslabs/agent-plugins.git |
| 67 | semgrep | https://github.com/semgrep/mcp-marketplace.git |
These 4 additionally use owner/repo shorthand instead of full HTTPS URLs:
| Index | Plugin | Invalid URL | Should be |
|---|---|---|---|
| 40 | legalzoom | legalzoom/claude-plugins | https://github.com/legalzoom/claude-plugins.git |
| 46 | neon | neondatabase/agent-skills | https://github.com/neondatabase/agent-skills.git |
| 60 | railway | railwayapp/railway-skills | https://github.com/railwayapp/railway-skills.git |
| 85 | zapier | zapier/zapier-mcp | https://github.com/zapier/zapier-mcp.git |
Category 2: github source type invalid at plugin-entry level (1 entry)
| Index | Plugin | Current source | Should be |
|---|---|---|---|
| 74 | stagehand | { "source": "github", "repo": "browserbase/agent-browse" } | { "source": "url", "url": "https://github.com/browserbase/agent-browse.git" } |
Suggested fixes
Two independent fixes:
- Marketplace data (
claude-plugins-official): Normalize the 4 shorthand URLs to full HTTPS format, convert stagehand fromgithubtourlsource type. (Note: I attempted a PR at anthropics/claude-plugins-official#800 but the repo is restricted to Anthropic contributors.)
- Claude Code validator: Add
git-subdirto the Zod source type enum so monorepo-hosted plugins can validate. Additionally, make the validator per-plugin instead of all-or-nothing -- one bad entry shouldn't reject 86 valid ones.
Related issues
- #34756 -- Schema validation errors cause entire marketplace to fail loading
- #33828 --
git-subdirsource type not recognized by schema validator - #36352 -- Marketplace plugin loading fails due to invalid schema
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗