Add WorkBuddy and Kimi adapters for skill scanning and lifecycle - #12
Open
xtysing wants to merge 1 commit into
Open
Add WorkBuddy and Kimi adapters for skill scanning and lifecycle#12xtysing wants to merge 1 commit into
xtysing wants to merge 1 commit into
Conversation
- New workbuddy adapter: scans ~/.workbuddy/skills, project-level .workbuddy/skills, plugin cache skills, and ~/.workbuddy/mcp.json - New kimi adapter: scans Kimi CLI (~/.kimi/skills), Kimi Code ($KIMI_CODE_HOME/skills), and Kimi Desktop (cross-platform path candidates) - Wire adapters into scan overview, web dashboard, and lifecycle commands (install/update/rollback) - Add workbuddy/kimi to CLI --tool whitelist and help texts
Owner
|
Thanks for taking the time to push this forward. The direction is good, and this definitely moves us closer to broader client coverage. I’m going to hold this PR for now, because there are two issues we need to tighten up before merging:
These are implementation issues, not direction issues. We do want to keep going along this line, and we’ll fix it properly on our side so the Kimi/WorkBuddy support lands in a stable way. Thanks again for the contribution. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add first-party adapters for two more AI clients so
skmcan scan, recommend, deduplicate, audit, and manage their skills and MCP servers.~/.workbuddy/skills(user),<cwd>/.workbuddy/skills(project), plugin cache~/.workbuddy/plugins/cache/{marketplace}/{plugin}/{version}/skills+~/.workbuddy/plugins/marketplaces/{marketplace}/plugins/{plugin}/skills(plugin)~/.workbuddy/mcp.json~/.kimi/skills, Kimi Code$KIMI_CODE_HOME/skills(default~/.kimi-code/skills), Kimi Desktopdaimon-share/daimon/skills(cross-platform candidates:%APPDATA%/~/Library/Application Support/~/.config), plus project-level.kimi/skillsand.kimi-code/skills$KIMI_CODE_HOME/mcp.jsonChanges
src/adapters/workbuddy.js(new) — conservative read-only scan: user/project/plugin skill dirs +~/.workbuddy/mcp.jsonmcpServers. Never reads sensitive fields (e.g.env).src/adapters/kimi.js(new) — scans Kimi CLI / Kimi Code / Kimi Desktop brand dirs only; deliberately does not fall back to~/.claude/skills/~/.codex/skills/~/.agents/skillsto avoid double-counting skills already covered by other adapters or shared ownership.src/paths.js— adds WorkBuddy / Kimi path constants. Kimi Desktop uses a cross-platform candidate array (same pattern as existingCURSOR_SKILLS_DIRS); non-existent dirs are skipped silently.src/commands/scan.js— wires both adapters intoscan, summary table, andarchivedcounters.src/commands/lifecycle.js—targetRoots()now mapsworkbuddy→~/.workbuddy/skillsandkimi→ Kimi Desktop dir, enablingskm install/update/rollback --tool workbuddy|kimi. Update/rollback/disable/enable work out of the box since they operate on catalog skill paths.bin/skm.js/src/i18n.js/src/commands/web.js—--toolwhitelist, help texts, dashboard tool list and filter values updated.Verification (Windows 11)
All new paths are optional: on machines without WorkBuddy or Kimi installed the scan is a no-op for those tools.
Notes
{platform-data-dir}/kimi-desktop/daimon-share/daimon/skills(verified on Windows; macOS/Linux candidates included for future coverage).statecommand remains Claude Code-only (nativeskillOverridesmechanism is not present in other clients).targetRootskeeps the original safe default: without--tool, only claude/codex are targeted.