Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Claude loads one when your task matches it, or you run it by name.
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Maintenance skills for the ai-plugins marketplace itself.
They keep the Claude Code catalog (.claude-plugin/marketplace.json), the
Codex catalog (.agents/plugins/marketplace.json), and the README plugin
table in sync.
In Claude Code 2.1.275 or later:
/plugin install ai-plugins --marketplace ralphshao/ai-plugins
| Skill | Does |
|---|---|
ai-plugins:add <github-url-or-owner/repo> | Pins the repo's latest release (highest vX.Y.Z tag), or its latest commit if it has no release tags. Detects where its .claude-plugin/plugin.json and .codex-plugin/plugin.json live, and adds entries to both marketplace files, with ref set to the release tag or branch next to sha. The repo needs at least one of the two; each catalog uses its own manifest's folder as the plugin root, falling back to the other. It also adds a row to the root README's plugin table. Optional flags: --path <subdir> when the repo holds several plugins, --description <text> to override the upstream description. |
ai-plugins:remove <name> | Removes the plugin from both marketplace files and the root README's plugin table, then lists any other lines in README.md and AGENTS.md that still mention it. |
ai-plugins:update | Uses git ls-remote to find each pinned plugin's latest release (or latest commit on its default branch if it has no release tags, or on its ref if that is some other branch), and prints the before/after SHA and commit subject. For anything that moved, it rewrites source.sha and source.ref in both marketplace files. If the plugin's version changed, it also updates version in .claude-plugin/marketplace.json and the plugin's row in the root README's table. |
All three keep the plugin lists sorted: ai-plugins first, then the other
local plugins, then remote ones, each group alphabetical. This holds in
both marketplace files and the README table. They leave their edits
uncommitted, so review them with git diff before committing. Run
claude plugin validate . to check the Claude manifest.
Every remote plugin's source is a url or git-subdir object with a
pinned sha (and the ref it came from), not a relative path. See
Create the marketplace file
for the source schema.
Some repos keep their Claude and Codex manifests at different depths, so
the two marketplace files use different paths for the same plugin. add
detects this; AGENTS.md lists which plugins
do it and the path each file uses.
Claude Code decides whether an installed plugin needs updating by its
version: the plugin's plugin.json version first, then the marketplace
entry's version, and the commit SHA only when neither is set. So a new
sha under an unchanged version reaches new installs, but users who
already installed the plugin keep the old commit until upstream bumps its
version. This mostly affects plugins pinned to a branch, where upstream can
add commits without a version bump. update prints a warning: line for
each plugin it re-pins this way.
git, which add and update use to query upstream repos.Each skill calls a thin wrapper, scripts/run.sh or scripts/run.ps1,
which finds Python and runs scripts/ai-plugins.py.
All the logic lives in that script. You can also run it directly from
anywhere inside the repo:
python3 plugins/ai-plugins/scripts/ai-plugins.py add owner/repo
python3 plugins/ai-plugins/scripts/ai-plugins.py remove <name>
python3 plugins/ai-plugins/scripts/ai-plugins.py update
The tests live outside this folder, so they don't ship with the plugin. From the repo root:
uv run --with pytest pytest tests/ai_plugins
Without uv: python3 -m pytest tests/ai_plugins.
They run offline against throwaway local git repos. tests/test_marketplace.py
checks the catalogs themselves.
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground
npx claudepluginhub ralphshao/ai-plugins --plugin ai-plugins