A skill is a written instruction that tells Claude Code how to do a job, kept in a file named SKILL.md (in the glossary). There are two ways to give your team a skill that works on your own machine. You either commit it to the .claude/skills/ folder in the repo, or you put the skill in a plugin and distribute it from a marketplace your team subscribes to. For most teams the first is enough. On the second path the setup takes a few commands, but whether a change you make reaches a teammate's machine depends on a few settings being right. The command and setting names on this page come from Claude Code's official docs.

First decide which path to take

A plugin is a Claude Code extension that bundles skills, slash commands, hooks and MCP servers into one package (in the glossary). A marketplace is a git repo or folder that keeps the list of these packages.

Question.claude/skills/ in the repoPlugin and marketplace
How many repos need the skillOne repoMore than one, everywhere the plugin is enabled
VersionThe repo's git historyThe plugin's version field, or pinning to a specific commit if you want
What a teammate has to doCloning the repo is enoughAdding the marketplace, and in some cases installing the plugin separately
Another skill with the same nameA personal skill shadows the project oneA plugin skill is called as /plugin-name:skill-name, so they don't clash
Who can change itAnyone who can write to the repoWhoever can write to the marketplace repo, and an admin can also limit which marketplaces can be added

My suggestion is to start with the repo path and wait until a second repo wants the same skill. Copy the same skill into five repos and over time the copies drift apart, and the question of which one is right costs more than the plugin's setup.

The path inside the repo

Put the skill in this folder and commit it. That's what the docs say for a team too, "commit it so your team gets it too".

.claude/
  skills/
    migration/
      SKILL.md

In the frontmatter, the part between the --- lines at the top of the file, the docs recommend only the description field. If you don't write a name, the folder name is used, here /migration. In the skill list, description and when_to_use are cut off together at 1,536 characters, so the end of a long description doesn't show in the list.

Claude Code looks for project skills from the folder you opened the session in up to the repo root. A .claude/skills/ in a subfolder loads when a file in that folder is read or edited. An open session notices a change to a skill file by itself. If a new parent folder was added, type /reload-skills.

When two skills have the same name, the order of precedence is enterprise, personal, project. If a teammate has an old copy under ~/.claude/skills/migration/, the skill in the repo never runs on their machine and Claude uses that old copy. If someone says "it behaves differently for me", this is the first place to look.

How a skill shows up as a slash command, and the .claude/commands/ files in the older format, are in the Claude Code commands guide.

On the plugin path, write the marketplace and validate it

The .claude-plugin/marketplace.json file sits at the root of the marketplace (marketplace docs). At the top level of the file, name, owner and the plugins array are required. Every plugin entry in the array needs a name and a source too.

{
  "name": "migration-helper",
  "source": "./plugins/migration-helper",
  "description": "The skill that knows the team's migration rule"
}

The entry's name has to match the name in plugin.json in the plugin folder. If they differ, the install fails with Plugin "migration-helper" not found in marketplace. When you rename the plugin, the same error shows up for everyone who installed it under the old name, so add the renames map that links the old name to the new one. A relative path is written from the marketplace root and can't step outside it with ... If you add the marketplace by URL, the plugins with relative paths inside it fail at install. Relative paths work in a marketplace added as a git repo or a folder. Give the marketplace a name that won't get mixed up with other authors' ones. Names like claude-plugins-official are reserved for Anthropic.

Try it on your own machine before you open it to the team.

claude plugin validate ./acme-tools
claude plugin marketplace add ./acme-tools
claude plugin install migration-helper@acme-tools

If you'd rather not set up this repo by hand, the open source TeamHandbook plugin sets up your team's shared repo as a Claude Code marketplace. It doesn't turn on auto-update by itself, so the update steps below apply to the repo it sets up too.

Connect the marketplace to your team's repo

If the repo is on GitHub, the short form acme/acme-tools is enough, and that short form always means github.com (hosting). On GitLab or another git server, give the full address, for example https://gitlab.example.com/team/plugins.git. Add #stable to the end and the marketplace is pinned to that branch or tag.

To register the marketplace for everyone working on the project, run this and commit the .claude/settings.json file it changes.

claude plugin marketplace add acme/acme-tools --scope project

The scope is which settings file the install is written to. project writes to .claude/settings.json in the repo and reaches everyone once committed, while user and local stay with you alone. If the same plugin is defined in more than one scope, local wins, then project, then user.

What the command writes comes down to two keys if you do it by hand. extraKnownMarketplaces registers the marketplace, and enabledPlugins says which plugin is turned on.

