Skip to content

Plugin Format

Stuart Jackson edited this page Nov 22, 2026 · 5 revisions

Plugin Format

Where each field lives in .claude-plugin/marketplace.json and in each plugin's .claude-plugin/plugin.json, which one wins, and what Anthropic's plugin directory requires. The short version: the marketplace file stays minimal, and each plugin's metadata lives in its own plugin.json.

Field behaviour on this page was checked against claude plugin validate (Claude Code 2.1.330) and the official marketplace reference and plugin manifest reference. Re-check with the validator before relying on a field the docs have since changed.

Marketplace file

The marketplace file MUST hold name (augur), description, owner, and plugins. owner carries name, email, and url; url is where the marketplace links to www.simpleapps.com. A top-level homepage is not a field: the validator warns and Claude Code ignores it.

The marketplace file MUST NOT set version, at the top level or on any plugin entry. Versions live only in plugin.json (see Versioning).

Optional top-level fields, added only when needed:

Field Use when
forceRemoveDeletedPlugins: true Retiring a plugin: removing it from plugins then uninstalls it from users
renames Renaming a plugin: maps the old name to the new one (or to null for a removed plugin) so existing installs follow
metadata.pluginRoot Never here: lets source drop the ./plugins/ prefix, needs Claude Code 2.1.239+, and saves nothing
$schema Never here: the URL Anthropic's own marketplace uses returns 404 and Claude Code ignores the field

Plugin entry vs plugin.json

Each plugin entry in marketplace.json MUST carry name and source (./plugins/<name>), and SHOULD carry category. It MAY carry tags. Those fields exist only in the entry: plugin.json has no category or tags.

Everything else about the plugin MUST live in plugin.json, so one file is the source and Anthropic's directory reads it:

Field Value for augur plugins
name Matches the directory and the entry
displayName Human name shown in place of name
description What it does, for whom. Shown in /plugin and in claude.ai Customize > Plugins
version CalVer, see [[Versioning
author {"name": "SimpleApps", "email": "info@simpleapps.com", "url": "https://www.simpleapps.com"}. The validator warns when author is missing
homepage https://www.simpleapps.com (MUST parse as a URL)
repository https://github.com/simpleapps-com/augur-plugins
license MIT (SPDX id)
keywords A few discovery terms
icon Path to the icon, see [[Plugin directory
privacyPolicyUrl https://www.simpleapps.com/privacy. Required in practice for any plugin with a connector: the directory warns without it

Why plugin.json and not the entry. For displayName, description, author, homepage, repository, license, and keywords, an entry value overrides plugin.json for display. A copy in both places means the entry silently wins when they drift. version is the exception: plugin.json always wins over the entry. icon and the other directory listing fields (documentationUrl, supportUrl, privacyPolicyUrl, termsOfServiceUrl) are valid only in plugin.json.

Category. Free text, but SHOULD come from the set Anthropic's own marketplace uses, so it groups sensibly. The common ones are development, productivity, database, monitoring, security, deployment, design, and automation.

Fields to avoid

  • engines MUST NOT be used. Claude Code 2.0.15 through 2.1.75 reject the whole marketplace file if any entry has it, which breaks every plugin for those users, not just one.
  • relevance MUST be an object with topic and signals if used at all. A string is ignored with a warning.
  • strict stays at its default (true). It governs component fields (commands, agents, skills, hooks, outputStyles, themes), not metadata; with false, an entry that declares any component fails to load.

Connectors

A plugin's remote MCP connector MUST be declared in .mcp.json at the plugin root, keeping plugin.json to metadata. augur-intelligence is the reference.

  • One server, type: http, a fixed https:// URL. sse is deprecated; a url without type is a config error.
  • The server key SHOULD be short (intelligence, not augur-intelligence): tools appear in Claude Code as mcp__plugin_<plugin>_<key>__<tool>.
  • MUST NOT carry credentials, headers, oauth, or ${user_config.*}. The augur services sign users in with standard MCP OAuth and register Claude as a client themselves, so the URL is all a plugin declares. Chat ignores a connector whose URL uses ${user_config.*}, and anything in the file ships to every installer.
  • The plugin MUST set privacyPolicyUrl, and its README MUST give the connector URL so a Team or Enterprise Owner can add it (Platform-Support#connectors).

Skills

Skills MUST work in chat, which accepts only six SKILL.md frontmatter keys: name, description, license, compatibility, metadata, allowed-tools. Any other key (when_to_use, disable-model-invocation, argument-hint, model, paths, …) is a hard error on claude.ai. claude plugin validate does not flag them, so review MUST.

  • Skills MUST NOT hardcode a tool name prefix. The same connector's tools are mcp__claude_ai_<Connector>__<tool> on claude.ai and mcp__plugin_<plugin>_<key>__<tool> in Claude Code; name tools by what they do.
  • Skills SHOULD NOT repeat a connector's own instructions (query workflow, scoping rules). They drift when the server changes; add what a user needs around the connector instead.
  • Ship skills, not commands. Commands are the older format and load as skills in chat anyway.
  • description (with any when_to_use) is cut at 1,536 characters in listings. Keep SKILL.md under 500 lines; move detail to supporting files.

Versioning

Each plugin has its own version, set only in its plugin.json. The format is CalVer YYYY.MM.N: year, month, and a release counter (for example 2026.11.1). Claude Code does not check the format; it treats any change to the string as an update.

  • A plugin's version MUST change on every release. A plugin whose version is pinned gets no new commits to users until the string changes.
  • A plugin without a version falls back to the commit SHA of its directory, so every commit becomes an update. Plugins here MUST set one.

The release steps are in Deployment#publish.

Plugin directory

Anthropic's plugin directory is the catalog plugins can be submitted to. claude plugin validate plugins/<name> prints its checks as advice; --profile directory makes them fail. Every augur plugin SHOULD pass them, so a submission is possible later:

  • README, at least 40 words, saying what the plugin does, how to use it, and any setup. A README in the plugin folder is the listing summary when plugin.json has no description. The repo-root README also counts.
  • License: license in plugin.json, or a LICENSE file. The repo-root LICENSE counts.
  • Icon: a square PNG or JPEG, 512 to 2048 px per side, under 2 MB, at .claude-plugin/icon.png or set by icon. SVG and WebP are refused. The listing takes the icon only the first time the plugin is saved or submitted in the developer portal, so it MUST be final before then.

The directory also runs a safety scan and a policy review that the validator does not.

Clone this wiki locally