Marketplace Examples
This page provides fuller user-side plugin marketplace examples for bringing One Works, Claude Code, and Codex plugins into a project.
The plugin marketplace includes the One Works, OpenAI Plugins, and Anthropic official sources by default. Plugins can be installed into the current project or globally. Official sources can be disabled but not deleted, and custom Git sources can be added. Skill marketplace configuration uses skillRegistries[] and is not covered here.
The One Works official source lists optional @oneworks/plugin-* packages matching the current app version. Installation downloads a missing package into the shared package cache and reloads the plugin runtime immediately. Removal only drops the project or global declaration; the cache remains available to other projects. Built-in Relay is omitted from the install catalog, and Standard Development is exposed as the optional child of Plugin Demo instead of a separate marketplace entry.
Custom Codex Marketplace
Codex marketplaces use .agents/plugins/marketplace.json in the source repository:
marketplaces:
company-codex-plugins:
type: codex
enabled: true
plugins:
reviewer:
scope: review
options:
source:
source: github
repo: acme/codex-plugins
ref: mainCodex sources support github, git, and directory. One Works reads each .codex-plugin/plugin.json and converts reusable skills, commands, agents, MCP servers, and hooks.
Superpowers Marketplace
marketplaces:
superpowers-marketplace:
type: claude-code
enabled: true
syncOnRun: true
plugins:
superpowers:
scope: superpowers
superpowers-chrome:
enabled: false
options:
source:
source: github
repo: obra/superpowers-marketplace
ref: mainInstall:
oneworks plugin --adapter claude add superpowers@superpowers-marketplace
oneworks plugin --adapter claude add superpowers-developing-for-claude-code@superpowers-marketplace
oneworks plugin --adapter claude add private-journal-mcp@superpowers-marketplace
oneworks plugin --adapter claude add superpowers-chrome@superpowers-marketplaceThe plugin name must exist in the marketplace marketplace.json.
Inline a Minimal Marketplace
If you do not want to depend on a full external marketplace, declare only the plugins your project needs:
marketplaces:
superpowers:
type: claude-code
enabled: true
plugins:
superpowers:
scope: superpowers
superpowers-chrome:
enabled: false
options:
source:
source: settings
plugins:
- name: superpowers
source:
source: github
repo: obra/superpowers
ref: main
- name: superpowers-chrome
source:
source: github
repo: obra/superpowers-chrome
ref: main
- name: private-journal-mcp
source:
source: github
repo: obra/private-journal-mcp
ref: mainInstall:
oneworks plugin --adapter claude add superpowers@superpowers
oneworks plugin --adapter claude add superpowers-chrome@superpowers
oneworks plugin --adapter claude add private-journal-mcp@superpowersNotes:
source: settingsis useful when you want the project to pin exact repositories and refs.- Inline catalog
plugins[].sourcemust be an explicit object, not a relative path string. - Relative plugin source paths are only valid for directory marketplaces because only those marketplaces have a local root for resolution.
Automatic Sync
When plugins are declared under marketplaces.<name>.plugins:
- The first
oneworksfor a new session installs missing plugins. syncOnRun: truesyncs before every new session.resumedoes not resync, so an existing session does not drift mid-run.