Claude Code plugins for a team: when you need one, and what building ours taught us
What a Claude Code plugin is, when a team needs one instead of files in the repository, three ways to get one to teammates, what it costs in every session, and what we got wrong building our own.
By Christian Buckner
We've built one Claude Code plugin, and it isn't for us. It's what we give other teams so their Claude Code can read and write Jackdaw. The whole thing is four hooks and one MCP server. Our own team's rules reach everyone a simpler way, as plain files in the repository: a CLAUDE.md, rule files under .claude/rules/, and git hooks.
I think that split answers the question most teams start with. If everything lives in one repository, commit the files and skip the plugin. A plugin earns its keep when the same setup has to reach several repositories, or people outside your team, or when you want to release it in versions.
What follows is from Claude Code's plugin documentation as of November 29, 2026, plus what went wrong while we built ours.
What a plugin is
A plugin is a folder that Claude Code installs and loads as one thing. A manifest at .claude-plugin/plugin.json names it, and the rest is whatever you want to bundle:
Only the manifest goes inside .claude-plugin/. Put a skill in there by mistake and it won't load.
Everything a plugin holds also works without one. A skill in .claude/skills/, hooks in a settings file and servers in .mcp.json do the same job for a single repository, which is what Claude Code for a team covers. What changes inside a plugin is the name. Skills and agents get the plugin's name in front, so /deploy becomes /my-plugin:deploy, and two plugins can each have a deploy without clashing.
The smallest one
A manifest and one skill is enough. Save this as team-tools/.claude-plugin/plugin.json:
Add a skill at team-tools/skills/release/SKILL.md (Claude Code skills for a team has five you could drop in), then check the folder before you run anything:
The second command loads the plugin for that one session without installing it. It's how I'd test every change.
If you already have skills and hooks under .claude/, you can copy the folders across and paste the hooks object from your settings file into hooks/hooks.json, since the format is the same. Delete the originals once the plugin works. A skill left in both places shows up twice under two names, and a hook left in both runs twice every time it fires.
Three ways to get it to teammates
| How | Who gets it | What each person does |
|---|---|---|
The plugin's folder inside the repository, at .claude/skills/<name>/ | Everyone who clones it | Trusts the folder when Claude Code asks |
A team marketplace, switched on in the repository's .claude/settings.json | Everyone who clones it | Trusts the folder, then runs one install command in each clone |
| The organization's Claude account, or managed settings | Everyone in the organization | Nothing |
The first is the one I'd reach for with a small team, and it's easy to miss. A folder under the repository's .claude/skills/ that has its own .claude-plugin/plugin.json is a plugin, and Claude Code loads it for anyone who has trusted the repository. Nobody installs anything.
It comes with limits, because the content arrives from the repository and not from you. Its MCP servers ask for approval one at a time, the same as a project .mcp.json. Its background monitors don't load. And Claude Code only looks in the .claude/skills/ of the folder the session started in, so a session started in a subfolder won't find it.
A marketplace is the route when the plugin lives in a repository of its own. A marketplace is just a git repository with one file, .claude-plugin/marketplace.json, that lists plugins and where to fetch each. From your project, run these two once and commit the .claude/settings.json they write:
Committing that file turns the plugin on for everyone, but it doesn't download it. Each teammate still runs the install command once in each clone, and until they do, the Errors tab of /plugin can show a line ending in isn't installed here. The marketplace entry itself only applies after they've trusted the folder. In a folder they haven't trusted, Claude Code skips it and says nothing.
The third route is for a whole organization. On a Team or Enterprise plan, you can share a marketplace from Organization settings on claude.ai, and plugins the organization turns on for its members sync into each person's Claude Code when they start it. Managed settings go one step further: put the marketplace and the plugin in there and Claude Code installs it at the start of everyone's next session, and nobody can switch it off.
Updates, and the version trap
If the manifest sets a version, Claude Code takes that string as the plugin's version. Push ten commits without changing it and claude plugin update tells everyone they're already on the latest. Leave version out and Claude Code uses the commit instead, so every push is a new version.
We set ours on purpose. Our plugin carries the same version number as our app, so a change only reaches people when we cut a release. For a team's internal plugin I'd leave the field out and let commits flow.
Either way, nobody gets updates from your own marketplace by themselves. Auto-update is on for Anthropic's official marketplace and off for one you host yourself. A teammate can turn it on in the Marketplaces tab of /plugin, or you can set "autoUpdate": true on the marketplace's entry in the settings file. Otherwise each person runs claude plugin update team-tools@your-marketplace, then /reload-plugins if they have a session open.
What it costs in every session
An enabled plugin is part of every session, whether or not you use it. The name and description of each skill and agent sit in Claude's context on every turn so that Claude knows they exist. To see the number, run this in your shell:
It prints an "Always-on" figure, which is the tokens the plugin adds to every session, and a row for each component. Shorter descriptions bring it down. The description is also what Claude matches a request against, though, so trim with care and check the skill still triggers.
Hooks don't count toward that figure, but a hook can print text into the conversation, and ours do. Before each prompt, our hook asks Jackdaw what the team already knows about the question. The first version asked for 1,200 tokens and then chopped the answer at a character count, which cut the last item in half. We changed it to keep whole items only, tried a few budgets against a set of questions about our own codebase, and settled on 2,000 tokens. If you write a hook that adds context, give it a fixed budget and cut between items. Each of our hooks also has a timeout of 12 or 15 seconds, so a slow network can't hold up a prompt for long.
A plugin runs as you
This is the part to read before you install anyone's plugin, ours included. Hooks are shell commands that run with your permissions, outside Claude Code's sandbox. MCP servers the plugin declares get connected, and one that runs locally is a process on your machine. Claude Code's permission rules cover the tool calls Claude makes. They don't cover what a plugin's hooks do by themselves.
So open the plugin's folder and read three things first: hooks/hooks.json for the command each hook runs, .mcp.json for each server's command or address, and everything in bin/. The details pane in /plugin tells you a hook exists but not what it runs.
As the author, that's on you from the other side. Our Stop hook sends each finished turn to the team's Jackdaw workspace, where teammates can read it. Anyone would want to know that before installing, so we say it on the install page, and we keep a test that reads our public pages and fails if one of them stops matching what the hook does. If your plugin sends anything anywhere, say what and to whom, on the page where people install it.
One folder, two tools
We wanted the same plugin to work in Codex as well. The folder carries a manifest for each tool, in .claude-plugin/ and .codex-plugin/, and a hooks file for each, while the scripts and the MCP server's address are shared. Inside hook commands we point at files as ${CLAUDE_PLUGIN_ROOT}/scripts/..., which is the form Claude Code's validator expects. The scripts have their own tests, which run without Claude Code, so most mistakes show up before a session ever loads the plugin.
How to check it loaded
claude plugin list shows what's installed and whether it's enabled. Inside a session, /plugin has an Errors tab that says why something didn't load, and /reload-plugins picks up a change without restarting. One thing that trips people up is that a cloud session at claude.ai/code doesn't read the plugins in your local settings. It loads the ones on your Claude account.
A plugin is packaging. Deciding what goes inside is the harder part, and for most teams that's a few skills and a hook or two. Start with those as plain files, and wrap them in a plugin the day a second repository needs them.
Sources
Read on November 29, 2026, all in Claude Code's documentation: the plugins overview, Create a plugin, Install and manage plugins, the plugin loading reference, Create a marketplace, Host and maintain a marketplace, Measure plugin cost and usage, Plugin security and trust and Manage plugins for your organization.