{
  "extraKnownMarketplaces": {
    "acme-tools": {
      "source": { "source": "github", "repo": "acme/acme-tools" }
    }
  },
  "enabledPlugins": {
    "migration-helper@acme-tools": true
  }
}

extraKnownMarketplaces in the repo settings applies only after your teammate confirms they trust the folder. If they haven't, it's ignored without any warning. In a script that runs with claude -p, it also works only in a folder that was trusted earlier in an interactive session (organization settings).

If the plugin is listed inside the marketplace with a relative path, it loads from there. If the entry's source is outside, like the plugin's own GitHub repo, enabledPlugins alone doesn't install it, and every teammate has to run this once.

claude plugin install migration-helper@acme-tools --scope project

Anyone who doesn't run it sees the warning Plugin "migration-helper" is enabled in project settings but isn't installed.

If the repo is private, Claude Code uses the git credentials on the machine without asking, and marketplace.json has no field for a token. A teammate on HTTPS should run gh auth login first, then gh auth setup-git. Without credentials, adding the marketplace fails without ever asking for a password.

When an update reaches a teammate

Claude Code downloads a new copy of a plugin only when the plugin's version changes. If you wrote a version in plugin.json, bump it with every release. Commits you push without bumping it reach no one, and everyone keeps working with the old copy in the cache. The docs say it plainly, "push new commits without changing it, users don't receive them". If you never write a version, Claude Code tracks commits. Don't write the version in both plugin.json and the marketplace entry. If the two differ, plugin.json wins and nothing tells you.

Auto-update starts off in every marketplace except Anthropic's own (keeping up to date). A teammate turns it on from the /plugin menu, under Marketplaces, with Enable auto-update. One way to turn it on for the whole team is the managed settings, the file an admin distributes to computers that sits above user settings. There you write "autoUpdate": true in the marketplace entry.

With auto-update off, the command that brings the new version to the machine is claude plugin update migration-helper@acme-tools. Update marketplace in the Marketplaces tab of the /plugin screen does the same job. claude plugin marketplace update acme-tools in the terminal, though, only refreshes the list, and the installed copy stays on the old version. The new version doesn't go into an open session. Claude Code writes Plugin updated: migration-helper · Run /reload-plugins to apply. The change loads in a new session or with /reload-plugins.

When a teammate says they don't see the change, check in this order.

CheckSymptomFix
Was the folder trustedThe marketplace isn't in the list at allHave them confirm they trust the folder
Is the plugin installedis enabled in project settings but isn't installedclaude plugin install ... --scope project
Did version go upThe commits are there, nobody has the new versionBump the version and merge again
Was the copy updatedThe list shows the new version, the skill runs the old wayclaude plugin update migration-helper@acme-tools
Was the session reloadedRun /reload-plugins to apply/reload-plugins or a new session

Take skill changes through a PR

Because the marketplace is a git repo, every skill change comes as a PR (pull request), the change request your team reads and approves. The docs have no separate process for reviewing skills, so what follows is my suggestion.

Look at the allowed-tools field in the frontmatter, because it decides which tools are used without asking in the turn the skill is called. That permission goes away with your next message, and for tools not on the list your own permission settings apply. If allowManagedPermissionRulesOnly, which accepts permission rules only from the managed settings, is on, this field is ignored in v2.1.282 and later. If the plugin is changing, also check whether it adds a hook or an MCP server. A plugin can run these on your machine, and the docs ask you to read what it adds before you install it.

As the team grows, an admin limits which marketplaces can be added with strictKnownMarketplaces in the managed settings, and closes some off with blockedMarketplaces. If you set up this allow list, put the { "source": "skills-dir" } entry in it too. Without it, folders under .claude/skills that carry a .claude-plugin/plugin.json don't load. Plain SKILL.md files aren't affected.

From here

When a piece of work should become a skill is covered in the article Where to start with Claude Code in a team. After the merge, the skill should show up in your teammate's / list. If it doesn't, go back to the update table above.

In TeamHandbook Orchestrator you see on the Team screen every skill your Claude Code loads and where it comes from (Your handbooks). A skill you wrote on your own machine goes to the team as a merge request (or pull request) through the TeamHandbook plugin's /handbook:share command. A skill with a secret in any file it carries is refused before it's copied to the team repo, and the refusal names the kind of problem and the file, never the secret itself. The orchestrator's details are on the TeamHandbook Orchestrator page, the plugin's on the TeamHandbook page.