MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / buildInstallArgs

Function buildInstallArgs

src/skill-manager.ts:51–68  ·  view source on GitHub ↗
(group: InstallGroup)

Source from the content-addressed store, hash-verified

49}
50
51function buildInstallArgs(group: InstallGroup): string[] {
52 const args = [
53 "-y",
54 "skills",
55 "add",
56 group.source,
57 "--agent",
58 "openclaw",
59 "--copy",
60 "-y",
61 ];
62
63 for (const name of group.names) {
64 args.push("--skill", name);
65 }
66
67 return args;
68}
69
70export function installSkills(workDir: string, skills: SkillEntry[]): void {
71 if (skills.length === 0) {

Callers 1

installSkillsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected