/marketplace-kit:catalog-refreshfrom Marketplace Toolkit
Regenerate docs/CATALOG.md's plugin table deterministically from the plugin manifests, fixing missing, stale, or mis-counted rows. Use when the user asks to refresh the local catalog, or after a plugin's name, description, or component count changes. The write-capable counterpart to marketplace-sync-check; touches only the local catalog table — never the published marketplace, never commits.
Ships in Marketplace Toolkit. 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.
Read when SKILL.md points to them; scripts run unread.
Regenerate the plugin table in docs/CATALOG.md from the plugin manifests. The local catalog is deterministically derivable from plugins/ — every row's name, description, and Components count comes straight from a plugin.json and the plugin's directory — so it can be rebuilt mechanically instead of hand-edited.
This is the actuator half of the local-catalog pair: marketplace-sync-check reports docs/CATALOG.md drift (missing / stale / orphan rows), and this skill fixes it. The audit stays read-only and safe to run anytime; this writer regenerates the table deterministically from the manifests, so it's safe to run on request or right after a manifest change — the output is a reviewable diff, and it still never commits or touches the published marketplace.
Scope — local catalog only. This rewrites docs/CATALOG.md and nothing else. It does not touch the published marketplace (marketplace.json on the marketplace repo), commit, or open a PR. The marketplace is a deliberate, per-plugin publish — for that, use marketplace-publish.
The regeneration logic is a bundled script — Python 3 standard library only, no installs, no network. Run it and relay what it prints; don't reimplement it inline.
With your working directory anywhere in the target repo, run the bundled script. scripts/ below is relative to this skill's directory — your harness shows the skill's location when it loads; prefix the commands with it:
# Dry-run: report drift and show the diff, write nothing (exit 1 if stale)
python3 scripts/refresh_catalog.py --check
# Regenerate the table in place
python3 scripts/refresh_catalog.py
The script finds the repo root via git and walks every directory under plugins/. It reads the Claude manifest when present and otherwise reads the Codex manifest, so Claude-only, Codex-only, and multi-platform plugins all appear once. It derives the description and Components count, sorts by name, and replaces only the markdown table — the intro line and ## Installing section are left untouched. Component counts use this order: skills, commands, agents, hooks, then MCP servers. Zero counts are omitted, and labels use the correct singular or plural form.
It's idempotent: on an already-current catalog it prints already in sync and writes nothing. A manifest with no description is reported as a warning (the catalog can't ship a blank cell) — populate it and re-run.
The skill changes the working tree but does not commit. Review the diff (git diff docs/CATALOG.md), then commit it yourself — typically alongside the plugin change that caused the drift (a new plugin, a renamed skill, an edited description). If --check reported already in sync, there's nothing to do.
If the description also needs to reach the published catalog (you edited a plugin's manifest description), that's a separate step — run marketplace-publish <name> to refresh the marketplace entry.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
4 skills in this plugin
/marketplace-publishPublish one or more of this repo's plugins to its marketplace — both the Claude Code and Codex catalogs in the marketplace repo — by opening a PR there. Use to add a new plugin to the marketplace or update an already-listed plugin's catalog entry (name, description, homepage, Codex category). Not needed for ordinary content edits to a listed plugin — those reach consumers automatically./marketplace-publish-checkRead-only check of whether the current branch changes fields stored in a Claude or Codex marketplace catalog. Use when opening a source PR to decide whether to apply the marketplace-publish label. Version-only and plugin-card-only changes do not count./marketplace-sync-checkRead-only audit of whether this repo's plugins/ match the places that index them: both published marketplace catalogs plus the local docs/CATALOG.md. Use for "is everything published", "is the catalog up to date", "did I forget to publish anything", or a pre/post-publish double-check. Reports drift; never edits any file or repo.marketplace-kit@cypherpoet-toolchest is listed by cypherpoet/cypherpoet-toolchest — review the source before installing
npx claudepluginhub cypherpoet/cypherpoet-toolchest --plugin marketplace-kit