update-marketplace

update-marketplace is a command for Claude Code from reggiechan74/cc-plugins. It costs 10 tokens per session (848 once invoked), scanned A, original, MIT.

A command that scans a plugin repository and updates its marketplace registry and README documentation.

In plain words
What is it for?
Use it after adding, changing, or removing plugins to refresh marketplace.json and README.md.
Why use it?
It keeps the list of available plugins aligned with the plugin folders and their manifests.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/reggiechan74/cc-plugins/update-marketplace
Clone the repo
git clone --depth 1 https://github.com/reggiechan74/cc-plugins

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for update-marketplace

README.md
[![agentmods](https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/update-marketplace.svg)](https://agentmods.dev/commands/reggiechan74/cc-plugins/update-marketplace)
Your own site
<a href="https://agentmods.dev/commands/reggiechan74/cc-plugins/update-marketplace"><img src="https://agentmods.dev/badge/commands/reggiechan74/cc-plugins/update-marketplace.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 848 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00010 $0.00848
Opus 5 $0.00005 $0.00424
Sonnet 5 $0.00002 $0.00170
Haiku 4.5 $0.00001 $0.00085

Measured 6d ago against content hash 8c49591b8568, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

update-marketplace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/update-marketplace.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Update Marketplace

Scan the repository for plugins and update both the marketplace registry and documentation.

Arguments received: $ARGUMENTS

Instructions

Step 1: Scan for Plugins

Scan the root directory /workspaces/claude-plugins/ for plugin directories. A valid plugin is identified by:

  1. Modern format: A directory containing .claude-plugin/plugin.json
  2. Legacy format: A directory containing manifest.json at root level

Exclude these directories:

  • .git
  • .claude-plugin (the root marketplace config)
  • .claude (commands/skills directory)
  • node_modules
  • Any hidden directories (starting with .)

For each plugin found, extract:

  • name: From plugin.json or manifest.json
  • version: From plugin.json or manifest.json
  • description: From plugin.json or manifest.json
  • source: Relative path from root (e.g., ./spinnerverbs-plugin)

Step 2: Read Current State

Read the current marketplace.json from /workspaces/claude-plugins/.claude-plugin/marketplace.json.

Compare discovered plugins against existing entries to identify:

  • New plugins: Not in marketplace.json
  • Updated plugins: Version or description changed
  • Removed plugins: In marketplace.json but directory no longer exists

Step 3: Update marketplace.json

Update /workspaces/claude-plugins/.claude-plugin/marketplace.json with the complete list of discovered plugins.

Format:

{
  "name": "cc-plugins",
  "owner": {
    "name": "Reggie Chan"
  },
  "plugins": [
    {
      "name": "plugin-name",
      "source": "./plugin-directory",
      "description": "Plugin description from manifest",
      "version": "1.0.0"
    }
  ]
}

Sort plugins alphabetically by name.

Step 4: Update README.md

Update /workspaces/claude-plugins/README.md to document all plugins.

For each plugin:

  1. Read its README.md to extract features and commands
  2. Look for ## Features section for feature list
  3. Look for ## Commands or ## Usage sections for commands

Read the full file on GitHub · 158 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 158 lines · 10 tokens per session scan A 8c49591b8568

Subscribe to this mod's changes

update-marketplace is a command published in the GitHub repository reggiechan74/cc-plugins (6 stars, last pushed 3mo ago), licensed MIT. It adds 10 tokens to every session and 848 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.