OmniscioGuidesPublish a Claude Code plugin
Publish a Claude Code plugin
A plugin that only you can run is a script. Publishing it is what turns it into something a teammate installs by name and updates with a command — and the whole mechanism is smaller than it sounds: one catalog file, one validation run, and a version rule you keep.
This page covers the three distribution routes, the checks to make before a release, how a marketplace file works, how users receive updates, and the naming rules that strand existing installs when you break them.
Sources read on November 22, 2026. By the Omniscio team. Updated .
Choose how to distribute
There are three routes, and the right one depends on who needs to install the plugin:
| Route | Who can install | What you need | Automatic updates |
|---|---|---|---|
| No marketplace | People you send the folder or a .zip to | The plugin's folder | None; they load the copy you sent |
| Your own marketplace | Anyone who can reach the repository, including a private one your team can clone | A git repository or other host with a .claude-plugin/marketplace.json | Off |
| Anthropic's directory | People who add it on claude.ai or in Cowork, which also loads it in their Claude Code sessions through account sync | A GitHub repository holding the plugin and a paid claude.ai plan to submit from | Yes, after the version you push is published |
Auto-update, where it exists, is a per-marketplace setting on the user's side: it fetches new versions in the background.
Prepare the plugin for release
The name, the version, validation and an install from a real marketplace decide whether a release works for the people who install it. The steps below cover those, plus the metadata users see and an eval run. Do them before the first release and again before each later one.
- Choose a permanent name. Users install by
name@marketplace, so a rename makes it a different plugin to every existing install. Use a kebab-case name such asdeploy-helper, becauseclaude plugin validatewarns on other forms, and setdisplayNamefor the label users see. - Decide how you version. If
plugin.jsonsetsversionand a later push does not change it,claude plugin updatereports it is already at the latest version and users keep the old copy. Either increment it every release, or omit it in a git-hosted marketplace so the commit SHA is used. - Validate. Run
claude plugin validate --strict ./your-plugin; a clean run prints✔ Validation passed. Inside hook commands and MCP server configs, refer to files by the plugin root variable, as${CLAUDE_PLUGIN_ROOT}/...; validation reports component paths that do not start with./. - Install it from a local marketplace. Add a local marketplace with
claude plugin marketplace add ./path-to-marketplace, install the plugin from it, and start a session to confirm it loads. - Fill in the metadata. Set
description,author,homepageandrepositoryinplugin.json, add aREADME.mdat the root, and make surehomepageparses as a URL; the manifest reference lists every field. - Run your eval suite if you have one:
claude plugin evalruns the plugin's test cases and scores them, which catches regressions when the plugin changes.
In CI, keep --strict: it fails the run with exit code 1 on warnings such as an unknown manifest field or a missing version. If you deliberately omitted version, drop the flag instead.
Share a plugin without a marketplace
For a handful of people, a marketplace is unnecessary. In a git repository they can clone the checkout, or start Claude Code with --plugin-url pointed at a .zip attached to a release; outside one, send the directory or a .zip of it.
They load it one of two ways: for one session, claude --plugin-dir ./deploy-helper — the path can be the clone, the unzipped folder or the .zip itself; for every session, they move the plugin directory, with its .claude-plugin/plugin.json, under ~/.claude/skills/, where Claude Code loads it at startup unless an administrator has blocked skills-directory plugins.
Adding a .claude-plugin/marketplace.json to that same repository is what upgrades this to install-by-name with a command.
Publish through your own marketplace
Your own marketplace is a .claude-plugin/marketplace.json file in a git repository. Once the file is there, the plugin is published — there is no submission step. The file can live in the plugin's own repository or in a separate one, and its entry name must match the manifest name.
{
"name": "your-marketplace",
"owner": { "name": "Your Name" },
"plugins": [
{ "name": "deploy-helper", "source": "./" }
]
}Run claude plugin validate . in the repository before you push. Pick a marketplace name other authors are unlikely to use, because a user cannot have two marketplaces with the same name.
Anyone who can clone the repository can install from it, so a private repository is a private marketplace. Tell users two commands — add the marketplace once with claude plugin marketplace add your-org/your-marketplace, then install with claude plugin install deploy-helper@your-marketplace. Inside a session, /plugin install deploy-helper --marketplace your-org/your-marketplace does both in one command, on Claude Code v2.1.275 or later.
How users get a new version
Either they ask — claude plugin update deploy-helper@your-marketplace refreshes the marketplace and installs the new copy when the version changed — or auto-update is on for your marketplace and does the same on a delay after the session starts. Auto-update is off by default for your marketplace until you turn it on.
Submit to Anthropic's directory
Anthropic's directory is the catalog people browse on claude.ai and in Cowork. One listing there also reaches Claude Code, because a plugin installed from the directory loads in a session as <name>@synced.
Submitting needs a paid claude.ai plan. On Pro, Max and Ultra you submit from your own account; on Team and Enterprise an Owner can submit, and on Enterprise an Owner can grant the Directory permission to other members through a custom role. You submit from the developer portal at claude.ai/directory/manage.
Before submitting, run claude plugin validate ./your-plugin --strict locally — but note the portal applies additional directory rules the CLI does not check, so a clean local run does not guarantee a clean portal validation. It is also worth checking which components load outside Claude Code: some plugin components are Claude Code-only and do not appear on claude.ai or in Cowork.
Anthropic's official marketplace, claude-plugins-official, does not take submissions through the directory portal; that route runs through an Anthropic partner contact.
Versions, releases, renames and dependencies
For your own marketplace, a new version is the manifest's version incremented and pushed. Tag the release with claude plugin tag, which creates a {name}--v{version} tag (add --push to send it to origin), because a version range other plugins declare on yours resolves against tags.
Never change a published plugin's name. Existing installs are recorded under the old name, so a rename loses the plugin for those users; a renames entry in the marketplace file migrates them instead. If your plugin needs another plugin from the same marketplace, list it in the manifest's dependencies array as a bare name or an object with a semver range, and Claude Code installs and enables it too.
Marketplaces hosted on your own GitHub instance change the install commands and credentials; the GitHub Enterprise Server guide covers that case, and the mods guide covers the interface mods a plugin can ship.
Where these answers come from
- Everything on this page about the distribution routes, the pre-release checks, marketplace files, updates, the directory and dependencies: Publish and distribute a plugin, read November 22, 2026.
- The version number in the in-session one-command install, v2.1.275, is that page's own minimum, quoted as it appears.
No plugin was published to write this page: every command, field and version requirement is Anthropic's own wording from the page named above.
Common questions
How do I publish a Claude Code plugin?
Add a .claude-plugin/marketplace.json file that lists the plugin to a git repository. Once that file is in the repository the plugin is published, with no submission form. To reach people on claude.ai and in Cowork as well, you can also submit it to Anthropic's directory.
Do users get my updates automatically?
From your own marketplace, no: auto-update is off by default for a marketplace, and users get a new version with claude plugin update or by turning auto-update on. A plugin listed in Anthropic's directory reaches Claude Code users through account sync after the version you push is published.
What does claude plugin validate check?
It checks the plugin's manifest and component paths. With --strict it also fails with exit code 1 on warnings such as an unknown manifest field or a missing version, so it is meant for CI as well as for a single run before release.
Can I rename a published plugin?
Not without a migration. Users install by name@marketplace, so a renamed plugin is a different plugin to every existing install and those users lose it. A renames entry in the marketplace file migrates them instead, and displayName is the field to change for a different label.