# Claude plugin marketplace: publish your skills as one

> Turn a GitHub repository of skills into a Claude plugin marketplace: the two JSON files, the folder layout, a check that can fail, and the install line.

Published 2026-11-26 · https://aiskills402.com/blog/claude-plugin-marketplace-publish-skills

To turn a GitHub repository of skills into a Claude plugin marketplace, add one JSON file, `.claude-plugin/marketplace.json`, that lists your plugin and says where its files are, and a second file, `.claude-plugin/plugin.json`, that names the plugin. Push the repository, and anyone can register it with one command and install the skills with another. No build step and no server are involved; the repository is the marketplace. This guide uses the small public repository we published the same way, shows both files in full, and finishes with a trial run that shows whether the setup works before you tell anyone.

## What a Claude plugin marketplace is, and what it is not

The smallest piece is a skill: a directory holding a `SKILL.md`. Above it sits the plugin: Claude Code's overview describes it as a directory of components, such as skills, subagents, hooks and server definitions, usually with a manifest ([Claude Code plugins overview](https://code.claude.com/docs/en/plugins)). A marketplace is one level above that: the same documentation defines it as a directory or repo carrying `.claude-plugin/marketplace.json`, a catalog of plugins plus the place each one is fetched from ([Create a marketplace](https://code.claude.com/docs/en/plugin-marketplaces)).

So the chain is skills inside a plugin, plugins listed in a marketplace. A repository of skills only needs the middle step if you want a single install command. For a simple collection, the plugin and the marketplace can live in the same repository and even the same folder, which is what we did.

The documentation is also clear about the cases where a marketplace is the wrong tool. Sending one plugin to a few colleagues needs only the plugin's folder or a zip of it. Offering a plugin to everyone goes through Anthropic's own directory. A marketplace of your own makes sense when you want a catalog that you control and that keeps users on your updates.

## Step 1: lay out the repository

