Plexus icon indicating copy to clipboard operation
Plexus copied to clipboard

feat: Skills marketplace — browse & one-click install community skills ranked by stars

Open miniLV opened this issue 3 months ago • 1 comments

Summary

The /skills tab currently only lists skills that already exist locally (native agents or the Plexus store). We want to attach a Skills marketplace so users can discover and install community skills without leaving the dashboard.

Goals

  • Browse community skills ranked by GitHub star count (descending).
  • Filter by topic (e.g. claude-skills, agent-skills) and free-text search.
  • One-click install: download the skill repo, extract SKILL.md + bundled resources (scripts/, references/, assets/, …), write it into the Plexus personal store, then sync it to enabled agents.
  • Show an "Installed" state for skills already present in the personal store.

Scope / assumptions

  • Source: GitHub Search API (GET /search/repositories), sort=stars&order=desc, no curated registry (chosen over a maintained JSON registry).
  • Granularity: one repo = one skill (root SKILL.md, or a single SKILL.md). Multi-skill collections are rejected with a clear message.
  • Placement: new "Market" tab inside the existing /skills page, alongside "Installed".
  • Install target: ~/.config/plexus/personal/skills/<repo>/ (id = repo name, folder-safe), then a normal sync.
  • Auth/rate limits: optional GITHUB_TOKEN/GH_TOKEN env or gh auth token; graceful fallback to unauthenticated with a short in-memory cache.

Tasks

  • [ ] Core: packages/core/src/market/ — GitHub search + tarball install (no React).
  • [ ] API: GET /api/market, POST /api/market/install.
  • [ ] UI: market browser component + tab switch in /skills.
  • [ ] i18n copy (en/zh).
  • [ ] README + docs update.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>

miniLV avatar Aug 27 '26 13:08 miniLV

Implemented in f8af803.

  • Core: packages/core/src/market/ — GitHub topic search (ranked by stars) + tarball install into the personal store with a post-install sync.
  • API: GET /api/market and POST /api/market/install.
  • UI: /skills now has Installed / Market tabs (skills-view.tsx, skills-market.tsx).
  • Optional GITHUB_TOKEN / gh auth token support with graceful unauthenticated fallback and a short in-memory cache.
  • Docs: README (zh/en) and CLAUDE.md updated.

miniLV avatar Aug 27 '26 13:08 miniLV