/tool-build-kit:build-pluginfrom tool-build-kit
Bundles skills, hooks, agents, or MCP servers into one installable Claude Code plugin and ships it. Walks through analyze, assemble, ship, and maintain phases tailored to audience.
Ships in tool-build-kit. 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.
Read when SKILL.md points to them.
Bundle many tools (skills, hooks, agents, MCP servers) into one installable Claude Code plugin and distribute it. The defining move of this skill: establish who the plugin is for and where it will live with AskUserQuestion before assembling anything, then tailor every phase to that answer. A personal one-project bundle and a public team marketplace share almost nothing past "assemble", so branch early and commit to the branch.
build-mcp builds one MCP server: analyze a service, implement the tools, deploy, scale. build-plugin bundles many tools (including MCP servers produced by build-mcp) into a single shareable unit and distributes it. When build-mcp reaches its Distribute phase for a team or public audience, it hands off here: packaging into a plugin and listing it on a marketplace is this skill's job. Use build-mcp to make a server, then build-plugin to ship it alongside your skills, hooks, and agents.
claude --plugin-dir.Run them in order. The AskUserQuestion answers from Phase 0 gate Ship and Maintain.
Before assembling anything, branch on the user's context. Ask the audience question first; it is the headline decision and it cascades into everything downstream. Then ask the git host only if it is still ambiguous. Ask one question at a time.
Question 1 (always, ask first): Audience:
Use AskUserQuestion:
Question 2 (conditional, skip for "Just me"): Git host:
Skip entirely for "Just me" (no remote needed). Ask for team or public:
owner/repo shorthand and Anthropic's public directory.https://...git URL, no GitHub mirror needed.Confirm the resolved tuple back to the user in one line before proceeding (e.g. "Bundling a team plugin of three skills plus one MCP server, hosted on a private GitHub marketplace repo"). That tuple drives the branch table below.
| Phase | Just me | Team/org (GitHub) | Team/org (GitLab/other) | Public |
|---|---|---|---|---|
| Ship | N/A, no marketplace. Load via claude --plugin-dir, or scaffold it in your skills dir (claude plugin init) to auto-load every session. | Marketplace repo on GitHub; entry source: {source:"github", repo:"org/repo"} or a relative "./path". Private repo optional to keep it internal. | Marketplace repo on GitLab/Bitbucket/self-hosted; entry source: {source:"url", url:"https://...git"}. | Public marketplace repo; entry by host as above. Be deliberate: anyone who knows the repo can install, and plugins run arbitrary code. |
| Enable | N/A, stop here. It is already loaded on your machine. | /plugin marketplace add org/repo then /plugin install name@marketplace; or auto-enable for the team via project .claude/settings.json. | /plugin marketplace add https://gitlab.com/team/plugins.git then /plugin install name@marketplace; same .claude/settings.json auto-enable. | Same commands; owner/repo shorthand is GitHub-only, others use the full URL. |
| Maintain | Bump version in plugin.json for a clean update boundary; you are the only user. | /plugin marketplace update; one maintainer per plugin; fixes land via merge request. Org-wide enforcement via managed settings. | Same, via the GitLab/other merge-request flow. | Same, plus a public changelog and a clear versioning policy. |
If a cell says "N/A, stop here" for the chosen branch, say so explicitly and move on. Do not pad it. The Enable row is the team-facing half of Ship (turning the marketplace on for colleagues), not a separate phase.
Reference files:
~/.claude/ tools in, local claude --plugin-dir testing, skill namespacing, claude plugin validate.marketplace.json shape, per-host source types, add and install commands, public vs private and auth..claude/settings.json auto-enable, org-wide managed-settings enforcement.Load only the references the current branch and phase need. Progressive disclosure.
Decide what goes in the bundle before you build the folder.
/my-plugin:skill) and the marketplace entry key.~/.claude/skills, ~/.claude/agents, or a personal settings.json will move into the plugin and the loose originals get deleted, so you do not run duplicates (assemble.md covers this).Deliverable: the plugin name plus a list of what it will contain. Confirm with the user before assembling.
Read references/assemble.md. Build the folder to the layout, write the manifest, then test locally.
plugin.json goes inside .claude-plugin/; skills/, agents/, hooks/hooks.json, and .mcp.json sit at the plugin ROOT..claude-plugin/plugin.json with name, description, version, author.claude plugin validate . checks the manifest and layout with no login. claude plugin details <name> lists the skills, hooks, and servers it discovered, also login-free. claude --plugin-dir ./my-plugin (it also accepts a .zip) loads it into a live session so you can invoke a tool; that one needs you logged in.For a "Just me" bundle this is the last substantive phase: it is loaded, it works, stop.
Only for team or public. Read references/marketplace.md, and references/team-enablement.md for the auto-enable path. Branch on the git-host answer.
.claude-plugin/marketplace.json at its root with name, owner, and a plugins[] entry for this plugin.source by host: relative "./path" if the plugin lives in the same repo, {source:"github", repo:"owner/repo"} for GitHub, or {source:"url", url:"https://...git"} for GitLab, Bitbucket, or self-hosted. There is no gitlab source type./plugin marketplace add owner/repo (GitHub shorthand) or the full https://...git URL for any other host, then /plugin install name@marketplace.Read references/maintain.md. Branch lightly; the mechanics are the same across hosts.
/plugin marketplace update or at startup.version in plugin.json so users get a clean update boundary; omit it and Claude Code treats every commit SHA as a new version.strictKnownMarketplaces), or a denylist (blockedMarketplaces) live in a managed-settings file, set by an admin, not per user (team-enablement.md).claude plugin validate) and its tools show up (claude plugin details); loading it via claude --plugin-dir in a session invokes at least one.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub techwolf-ai/ai-first-toolkit --plugin tool-build-kit2 skills in this plugin
Other plugins' skills for the same job