/ai-plugins:add <github-url-or-owner/repo> [--path <subdir>] [--description <text>]from ai-plugins
Add 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.
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 add $ARGUMENTS (on Windows, ${CLAUDE_PLUGIN_ROOT}/scripts/run.ps1 add $ARGUMENTS). Both find a Python on PATH and run ${CLAUDE_PLUGIN_ROOT}/scripts/ai-plugins.py add.
The argument can be owner/repo, https://github.com/owner/repo(.git), or a https://github.com/owner/repo/tree/<ref>/<subdir> link. For a /tree/ link, the script pins that ref instead of the latest release, and searches only under that subdirectory.
What the script does:
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. It shallow-fetches that commit and finds .claude-plugin/plugin.json and .codex-plugin/plugin.json, at the repo root or nested.sha and, right after it, ref: the release tag, the default branch name, or the /tree/ ref. When the manifest is at the repo root, it writes a url source; when it is nested, a git-subdir source with that path. The Claude and Codex paths are detected independently, because they can differ within one repo.name, description, version, and author from .claude-plugin/plugin.json, or from .codex-plugin/plugin.json when there is no Claude manifest. --description replaces the README and Claude-catalog description..claude-plugin/plugin.json or .codex-plugin/plugin.json. Each catalog uses its own manifest's folder as the plugin root, and falls back to the other folder when its own manifest is missing, since Claude Code and Codex both load either layout.README.md's plugin table, and keeps all three lists sorted: ai-plugins first, then other local plugins, then remote ones, each group alphabetical.--path <subdir>.After running:
--description: first remove <name>, then add again.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ralphshao/ai-plugins --plugin ai-plugins3 skills in this plugin
/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./updateUpdate 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.Other plugins' skills for the same job