/marketplace-kit:marketplace-sync-checkfrom Marketplace Toolkit
Read-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.
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.
None: SKILL.md is the whole skill.
Report drift between this source repo's local plugins/ and the places that index them: the published marketplace catalogs (Claude .claude-plugin/marketplace.json and Codex .agents/plugins/marketplace.json, both in the marketplace repo) and the local catalog (docs/CATALOG.md, in this repo). Read-only — never edit a catalog, never commit, never open a PR. Just report what's out of sync and point at the right fix for each gap.
This is a plain procedure to run with your normal tools (gh, jq) — adapt as needed.
The two surfaces drift independently and are not reconciled the same way:
NEW is expected, not a mistake. Fixes go through marketplace-publish (a PR on the marketplace repo, which maintains both harness catalogs together).plugins/ exactly — the refresh rule is "new plugin → add a row" (docs/PLUGIN-CONVENTIONS.md), so a missing or stale row is an oversight. Fixes go through the catalog-refresh skill (regenerate the table) or a hand edit, never a publish.Pick the marketplace. Resolve this repo's owner/repo (gh repo view --json nameWithOwner -q .nameWithOwner, or a normalized git remote get-url origin) and look it up in the bundled registry references/marketplaces.md (at runtime, resolve that link relative to this skill's directory — it lives at the plugin root, two levels up from this SKILL.md). If there's no row for this repo, ask the user which marketplace to target — and offer to add a row so the next run resolves it automatically.
Fetch the live catalogs (raw file contents; the Codex file may 404 on a marketplace that hasn't published Codex entries yet — report that rather than erroring):
gh api repos/<marketplace>/contents/.claude-plugin/marketplace.json -H "Accept: application/vnd.github.raw"
gh api repos/<marketplace>/contents/.agents/plugins/marketplace.json -H "Accept: application/vnd.github.raw"
Scope to this repo's entries. A marketplace may aggregate several sources, so only compare catalog entries whose source.url points at this repo.
Compare the Claude catalog against local plugins/*/.claude-plugin/plugin.json (by name, description, and homepage — the fields marketplace-publish propagates) and report these buckets:
plugins/, not in the catalog.description or homepage differs from the local manifest.plugins/.renames map, or explicit user confirmation establishes that an existing catalog entry became a differently named local plugin.plugin.json that doesn't parse.Don't infer a rename from source equality alone. A conforming directory rename changes the git-subdir path, while comparing only the repository URL falsely pairs unrelated plugins from the same repository. For unmatched NEW and REMOVED entries, inspect Git history for the directory and manifest-name change and check the existing renames map. If neither establishes continuity, report a possible rename — needs confirmation and ask whether the new plugin replaces the old one; don't recommend a replacement or removal mapping yet.
When comparing homepage, mirror marketplace-publish's fallback rule: if the local manifest has no homepage (or it's empty), derive the expected fallback https://github.com/<owner>/<this-repo>/tree/<default-branch>/plugins/<name> (resolving the source repo's default branch, as marketplace-publish does) and compare against that instead of treating the field as a mismatch. This keeps the two skills symmetric — a plugin published with the fallback URL stays in sync until the manifest itself changes.
Compare the Codex catalog independently against local plugins/*/.codex-plugin/plugin.json. Manifest presence declares Codex support. Expected entries use the git-subdir source pointing at the shared plugin directory, the source repository's resolved default branch, interface.category from the Codex manifest, and the constant policy (installation: AVAILABLE, authentication: ON_INSTALL). Report:
name, category, source, or policy differs from the authored Codex manifest and repository contract.docs/CATALOG.md)Compare every plugins/<name> against the rows in docs/CATALOG.md. Each row carries a linked name, a description, and a Components count. Report three buckets:
plugins/ with no row. Per the refresh rule the local catalog should list every plugin, so this is real drift, not a deliberate omission like marketplace NEW.description differs from the plugin's manifest description, or its Components text differs from the plugin's actual components.plugins/.The manifest is the source of truth for description (the row should match it verbatim, same as the marketplace check). Derive each plugin's component counts from its directory and compare to the row's Components text — the format rules (singular vs plural, the order skills → commands → agents → hooks → MCP servers, dropping zeros) live in docs/PLUGIN-CONVENTIONS.md:
plugins/<name>/skills/ (each holds a SKILL.md).md files under plugins/<name>/commands/.md files under plugins/<name>/agents/plugins/<name>/hooks/hooks.json.mcp.json (or mcpServers in plugin.json)Present both surfaces plainly, each clearly labelled, and stop. Then hand off — don't fix anything yourself:
NEW/CHANGED → marketplace-publish <name>. An established RENAMED → marketplace-publish <new-name>; for Claude, preserve an append-only renames mapping from the old name to the new name. A confirmed REMOVED → remove the entry only from the platform whose manifest disappeared; for Claude, map the old name to null. Keep an unconfirmed NEW + REMOVED pair undecided until the user confirms rename versus independent addition and removal. Deleting the whole plugin removes both platform entries. NEW is expected for anything not yet deliberately published, so do not frame it as a mistake.docs/CATALOG.md missing / stale / orphan rows → regenerate the table with the catalog-refresh skill (or fix by hand) and commit it — a normal docs change. Not marketplace-publish; the local catalog isn't the marketplace.Do not modify anything unless the user explicitly asks.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/catalog-refreshRegenerate 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./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.Other plugins' skills for the same job
/marketplace-publish-checkmarketplace-kit@cypherpoet-toolchest is listed by cypherpoet/cypherpoet-toolchest — review the source before installing
npx claudepluginhub cypherpoet/cypherpoet-toolchest --plugin marketplace-kit