Problem
claude plugin marketplace add scitrera/memorylayer fails with:
✘ Failed to add marketplace: Failed to parse marketplace file at
.../scitrera-memorylayer/.claude-plugin/marketplace.json:
Invalid schema: ... plugins.0.source: Invalid input
Cause
In .claude-plugin/marketplace.json, the plugin source is:
"source": "/memorylayer-cc-plugin"
The Claude Code marketplace schema rejects absolute paths for inline plugin sources. String source values must be relative (e.g. ./memorylayer-cc-plugin) or an object form like {"source": "github", "repo": "..."}.
Fix
Change:
- "source": "/memorylayer-cc-plugin"
+ "source": "./memorylayer-cc-plugin"
Workaround
Until this is patched, users can clone the repo, edit the path locally, and add it as a local marketplace:
git clone https://github.com/scitrera/memorylayer ~/src/memorylayer
# edit .claude-plugin/marketplace.json: "source": "./memorylayer-cc-plugin"
claude plugin marketplace add ~/src/memorylayer
Environment
Problem
claude plugin marketplace add scitrera/memorylayerfails with:Cause
In
.claude-plugin/marketplace.json, the pluginsourceis:The Claude Code marketplace schema rejects absolute paths for inline plugin sources. String
sourcevalues must be relative (e.g../memorylayer-cc-plugin) or an object form like{"source": "github", "repo": "..."}.Fix
Change:
Workaround
Until this is patched, users can clone the repo, edit the path locally, and add it as a local marketplace:
Environment