Skip to content

feat: workspace skill root and root-based filtering in Skills Hub#408

Merged
0xNyk merged 1 commit intomainfrom
feat/skills-workspace-roots
Mar 16, 2026
Merged

feat: workspace skill root and root-based filtering in Skills Hub#408
0xNyk merged 1 commit intomainfrom
feat/skills-workspace-roots

Conversation

@0xNyk
Copy link
Member

@0xNyk 0xNyk commented Mar 16, 2026

Summary

  • Adds workspace skill root — discovers skills from ~/.openclaw/workspace/skills, matching OpenClaw's workspace-local skills convention
  • Makes group cards clickable — click any root card to filter the installed skills list to that root; click again or "Show all roots" to clear
  • Adds workspace as a valid target for both skill creation and registry installs

This addresses the core request in #364: the Skills Hub now discovers workspace-local skills and supports filtering by skill root.

Closes #364

Test plan

  • pnpm typecheck — no errors
  • pnpm test — 710/710 pass
  • All 10 locale JSON files validate
  • workspace root appears in group cards, create dropdown, and install target dropdown
  • Clicking a group card filters the skill list; clicking again clears the filter

- Add `workspace` skill root (~/.openclaw/workspace/skills) for
  workspace-local skill discovery alongside the existing 5 roots
- Make group cards clickable to filter the installed skills list by root
- Add `workspace` as valid target for skill creation and registry install
- Add `showAllRoots` i18n key to all 10 locale files

Closes #364
@github-actions github-actions bot added the screenshot-drift UI changed — README screenshots may need updating label Mar 16, 2026
@github-actions
Copy link

📸 Screenshot Drift Check

This PR modifies UI source files. Please verify whether the README screenshots need refreshing:

  • docs/mission-control-overview.png — main dashboard
  • docs/mission-control-agents.png — agents panel
  • docs/mission-control-memory-graph.png — memory graph
Changed UI files
src/app/api/skills/registry/route.ts
src/app/api/skills/route.ts
src/components/panels/skills-panel.tsx

See docs/SCREENSHOT-GUIDE.md for instructions on capturing and optimising screenshots.

This comment is posted automatically and can be dismissed if no visual changes occurred.

@0xNyk 0xNyk merged commit 6f12377 into main Mar 16, 2026
1 of 2 checks passed
@0xNyk 0xNyk deleted the feat/skills-workspace-roots branch March 16, 2026 05:37
Brixyy added a commit to Brixyy/mission-control that referenced this pull request Mar 16, 2026
skill-sync.ts had its own getSkillRoots() that was not updated when
PR builderz-labs#408 added the workspace root to route.ts. As a result the 60s
scheduler never scanned ~/.openclaw/workspace/skills and the source
was also missing from the localSources DB query, so workspace skills
could never be added to the DB and always showed 0 in the Skills Hub.

Closes builderz-labs#410
0xNyk pushed a commit that referenced this pull request Mar 16, 2026
Fixes #410 — getSkillRoots() in skill-sync.ts was not updated when #408 added workspace support to route.ts, causing the scheduler sync to never populate workspace skills (always showing 0).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

screenshot-drift UI changed — README screenshots may need updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Skills Hub should discover workspace-local skills and support filtering by skill root

1 participant