1dba122c创建于 1 天前历史提交

mini-marketplace

A minimal oh-my-pi marketplace catalog that demonstrates the marketplace.json format. It lists one plugin (my-plugin) using a relative path source.

Install command

/marketplace add ./docs/skills/examples/mini-marketplace
/marketplace install my-plugin@example-marketplace

Or from the CLI:

omp plugin marketplace add ./docs/skills/examples/mini-marketplace
omp plugin install my-plugin@example-marketplace

What it demonstrates

  • Minimum required marketplace.json fields: name, owner.name, plugins
  • Relative path plugin source using ./ prefix ("source": "./my-plugin")
  • Plugin bundled inside the same directory tree as the marketplace catalog
  • Extra catalog metadata: the example includes a top-level description; current marketplace parsing preserves extra top-level fields, while runtime behavior uses required fields and plugin entries.

Structure

mini-marketplace/
  .claude-plugin/
    marketplace.json      ← catalog
  README.md
  my-plugin/
    package.json          ← omp.extensions manifest
    index.ts              ← extension entry point

Published and local marketplaces use the same catalog location: .claude-plugin/marketplace.json inside the marketplace root. Point /marketplace add at this folder to load the example.