Keep each skill in its own folder with its `SKILL.md`, exactly as for a plain skill. The Agent Skills specification fixes the frontmatter: `name` is mandatory, capped at 64 characters, limited to lowercase a-z, digits and hyphens, and equal to the folder name; `description` is mandatory too, capped at 1024 characters, and has to state the job of the skill together with the moment to reach for it ([Agent Skills specification](https://agentskills.io/specification)). Any client may choke on a skill that breaks them, so settle this before packaging.

Our public repository has this shape at its root: a `.claude-plugin` folder, a `skills` folder with one subfolder per skill, a `LICENSE` and a `README.md`. The plugin sits at the repository root rather than in a subfolder, which keeps the path in the next step short.

## Step 2: write plugin.json

According to the plugins overview, the manifest supplies the plugin name and may add a version, a blurb and further metadata. Ours is small:

```json
{
  "name": "aiskills402",
  "version": "1.0.0",
  "description": "Three free tested skills from aiskills402.com",
  "author": { "name": "Georgi Kalchev", "url": "https://aiskills402.com" },
  "homepage": "https://aiskills402.com",
  "repository": "https://github.com/paranormalen2/aiskills402-skills",
  "keywords": ["agent-skills", "skills"]
}
```

The `name` matters more than it looks. The documentation says the manifest name becomes the prefix on every skill the plugin ships, which is how a user ends up typing `/aiskills402:<skill>`. Pick a name you will not want to change, because users learn it.

## Step 3: write marketplace.json

This is the file that makes the repository a claude plugin marketplace. Per the documentation, three top-level fields are mandatory (`name`, `owner`, `plugins`), and every object inside `plugins` must carry a `name` and a `source`. Here is ours, trimmed slightly:

```json
{
  "name": "aiskills402",
  "description": "Free sample skills from aiskills402.com",
  "owner": { "name": "Georgi Kalchev", "url": "https://aiskills402.com" },
  "plugins": [
    {
      "name": "aiskills402",
      "source": "./",
      "description": "Three free skills for translation, spreadsheets and MCP schemas",
      "category": "productivity",
      "tags": ["skills", "i18n", "spreadsheet", "mcp"]
    }
  ]
}
```

Three rules from the documentation save the most time:

- A relative `source` is written from the marketplace root, the folder that contains `.claude-plugin`, and must not use `..` to climb out of it. A plugin in a subfolder would say `./plugins/name`; ours is at the root, so `./`.
- The entry name in `marketplace.json` and the name in `plugin.json` must be the same. Should they differ, installing under the manifest name fails with a "not found in marketplace" message.
- The marketplace's top-level name should be unlikely to collide, because two marketplaces sharing one name cannot coexist on a user's machine, and some official names are reserved and refused.

A plugin that lives in another repository does not need to be copied in. The documentation lists source types for that case, among them a GitHub repository of its own and a subdirectory of a monorepo, and you can pin them to a fixed ref.

## Step 4: prove it, and let the proof fail

Run the built-in validator on the marketplace folder:

```bash
claude plugin validate .
```

On success the last line reads "Validation passed". Do not stop at the green line, because the documentation is explicit about what the validator cannot see. It reads only files inside the marketplace folder and reports JSON syntax errors, missing required fields, bad names, a `..` in a relative source and problems in each relative plugin's manifest. A relative path aimed at a directory that is missing passes validation and fails only at install time, and a wrong remote repository shows up only when someone installs.

Give the proof a way to fail, in two steps. First damage the file on purpose, for instance by leaving a stray comma in `marketplace.json`, and confirm the validator turns red; a validator you have never seen fail has told you nothing. Second, run the real loop from a clean state: register the marketplace, install, list.

```bash
claude plugin marketplace add ./
claude plugin install aiskills402@aiskills402
claude plugin list
claude plugin details aiskills402
```

The install id is the entry name, an at sign and the marketplace name. `details` prints a component inventory; read it and confirm that the number of skills equals the number of folders you meant to ship. Then remove everything with `claude plugin marketplace remove aiskills402`, which also uninstalls its plugins, so your test leaves no trace. Do this once more against the pushed GitHub repository, not the local folder, because that is the path your users take.

## Step 5: tell people the install line

Once the repository is public, the documentation gives the form: `claude plugin marketplace add <owner>/<repo>` for a GitHub repository, then an install by name. Inside a session the same thing is available as `/plugin marketplace add owner/repo`. Put both lines near the top of the README, since most people will copy them and never read further. For our repository the pair is `/plugin marketplace add paranormalen2/aiskills402-skills` followed by the install.

If you have already written the README for a skill, keep the paragraph about what each skill does next to the install lines. Someone choosing between three skills decides from that sentence, not from the folder names. How to write the skill itself is a separate job, covered in our guide on [how to author a skill file and trial it first](/blog/skill-md-write-and-test).

## Before you invite strangers to install

A marketplace turns your files into something other people run on their own machines, so the content deserves the review you would give any code you were asked to install. Skills can carry instructions the reader never sees at a glance, and what can go wrong when installing a stranger's skill is set out in our piece on [what installing a stranger's skill can cost you](/blog/agent-skills-security-risks). Read your own skills as an outsider would, and choose a licence on purpose, since it decides who may copy and reuse the files.

## Our skills for this topic

- [SKILL.md reviewer](/skills/skill-md-review): checks a single `SKILL.md` for frontmatter and body problems before you publish it, and ends with one verdict.
- [Claude Code settings checker](/skills/claude-code-settings-review): reads a pasted Claude Code configuration and flags keys and hook rules that fail without an error.
- [Claude Code memory checker](/skills/claude-code-memory-review): reads a pasted memory setup and flags imports and rules that silently never load.

## When this does not apply

What you read above concerns a small marketplace hosted on GitHub, and the one working example is a single repository of ours. Claude Code changes quickly: the commands, the validator's messages and the list of source types are those in the documentation we read on 26 November 2026, and a later release may differ, so check the current pages first. Nothing here covers private repositories, update and version policy, or requiring a marketplace across an organization; the documentation has separate pages for those. A marketplace also does not make anyone find your skills. It gives people an install command, and the work of being found is separate. If you only share skills with yourself or a few colleagues, a folder in the skills directory or a zip is simpler and needs none of the JSON above.
