Skip to content

feat(desktop): multi-source installed skills with curated skill management#267

Merged
alchemistklk merged 2 commits intomainfrom
feat/multi-source-installed-skills
Mar 19, 2026
Merged

feat(desktop): multi-source installed skills with curated skill management#267
alchemistklk merged 2 commits intomainfrom
feat/multi-source-installed-skills

Conversation

@alchemistklk
Copy link
Copy Markdown
Contributor

Summary

  • Curated skill system: 16 recommended skills auto-installed from ClawHub on first launch, 3 static skills (coding-agent, gh-issues, clawhub) bundled in app bundle
  • Parallel curated install: Concurrency=5 batches for ~3-5x faster startup vs sequential
  • Bundled npm for skill deps: Added npm as desktop dependency, resolved via require.resolve("npm/package.json") — no PATH dependency, works in packaged Electron app
  • Skill scanner: New skill-scanner.ts with multi-source support (curated + managed), parses SKILL.md frontmatter for name/description
  • Curated uninstall persistence: API uninstall path now records removal in curated state ledger, preventing reinstall on restart
  • Installed tab: Polls every 3s for 30s to catch background curated installs, groups by source (Recommended / Installed)
  • Skill detail endpoint: Returns SKILL.md content and file listing for installed skills

Test plan

  • pnpm typecheck passes
  • pnpm lint passes
  • pnpm desktop:start — curated skills install in parallel, logs show installing npm deps / npm deps installed for skills with package.json
  • Installed tab shows curated skills grouped under "Recommended"
  • Uninstalling a curated skill persists across restart (not reinstalled)
  • pnpm desktop:dist:mac:unsigned builds successfully (verified)
  • pnpm test — skill-scanner and skillhub-routes tests pass

🤖 Generated with Claude Code

…ement

- Add curated skill system: 16 recommended skills auto-installed from
  ClawHub on first launch, 3 static skills bundled in app
- Parallel curated install (concurrency=5) for faster startup
- Bundle npm as desktop dependency for PATH-independent skill dep install
- Resolve npm via require.resolve (same pattern as clawhub binary)
- Add skill scanner with multi-source support (curated + managed)
- Persist curated uninstall in API path to prevent reinstall on restart
- Installed tab with polling for background install progress
- Fix installed skill schema to include name/description from SKILL.md
- Add skill detail endpoint with SKILL.md content and file listing
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 19, 2026

Deploying nexu-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 314341d
Status: ✅  Deploy successful!
Preview URL: https://88bc4219.nexu-docs.pages.dev
Branch Preview URL: https://feat-multi-source-installed.nexu-docs.pages.dev

View logs

@alchemistklk
Copy link
Copy Markdown
Contributor Author

/cr

@slack-code-review-channel
Copy link
Copy Markdown

✅ CR topic created in Feishu topic group Refly CR.

@alchemistklk alchemistklk merged commit c5fb86e into main Mar 19, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants