/marketplace-estate:align-marketplacesfrom marketplace-estate
Bring every plugin marketplace in your registry into alignment - clones current, manifests valid, no plugin listed twice or in the wrong marketplace, listed versions matching what the plugin repos ship, and every other copy of the marketplace list agreeing with the registry. Fixes the safe drift itself and reports the rest. Use for "align the marketplaces", "are my marketplaces in sync", "marketplace audit", "check version drift".
Ships in marketplace-estate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Runs without check-ins for the safe fixes below; report once at the end. Moving a
plugin between marketplaces or removing an entry on judgement is not a safe fix:
list those for the user (or use move-plugin if asked).
MM="${CLAUDE_PLUGIN_ROOT:-<plugin clone from the profile>}"
python3 "$MM/scripts/marketplaces.py" registry # which registry is in use
Read profile.md next to the registry if it exists; its routes and rules win over
the defaults here. No registry: create one ($MM/references/registry.md) or ask for
the marketplace repos and write it.
gh api rate_limit -q .resources.graphql.remaining # very low: stop and say so
python3 "$MM/scripts/marketplaces.py" sync # dirty clones are skipped
A clone sync skipped as dirty holds someone's work in progress. Don't commit it;
exclude that marketplace from the fixes and say so.
python3 "$MM/scripts/marketplaces.py" check > /tmp/mm-check.json; jq .by_type /tmp/mm-check.json
| finding | fix |
|---|---|
clone_missing | sync clones it; rerun |
dirty_clone, unpushed_commits | report; never commit or push someone's in-progress work |
manifest_error, manifest_name_mismatch | stop for that marketplace and report |
mirror_drift, mirror_missing | step 3 |
readme_drift, readme_count_drift | update the README table row (and any "verified" date) |
version_drift | step 2 |
name_collision | report: a catalogue that merges marketplaces by name shows only one. Renaming changes what installers get |
same_source_twice | report, or hand to the profile's duplicate-cleanup route |
prefix_outside_home, third_party_outside_third_party | report as move candidates (move-plugin) |
check's version_drift compares with local plugin clones, which can be behind
or carry unpushed bumps. The authoritative comparison reads every entry's
plugin.json on GitHub (default branch, or the pinned ref/sha) in batched GraphQL:
a few points for a few hundred entries, no REST.
python3 "$MM/scripts/marketplaces.py" versions # report; problems = dead repo / no plugin.json
python3 "$MM/scripts/marketplaces.py" versions --apply # rewrite drifted listings in the clones (no git)
Before --apply, scan for listings that are ahead of the repo: applying would
downgrade them, which usually means the repo lost a commit or the listing points at
the wrong repo. Leave those out and report them. --apply bumps each touched
manifest's metadata.version (patch) and refuses a manifest that isn't already
indent=2 JSON, so diffs stay one line per plugin. Commit one marketplace per
commit, listing plugin: old -> new in the body.
A local-only drift (in check, absent from versions) means a local clone has an
unpushed or unpulled bump; report it, don't relist it.
Every file under mirrors in the registry keeps its own copy of the list. The
registry is the reference; if the registry is the one that is wrong (a marketplace
was added elsewhere first), fix the registry. A mirror with a note (or a profile
rule) saying it needs a redeploy: report, don't edit, unless asked.
When the local check is clean, or on a full audit, run the specialist audits the profile names (dead or renamed repos, plugin repos listed in no marketplace, the catalogue index against the manifests). None named: say which were not run.
One commit per touched repo, message listing each fix, push. Reindex the catalogue
by the profile's route, if any. Rerun check: the remaining findings should be
exactly the ones you chose to report.
Lead with what needs the user: name collisions, move candidates, dirty clones, mirrors left for a redeploy. Then what was fixed, per repo, with commit shas.
What SKILL.md sets; muted values are Claude Code's defaults
marketplace-estate@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin marketplace-estate7 skills in this plugin
/add-marketplaceRegister a new plugin marketplace (or retire one) everywhere the marketplace list is kept - the registry, every mirror file, the README tables and your catalogue indexer - so its plugins are indexed, audited and resolvable instead of silently invisible. Use for "add the X marketplace", "register a new marketplace", "retire the X marketplace", right after creating a marketplace repo./list-marketplacesList every Claude Code plugin marketplace in your registry with its GitHub repo and link, catalogue name, visibility, role, local clone and live plugin count. Use for "list my marketplaces", "what marketplace repos do I have", "where is the X marketplace", "how many marketplaces are there"./Other plugins' skills for the same job