MCPcopy Create free account
hub / github.com/thesysdev/openui / runSkillInstall

Function runSkillInstall

packages/openui-cli/src/lib/install-skill.ts:25–39  ·  view source on GitHub ↗
(targetDir: string)

Source from the content-addressed store, hash-verified

23}
24
25export function runSkillInstall(targetDir: string): void {
26 console.info("\nInstalling OpenUI agent skill...\n");
27 try {
28 execSync("npx -y skills add thesysdev/openui --skill openui -y", {
29 stdio: "inherit",
30 cwd: targetDir,
31 });
32 } catch {
33 console.warn(
34 "\nCould not install the OpenUI agent skill automatically.\n" +
35 "You can install it manually later with:\n\n" +
36 " npx skills add thesysdev/openui --skill openui\n",
37 );
38 }
39}

Callers 1

runCreateAppFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected