Skip to content

plugin add --target omp installs the Claude build when the repo has an .omp-plugin marketplace #587

Closed

Description

@salmonumbrella

The situation

One repo ships the same plugin name to two harnesses through two marketplaces:

.claude-plugin/marketplace.json   plugins: [{ "name": "kata", "source": "./plugins/claude-code" }]
.omp-plugin/marketplace.json      plugins: [{ "name": "kata", "source": "./plugins/oh-my-pi" }]
plugins/claude-code/              Claude plugin (.claude-plugin/, hooks/)
plugins/oh-my-pi/package.json     { "omp": { "extensions": ["./kata.ts"] } }

On skillshare v0.25.13:

skillshare plugin discover <repo>
#   kata      antigravity-cli, claude, copilot, grok, omp · hooks

skillshare plugin add <repo> --plugin kata --name kata --target omp -g
#   kata      omp · install · kata@skillshare-<hash>
#   includes hooks

What lands in ~/.omp/plugins/cache/plugins/skillshare-<hash>___kata___0.1.0/ is the Claude Code build: .claude-plugin/, hooks/, and the claude-code package.json. omp loads it as a Claude-compatible hooks plugin, and the omp extension (kata.ts) never runs. Nothing errors, so the only symptom is that the plugin silently does nothing in omp.

omp plugin marketplace add <owner>/<repo> followed by omp plugin install kata@<marketplace> reads .omp-plugin/marketplace.json and installs plugins/oh-my-pi (2.0.0) correctly.

What works today, and why it's not enough

Install natively with omp, then skillshare plugin import kata@<marketplace> --from omp -g. That records the right binding, but plugin add --target omp, the path the docs point to, still installs the wrong build, and the install only comes out right if you know to go around Skillshare first.

Ask

When the target is omp and the repo has .omp-plugin/marketplace.json, resolve the plugin from it, the way omp itself does, and fall back to .claude-plugin/ only when no omp marketplace exists. discover should show the omp entry as its own candidate, not as a Claude plugin that omp happens to accept.

Activity

  1. self-assigned this
    on Oct 20, 2026
  2. added
    bug
    on Oct 20, 2026
  3. runkids commented on Oct 20, 2026

    @runkids
    Owner

    Fixed in #588 and released in v0.26.0. Thanks for the detailed repro!

    OMP now uses .omp-plugin/marketplace.json when present, including packages declaring omp.extensions or compatible pi.extensions. Claude fallback applies only when no OMP catalog exists; an invalid catalog or missing native entry no longer silently selects the Claude build.

    Text discovery shows the separate builds, and previews preserve each target’s path, version and components. Your original plugin add --target omp command should now select the OMP build without the native-install/import workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions