Problem
When trying to install the plugin via Claude Code marketplace:
claude plugin marketplace add Gentleman-Programming/engram
It fails with:
Failed to parse marketplace file at .claude-plugin/marketplace.json: Invalid schema: plugins.0.source: Invalid input
Root Cause
In .claude-plugin/marketplace.json, the source object on line 18 uses "source" as the key for the source type, but the schema likely expects "type":
Current (broken):
"source": {
"source": "git-subdir",
"url": "https://github.com/Gentleman-Programming/engram.git",
"path": "plugin/claude-code"
}
Expected fix:
"source": {
"type": "git-subdir",
"url": "https://github.com/Gentleman-Programming/engram.git",
"path": "plugin/claude-code"
}
Steps to Reproduce
- Run
claude plugin marketplace add Gentleman-Programming/engram
- Observe the schema validation error on
plugins.0.source
Environment