A Claude Code plugin is a folder that Claude Code loads as one unit: skills, subagents, hooks, MCP servers, or a mix of them, under the name its manifest gives. This guide packages two skills as a plugin, validates and audits the folder, tests the ZIP file a buyer downloads, and states the client requirements in the listing. How to sell Claude skills covers the rights you need, a single skill’s package, and the rest of the listing, so this guide covers what a plugin changes.
The steps follow one example, Release Tools. The Release Tools sample ZIP file holds a plugin with two skills for one release workflow. Change Record Check reports whether a release’s change records are ready, and Buyer Release Notes, from the skill guide’s sample, drafts release notes from the same records. On Nov 27, 2026, we validated the plugin with Claude Code 2.1.325 on macOS 27.2.1, loaded it from the extracted ZIP file, ran both skills, and broke copies of it on purpose to record what Claude Code reports. What the test covered gives the conditions. Claude on the web, Cowork, and other clients weren’t tested.
A skill is one folder with a SKILL.md file, and a buyer installs it by copying that folder, as
How to install a skill in Claude Code, Codex, or Grok Build shows. A
plugin puts one or more skills, and anything else Claude Code loads, in one folder with a manifest
that names the set and can give it a version.
Claude Code’s plugin overview (opens in a new tab)
describes both, and
Do I need a plugin, or is a skill enough?
compares a skill run on its own and inside a plugin, beside subagents and instruction files.
Package a plugin when:
- The product is several skills that a buyer uses together. Release Tools checks a file of change records with one skill and drafts from the same file with the other.
- You want one version for the whole set. Claude Code reports the manifest’s version for the plugin, and it can match your ZIP file and README.
- The skills need names that can’t collide with the buyer’s own. Claude Code puts the plugin’s name
in front of each skill, so the sample’s commands are
/release-tools:change-record-checkand/release-tools:buyer-release-notes. - The product includes components beyond skills, such as a subagent or an MCP server, that a buyer would otherwise set up one at a time.
Sell a single skill when one skill does the job: its command has no prefix, and its folder has no hidden part to lose. Bundle only the skills that belong to the workflow, because an enabled plugin is part of every session. For each skill that Claude can choose on its own, the name and description stay in Claude’s context whether the skill is used or not, as What an enabled plugin adds to your sessions (opens in a new tab) explains. The manifest and the prefixed commands in this guide are Claude Code’s, and we tested no other client.
The sample ZIP file holds one folder, named for the plugin:
.claude-plugin/plugin.json: The manifestskills: One folder for each skill, named as the skill’snamefield and holding itsSKILL.mdexamples: The inputs the skills read and the hand-authored results to compare withREADME.md: Requirements, the commands in this guide, troubleshooting, and limitsLICENSE.txt: The sample’s CC0 dedication
SKILL.md format and a working example explains what each skill’s file holds.
Only the manifest goes in .claude-plugin. The skills folder and every other component sit at the
top of the plugin folder, where
Claude Code’s plugin layout (opens in a new tab)
places them. Keep README.md at the top of the plugin folder too: Kurodyne shows it on the product
page.
Check your rights to every file, as the
skill guide’s rights section describes.
The sample reuses the Buyer Release Notes skill, unchanged, under that sample’s CC0 dedication. When
your plugin includes someone else’s skill, script, or server, identify it and its terms with the
third-party notices guide. Leave LICENSE.txt out of your own product,
along with the license fields in the manifest and in each SKILL.md and the README’s CC0
statements: buyers receive your product under the Kurodyne Commercial License.
The sample’s .claude-plugin/plugin.json:
nameis the only required field, and it becomes the prefix of every command. Use lowercase words joined by hyphens, and name the plugin for what it does. Claude Code’s validator refuses a name that starts withclaude-, as Fix other manifest and folder mistakes shows. Changing the name later changes every command in your README.versionis what Claude Code reports for the plugin. Keep it equal to the version in your ZIP file’s name and README.descriptionappears in the plugin’s details, as the inventory under Audit every hook and tool grant shows. Replace the sample’sauthorwith your own.
Claude Code’s manifest reference (opens in a new tab) documents every field.
Open a terminal in the plugin folder and run:
This excerpt of the recorded output for the sample keeps the five lines this section discusses, with
<folder> in place of the folder’s full path:
Read it from both ends:
- The first line names what Claude Code validated.
Validating plugin manifest, followed by the path of yourplugin.json, means that it found the manifest. - The last line is the verdict, and the command exited with code 0.
- Between them come a plugin directory warning,
ICON_MISSING, that the plugin has no icon, and advice to add an install line to the README. Both concern other ways to distribute a plugin, and each says that it doesn’t change the result. A plugin that buyers download as a ZIP file needs neither, so keep that install line out of your README.
The sample also passes claude plugin validate . --strict, which treats warnings as errors. The
plugin directory warning didn’t count.
Claude Code documents
which files validation reads (opens in a new tab),
validation exit codes (opens in a new tab),
and
README install-line advice (opens in a new tab).
A pass doesn’t show that the package is complete. In our tests, validation also passed a plugin with no manifest, a plugin whose skills didn’t load, and a plugin with no README, as Repair a package that fails to validate or load records.
What a plugin runs, it runs on the buyer’s computer with the buyer’s permissions. Before you ship,
find everything in the plugin that runs a command, starts a program, or lets Claude use a tool
without asking, and make the README say the same.
Claude Code’s plugin security page (opens in a new tab)
names what to look for, including hooks, monitors, MCP and LSP servers, programs in a bin folder,
and the skills themselves. Some of these run without a request from the buyer. Claude Code
registers a plugin’s hooks (opens in a new tab)
when a session loads the plugin, and they fire on their events from then on. It runs the plugin’s
MCP servers alongside the session, and it starts each monitor when the session starts or, for a
monitor that names a skill, the first time that skill runs. Monitors don’t start in a claude -p
session like the ones in this guide’s tests. A skill can also run shell commands of its own, written
as !`command`, before Claude reads it, as
Claude Code’s skills page (opens in a new tab) explains.
Start with the inventory, which reads the folder without starting a session:
The sample’s inventory, without the token estimate that follows it:
The inventory counts some components and doesn’t show what they do. To see how much it reveals, we
added a harmless example of each kind to a copy of the sample: a SessionStart hook and a
PostToolUse hook, a monitor, a program in bin, a skill line that runs a shell command, and an
allowed-tools grant for that command. The commands in them would only have created empty files in
a test folder. Validation printed the same result as for the sample. The inventory showed
Hooks (2) SessionStart, PostToolUse, which names the hooks’ events without their commands, and
nothing for the monitor, the program, the skill’s command, or the grant. Neither validation nor the
inventory ran any of them: no file appeared. So read the files as well, from the plugin folder:
The first command finds tool grants, skill hooks, and shell commands in the Markdown files. The
second finds the hook, monitor, and server files and any bin folder. On the sample, both print
nothing. On the copy, they printed this, with <markers> in place of the test folder’s path:
We also ran both commands in interactive Bash and Zsh shells, which printed the same lines. Read
workflows/ and plugin.json too. Inspect inline commands, hooks, monitors, and servers, and
follow any paths the manifest gives for them or for workflow scripts. If a hooks file lists
JavaScript modules,
read those files as well.
Claude Code’s manifest reference (opens in a new tab)
identifies the fields.
Keep only what the product needs. For each hook, monitor, server, program, shell command, or tool grant you keep, say in the README what it does and when it runs. Release Tools has none, and its README says so. What to check before installing a skill shows what a buyer checks in a skill’s settings before using it, and How to harden an agent skill against indirect prompt injection shows how to scope each skill to read-only work.
Compress the plugin folder, not the files inside it, so that the ZIP file holds one folder named for
the plugin. Extracting it then gives the buyer one folder to load or copy, and that folder keeps the
plugin’s name from one release to the next. Kurodyne reads README.md from the top of a ZIP file
or, when one folder holds every file, from that folder, so the README still appears on the product
page.
Check for the hidden folder before you upload. .claude-plugin starts with a period, so macOS
Finder and many Linux file managers don’t show it, and a package assembled by copying the visible
files loses the manifest.
Package limits and file rules explains how to show
hidden files and which tools build a ZIP file that Kurodyne accepts. Then list the contents:
The list must include release-tools/.claude-plugin/plugin.json. The sample’s list has 10 files.
Test the ZIP file you’ll upload, extracted into a new folder with none of your development files
beside it. These are also the steps to write into your README, because they’re how a buyer loads a
plugin from a downloaded folder. We ran each prompt below through claude -p, without the
interactive screen, as What the test covered explains.
Open a terminal in the extracted release-tools folder and run:
--plugin-dir loads the plugin for that session and installs nothing, as
Claude Code’s reference for session-only plugins (opens in a new tab)
describes. --permission-mode default starts Claude Code in manual permission mode. Then ask what
loaded:
What skills are available?In our test, the answer listed release-tools:buyer-release-notes and
release-tools:change-record-check with their descriptions, beside the other skills in the session.
Start your message with a skill’s command. The check reads the file you name:
/release-tools:change-record-check examples/release.jsonThis is the recorded response:
The verdict line and the three sections come from the skill’s instructions, so they show that the skill ran. The second command drafts from the same file:
/release-tools:buyer-release-notes Draft release notes from examples/release.json.It returned the Buyer Actions, Changes, and Review Notes sections with the same facts as the skill guide’s recorded result.
Two more checks ran from the same folder. On examples/release-with-problems.json, the check
returned Verdict: Not ready and listed the breaking change that has no buyer action and both
records that share an ID. In a new conversation, a request in plain words loaded the check without
its command and returned the same report:
Check the change records in examples/release.json before I draft the release notes.To check that each skill improves its task, run its cases with and without it, as Test a Claude skill before you sell it does for a project skill.
A buyer works in their own project, with the plugin somewhere else. From a separate folder that held
only release-records.json, a copy of the records with problems, we gave --plugin-dir the
location of the extracted plugin folder. For a plugin extracted to ~/Downloads/release-tools, the
command is:
A plain request for release notes from that folder’s release-records.json loaded the Buyer Release
Notes skill, which read the file and flagged, under Review Notes, the same two problems that the
check reports.
--plugin-dir also takes the ZIP file itself. With the sample ZIP file’s path in place of the
folder, claude plugin list showed the plugin as loaded at version 1.0.0. We ran no session that
way, and a buyer should extract a package and read it before loading it.
For a plugin the buyer wants in every project, Claude Code’s documentation gives the personal skills
folder. A plugin folder in ~/.claude/skills/ that holds its .claude-plugin/plugin.json loads
when a session starts, unless an administrator has blocked such plugins, as
Claude Code’s instructions for sharing a plugin folder (opens in a new tab)
describe:
We ran these commands with a separate configuration folder in place of ~/.claude, and
claude plugin list showed release-tools@skills-dir at version 1.0.0 with the status loaded.
No session ran from that location.
To update, the buyer replaces the folder instead of copying over it, as
Update an installed skill explains for a
skill folder. In our check, removing the folder and copying the release again left a copy equal to
the release, without a file we had added to the old copy. After we deleted the folder,
claude plugin list printed No plugins installed.
Validation stops on a manifest that Claude Code can’t read. It doesn’t stop on a package whose parts are missing or misplaced, so check the version and the skill count as well as the verdict.
For the test, we deleted .claude-plugin from a copy of the extracted plugin, which is what copying
only the visible files does. claude plugin validate . still ended with Validation passed. Its
first line changed to:
The plugin directory checks gained a note that included
MANIFEST_NOT_FOUND. No .claude-plugin/plugin.json. Loaded with --plugin-dir, the copy still had
both skills, because the manifest is optional: without one, Claude Code loads the components in the
standard layout and, with --plugin-dir, names the plugin after its folder, as
Claude Code’s manifest reference (opens in a new tab)
explains. claude --plugin-dir . plugin details release-tools listed Skills (2), and
claude --plugin-dir . plugin list showed:
A folder named for the plugin hides the loss until something depends on the manifest:
-
In a folder named
release-tools-1.0.0, the plugin becamerelease-tools-1.0.0@inline. No session ran in that folder; because each command starts with the plugin’s name, we expect both commands to change with it.claude --plugin-dir . plugin details release-toolsanswered:Plugin "release-tools" not found. Run `claude plugin list` to see installed plugins, or pass --plugin-dir <path> to load one from disk. -
Copied to the personal skills folder of our separate configuration, the folder didn’t load as a plugin:
claude plugin listprintedNo plugins installed.and no error.
To repair it, copy .claude-plugin back into the plugin folder, rebuild the ZIP file from the
folder, and list its contents again. After the repair, validation named the manifest in its first
line, and claude --plugin-dir . plugin list showed Version: 1.0.0. When a plugin whose manifest
sets a version reports Version: unknown, Claude Code didn’t find the manifest.
Each of these is one recorded run on the extracted sample or a copy of it:
- A trailing comma after the last field of
plugin.json. Validation printedjson: Invalid JSON syntax: JSON Parse error: Property name must be a string literalandValidation failed, and exited with code 1.claude --plugin-dir . plugin listprintedFailed to load plugin: Plugin release-tools has a corrupt manifest file. With the comma removed, validation passed and the plugin loaded at version 1.0.0. - The name
claude-release-tools. Validation failed withPlugin name "claude-release-tools" is reserved: it passes as one of Anthropic's own, although the plugin still loaded. The namerelease-tools-for-claudepassed with a warning that itreads as one of Anthropic's own. Name the plugin for what it does, and keep Anthropic’s names out of it, as Name a skill for Claude Code explains. - The
skillsfolder inside.claude-plugin. Validation passed and the plugin loaded at version 1.0.0, but the inventory showedSkills (0). Movingskillsto the top of the plugin folder restoredSkills (2). - No
README.md. Validation passed, and its plugin directory checks reportedREADME_MISSINGwithout changing the result. Check for the README yourself, because buyers read it on the product page. --plugin-dirpointed at a folder that isn’t the plugin. With theexamplesfolder,claude plugin listlisted no session-only plugin and printed no error, andclaude plugin details release-toolscouldn’t find therelease-toolsplugin. A path that doesn’t exist printedPath not found.
Claude Code’s plugin troubleshooting (opens in a new tab) lists the other validation messages.
Write the listing as Write the listing around the deliverable describes, and add what a plugin changes:
- Title: Name what the plugin does, such as “Release Notes and Change Record Checker”. Name a skill for Claude Code quotes Anthropic’s terms on using its names.
- Description: Say that the product is a Claude Code plugin, name each skill with its command, and state what the plugin runs besides skills. For the sample: two skills, and no hooks, monitors, programs, MCP servers, or tool grants.
- Product type: Choose the type that describes the plugin’s main deliverable. For the sample, whose deliverable is two skills, that’s Agent skill.
- Public requirements: Keep the skill guide’s account entry and change these two:
- Software: List Claude Code, with “Tested with 2.1.325 in a terminal on macOS 27.2.1” as its version or detail.
- Other requirements: Write “Loads as a plugin with claude --plugin-dir. The commands use Bash or Zsh. Contains two skills and no hooks, monitors, programs, MCP servers, or tool grants.”
State the limits in the README too. Name the client and version you tested, and say that the names and descriptions of an enabled plugin’s skills are part of each session. Don’t extend the claim to other clients or releases without testing them.
Don’t rely on the manifest to enforce a client version. Claude Code’s manifest reference documents
an engines field for the versions a plugin works on, and notes that versions 2.0.15 through 2.1.75
reject a manifest that has it. With a range that our client didn’t meet, validation passed, and
claude --plugin-dir . plugin list loaded the plugin with this note:
Note: It needs Claude Code >=2.1.400, this is 2.1.325. It loads anyway, because it's read from a local folderThe sample leaves the field out and states its tested version in the README.
We recorded these results on Nov 27, 2026, with Claude Code 2.1.325 on macOS 27.2.1. Every check started from the final sample ZIP file: the folder extracted from it into a new folder, a copy of that folder, or the ZIP file itself.
Six Claude sessions ran, each new: the list of skills, each skill by its command, the check on the
records with problems, the check requested in plain words, and the plain request for release notes
from a separate folder. A second run of the list and of the check by its command, from a new
extraction of the same ZIP file, listed the same two skills and returned the same report. Each
session ran without the interactive screen through claude -p in manual permission mode, using
claude-sonnet-5-5 at medium effort, with only file reading and skills available, the project’s
own settings, no MCP servers, and the plugin loaded by --plugin-dir. The other skills that the
client listed, and four plugins built into it, were loaded too. Claude used none of those skills.
The validation, inventory, and failure results come from claude plugin validate,
claude plugin list, and claude plugin details, which start no session. We checked the personal
skills folder the same way, with a separate configuration folder. Kurodyne’s package analysis, run
on the ZIP file outside the Product Editor, found the complete README, the license file, and both
skills and reported no findings.
The record doesn’t cover the interactive screen, the folder trust prompt, a session with the plugin loaded from the personal skills folder or from the ZIP file itself, a hook, monitor, server, program, shell command, or tool grant running in a session, an upload through the Product Editor, Windows or Linux, Claude on the web, Cowork, the Claude API, or any other client. A later Claude Code release can change the messages. The output quoted here is from 2.1.325.
Once the folder validates, the audit matches the README, and a fresh copy of the ZIP file loads and runs both skills, upload the ZIP file in the Product Editor’s Files section and check its Package checklist. Download the package from the same section and repeat the fresh installation from that copy, which is the file buyers receive. Then follow Publish your first product.