agentleFS
ArenukvernArenukvern/mcp_flutter/.agents/skills/plugin-marketplace-setup/SKILL.md

plugin-marketplace-setup

Skill385 starsChanged 5 months agoMITView on GitHub

Designs public or private Agent Skill and plugin marketplaces for Cursor, Claude Code, Codex, Zed, Open Plugin, and npx skills—manifest layout, install matrix, and Skill Steward vs product boundaries. Use when setting up a marketplace, distributing skills/plugins to a team, private registry, .cursor-plugin, .codex-plugin, .plugin, .claude-plugin, or skills.sh publishing.

  • Reads credentials

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use vercel-labs/skills as the shared installer:

    line 44
  2. Very specific:

    Keep only plugin.json in .codex-plugin/.

    line 80
  3. Very specific:

    Use .plugin/plugin.json when a plugin should be vendor-neutral across Open Plugin hosts.

    line 88
  4. Very specific:

    Add .codex-plugin/plugin.json, .cursor-plugin/plugin.json, or .claude-plugin/plugin.json only when the host needs a vendor-specific …

    line 89
  5. Very specific:

    Do not confuse Skill Steward plugin.yaml with a host marketplace manifest.

    line 90
  6. Very specific:

    Do not put product MCP servers in Skill Steward.

    line 161
  7. Very specific:

    After merge to main, public repo is installable via npx skills add arenukvern/skill_steward --skill {name}.

    line 168
  8. Distinctive:

    Document install (Cursor hooks merge, etc.).

    line 175

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Plugin & skill marketplace setup

Ship skills (portable instructions), plugins (runtime wiring), and marketplaces (catalogs) without mixing them up.

Three layers (normative)

LayerWhat it isInstall unitSkill Steward home
SkillSKILL.md per agentskills.ionpx skills add owner/repo --skill nameskills/{name}/
PluginOpen Plugin or vendor manifest + hooks/MCP/rules/commandsPer-agent (see matrix)plugins/{id}/ (ADR 0004)
MarketplaceCatalog of plugins/skillsAdd marketplace, then install pluginProduct repos; Skill Steward uses public Git + skills.sh

Rule: Instructions only → skill. Event hooks or multi-file wiring → plugin (references skills by id, do not fork SKILL.md).

Skill Steward meta-plugin means: a declarative manifest, referenced skill IDs, hook/rule snippets, and validated wiring artifacts. It does not mean a host marketplace submission has happened, and it must not silently mutate Cursor/Codex/Claude configuration. Host-specific install steps remain explicit in README/docs.

Public vs private (decision)

