Skip to content

Commit c69724e

Browse files
authored
fix(skills): correct invalid install kinds in xurl and github [AI] (#102158)
* fix(xurl): use install kind "node" instead of invalid "npm" [AI] The xurl skill's second installer declares kind "npm", which is not a valid install kind. The installer switches on spec.kind with cases for brew/node/go/uv/download and a default of "unsupported installer", so the entry is dropped -- `openclaw skills info xurl` only offers the brew option, leaving no install path on machines without Homebrew. npm-backed installs use kind "node" (which honors skills.install.nodeManager, default npm). Only kind is changed; id/package/bins are left as-is. Verified against openclaw 2026.6.11 in a container: before (kind: npm): Install options: → Install xurl (brew) after (kind: node): Install options: → Install @xdevplatform/xurl (npm) * fix(github): drop non-functional "apt" install entry [AI] The github skill's second installer declares kind "apt", which is not a supported install kind (installer switch handles brew/node/go/uv/download + default "unsupported installer"). openclaw silently drops it -- `skills info github` only ever surfaces the brew option -- so the entry is dead, misleading metadata rather than a working Linux path. The remaining brew installer is cross-platform (Homebrew runs on Linux), so removing the dead entry loses no working path. Improving install paths for Linux users without Homebrew is tracked separately in #57555 (needs-product-decision).
1 parent 9eeebf7 commit c69724e

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

skills/github/SKILL.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,6 @@ metadata:
1616
"bins": ["gh"],
1717
"label": "Install GitHub CLI (brew)",
1818
},
19-
{
20-
"id": "apt",
21-
"kind": "apt",
22-
"package": "gh",
23-
"bins": ["gh"],
24-
"label": "Install GitHub CLI (apt)",
25-
},
2619
],
2720
},
2821
}

skills/xurl/SKILL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ metadata:
1818
},
1919
{
2020
"id": "npm",
21-
"kind": "npm",
21+
"kind": "node",
2222
"package": "@xdevplatform/xurl",
2323
"bins": ["xurl"],
2424
"label": "Install xurl (npm)",

0 commit comments

Comments
 (0)