/ai-plugins:updatefrom ai-plugins
Update every remote-ref plugin in this marketplace (pinned url/git-subdir sources) to its latest upstream release (or latest commit if it has none) and print a before/after SHA comparison. Use for "update plugins", "update pinned refs", "pull latest plugin versions", or /ai-plugins:update.
Ships in ai-plugins. 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.
From the repo root, run ${CLAUDE_PLUGIN_ROOT}/scripts/run.sh update (on Windows, ${CLAUDE_PLUGIN_ROOT}/scripts/run.ps1 update). Both find a Python on PATH and run ${CLAUDE_PLUGIN_ROOT}/scripts/ai-plugins.py update.
What the script does:
.claude-plugin/marketplace.json whose source is a url or git-subdir object. It skips local entries such as ai-plugins itself.git ls-remote to find each plugin's target commit. When the entry's ref is some other branch or tag, that is the ref's latest commit. When it has no ref, or its ref is a release tag or the default branch, it is the latest release (the highest vX.Y.Z tag, skipping pre-releases like v2.0.0-beta), or the default branch's latest commit when the repo has no release tags. A plugin pinned to a branch commit newer than its latest release moves back to the release.up to date with its SHA, updated with the before/after SHA and commit subject, or could not resolve latest ref with git's error when there is one. Each line ends with where the commit came from: (release vX.Y.Z), (default branch), or (ref <name>).source.sha and source.ref in .claude-plugin/marketplace.json, and in .agents/plugins/marketplace.json too if a matching entry exists. An up-to-date plugin whose ref is missing or stale gets only its ref rewritten. It also reads the plugin's version at the new commit. If the version changed, it updates the version field in .claude-plugin/marketplace.json and the plugin's row in README.md's plugin table.warning: line when a plugin's SHA moved but its version did not. Claude Code detects a plugin update by version before SHA, so users who already installed the plugin keep the old commit until upstream bumps its version. The new pin only reaches new installs.ai-plugins first, then other local plugins, then remote ones, each group alphabetical) in both marketplace files and the README table.git diff and commits when ready.After running, summarize which plugins changed, which commit or release each moved to, any version bumps, and any warnings that a re-pin won't reach installed users.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ralphshao/ai-plugins --plugin ai-plugins3 skills in this plugin
/addAdd a new plugin to this marketplace from a GitHub URL or owner/repo slug, pinned to its latest release (or latest commit if it has none), in the Claude and Codex catalogs and the README table. Use for "add plugin", "add owner/repo to the marketplace", or /ai-plugins:add./removeRemove a named plugin from this marketplace, from the Claude and Codex catalogs and the README plugin table. Use for "remove plugin", "drop a plugin from the marketplace", or /ai-plugins:remove.Other plugins' skills for the same job