Bug
claude plugin marketplace add warrenth/ctxcraft fails with:
Failed to parse marketplace file at marketplace.json:
Invalid schema: plugins.0.source: Invalid input
Cause
In .claude-plugin/marketplace.json, the source field uses "." which is not a valid relative path format for Claude Code plugin schema.
// Current (invalid)
"source": "."
// Fix (valid)
"source": "./"
Claude Code requires relative paths to start with ./.
How to fix
Change line 12 in .claude-plugin/marketplace.json:
- "source": ".",
+ "source": "./",
Environment
- Claude Code: 2.1.77
- OS: macOS
Bug
claude plugin marketplace add warrenth/ctxcraftfails with:Cause
In
.claude-plugin/marketplace.json, thesourcefield uses"."which is not a valid relative path format for Claude Code plugin schema.Claude Code requires relative paths to start with
./.How to fix
Change line 12 in
.claude-plugin/marketplace.json:Environment