GoalRecommended channelNotes
Public discoveryGitHub public repo + skills.shnpx skills add owner/repo; index needs valid skills/*/SKILL.md
Team-only skills (any agent)Private GitHub/GitLab repoSame npx skills add org/private-repo if agents can clone; use deploy keys / SSO
Cursor team pluginsTeam marketplace — Dashboard → Settings → Plugins → Import repoTeams/Enterprise; private GitHub repo with .cursor-plugin/marketplace.json
Claude Code teamPrivate git marketplace/plugin marketplace add with token env for auto-update (Claude docs)
Codex team$REPO_ROOT/.agents/plugins/marketplace.json or ~/.agents/plugins/marketplace.jsonRepo/personal marketplace; install from app or CLI
Zed skills.agents/skills/ or ~/.agents/skills/Skills only; Zed has no remote skill registry or custom search paths
npm-private skills packagesClaude marketplace source.type: npmFor npm-hosted plugin bundles; uncommon for plain SKILL.md trees

Skill Steward default: public arenukvern/skill_steward for meta-skills; hooks documented separately (npx skills does not install Cursor hooks).

Cross-agent install matrix (skills)

Use vercel-labs/skills as the shared installer:

npx skills add owner/repo                    # all skills, project scope
npx skills add owner/repo --skill my-skill   # one skill
npx skills add owner/repo -a cursor -a claude-code -a codex -a zed -y
npx skills add owner/repo -g                 # global (~/.agents/skills/)
npx skills add owner/repo --copy             # copy instead of symlink

Discovery also reads .claude-plugin/plugin.json and .claude-plugin/marketplace.json skill paths (Claude marketplace compatibility).

Agent--agent flagProject skills pathGlobal skills path
Cursorcursor.agents/skills/ (Cursor also reads .cursor/skills/)~/.cursor/skills/
Claude Codeclaude-code.claude/skills/~/.claude/skills/
Codexcodex.agents/skills/~/.codex/skills/
Zedzed.agents/skills/~/.agents/skills/
Copilot, Windsurf, Cline, …see npx skills --helpper CLI tableper CLI table

Hooks: supported on Claude Code, Cline, Kiro—not Cursor via npx skills. Cursor hooks need .cursor/hooks.json (Skill Steward example).

Cross-agent install matrix (plugins)

AgentManifest dirMarketplace fileInstall (typical)
Cursor.cursor-plugin/plugin.json.cursor-plugin/marketplace.json (multi-plugin repo)Marketplace UI, team import, or init script → .cursor/plugins/local/
Claude Code.claude-plugin/plugin.json.claude-plugin/marketplace.json/plugin marketplace add owner/repo then /plugin install name@marketplace
Codex.codex-plugin/plugin.json$REPO_ROOT/.agents/plugins/marketplace.json or ~/.agents/plugins/marketplace.jsonApp plugin directory or codex plugin add name@marketplace
Open Plugin v1.plugin/plugin.jsonhost-specificPortable baseline; add vendor manifests only for host-specific overrides
Open skills onlyN/AN/Anpx skills add — no MCP/hooks

Reference product layout: product repository marketplace distribution configs.

Codex plugin notes

  • Keep only plugin.json in .codex-plugin/; put skills/, .mcp.json, .app.json, hooks/, and assets/ at plugin root.
  • Include skills, mcpServers, apps, or hooks in .codex-plugin/plugin.json only when the companion files/directories exist. Codex also checks default hooks/hooks.json.
  • Marketplace files live at $REPO_ROOT/.agents/plugins/marketplace.json for repo/team catalogs or ~/.agents/plugins/marketplace.json for personal catalogs.
  • Each marketplace entry must include policy.installation, policy.authentication, and category; keep source.path relative to the marketplace root and inside that root.
  • Codex installs marketplace plugins into ~/.codex/plugins/cache/$MARKETPLACE_NAME/$PLUGIN_NAME/$VERSION/; local source edits require reinstall/cache refresh before new threads see them.

Open Plugin portability

  • Use .plugin/plugin.json when a plugin should be vendor-neutral across Open Plugin hosts.
  • Add .codex-plugin/plugin.json, .cursor-plugin/plugin.json, or .claude-plugin/plugin.json only when the host needs a vendor-specific manifest.
  • Do not confuse Skill Steward plugin.yaml with a host marketplace manifest. It is a local meta-plugin manifest for documenting Skill Steward wiring.

Scaffold a new marketplace repo

A. Skills-only marketplace (simplest — Skill Steward style)

my-skills/
├── skills/
│   └── my-skill/
│       └── SKILL.md
├── skills.sh.json          # optional: skills.sh categories
├── README.md               # install commands
└── package.json            # optional: pnpm run validate

Publish: push public → npx skills add org/my-skills. No plugin manifest required. For customizing the repository page by defining groupings and categories in skills.sh.json, see the skills.sh customization docs.

B. Codex / Claude / Cursor marketplace (multi-plugin)

my-marketplace/
├── .agents/plugins/
│   └── marketplace.json    # Codex catalog
├── .claude-plugin/
│   └── marketplace.json    # Claude catalog, when needed
├── .cursor-plugin/
│   └── marketplace.json    # Cursor catalog, when needed
└── plugins/
    └── my-plugin/
        ├── .plugin/plugin.json
        ├── .codex-plugin/plugin.json
        ├── .claude-plugin/plugin.json
        ├── .cursor-plugin/plugin.json
        ├── skills/
        ├── hooks/
        └── .mcp.json

Codex entry: "source": {"source": "local", "path": "./plugins/my-plugin"} plus policy/category. Claude and Cursor keep their own marketplace shapes. Use only the vendor trees the target agents need.

C. Skill Steward meta-plugin (hooks + skill refs)

plugins/my-hook-pack/
├── plugin.yaml
├── README.md               # manual .cursor/hooks.json steps
├── hooks.json.snippet
└── hooks/

Canonical skills stay in skills/. See templates/plugin/.

Private marketplace checklist

  1. Repo access — team can git clone (HTTPS token, SSH, or GHE app for Cursor team marketplaces).
  2. Secrets — never commit tokens; document GITHUB_TOKEN / GITLAB_TOKEN for Claude auto-update on private marketplaces.
  3. Install docs — one README block per channel (skills CLI vs Claude /plugin vs Cursor dashboard).
  4. Versioning — bump version in plugin manifest per release; skills use git SHA via npx skills update.
  5. CI — validate skills (pnpm run validate / dart run :steward validate in Skill Steward); product repos add contract tests.
  6. Scope — project install (committed .agents/skills/) vs -g global; document team norm.

Skill Steward vs product repo

ConcernSkill StewardProduct (e.g. product MCP)
SkillsMeta only (skill-authoring-lifecycle, repository-governance-lifecycle, …)Domain + MCP skills
PluginsMeta hooks (steward-validate-on-save)Full bundle: MCP + skills + init
CLIsteward validate[toolkit-cli] init <agent>
MarketplacePublic Git + skills.shClaude/Codex git + Cursor submit + Smithery

Do not put product MCP servers in Skill Steward. Cross-promote: npx skills add arenukvern/skill_steward --skill mcp-harness-repo-maintainer.

Workflow: add a distributable skill to Skill Steward

  1. Follow skill-authoring-lifecycle — skills/{name}/SKILL.md.
  2. Register in skills.sh.json + root README.md.
  3. pnpm run validate in skill_steward.
  4. After merge to main, public repo is installable via npx skills add arenukvern/skill_steward --skill {name}.
  5. Optional: submit to skills.sh leaderboard (automatic for public repos with valid skills).

Workflow: add a Skill Steward plugin

  1. Copy templates/plugin/ → plugins/{id}/.
  2. List referenced skills in plugin.yaml (ids only).
  3. Document install (Cursor hooks merge, etc.).
  4. Update plugins/README.md.

Anti-patterns

  • Putting hooks only in skills/ and expecting npx skills to wire Cursor
  • Duplicating SKILL.md inside every plugin directory
  • Private marketplace docs that only mention one agent
  • Eternal plan files in marketplace repos (see plan hygiene)

Additional resources

  • distribution-matrix.md — full channel table
  • manifest-snippets.md — minimal JSON/YAML examples
  • ADR 0004
  • ADR 0006
  • skills.sh customization docs

Install this skill

npx skills add arenukvern/skill_steward --skill plugin-marketplace-setup

Sources

See references/sources.md. When researching, follow skill-source-citations.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.