Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ OpenUI ships an [Agent Skill](https://agentskills.io) so AI coding assistants (C

```bash
# With the skills CLI (works across all agents)
npx skills add thesysdev/openui --skill openui
npx skills add thesysdev/skills --skill openui

# Manual - copy into your project
cp -r skills/openui .claude/skills/openui
Expand Down
2 changes: 1 addition & 1 deletion docs/content/docs/mcp/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Works with Claude Code, Cursor, GitHub Copilot, Codex, and any agent that suppor
### Install via the skills CLI (recommended)

```bash
npx skills add thesysdev/openui --skill openui
npx skills add thesysdev/skills --skill openui
```

### Manual copy
Expand Down
2 changes: 1 addition & 1 deletion packages/openui-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openuidev/cli",
"version": "0.1.7",
"version": "0.1.8",
"description": "CLI for OpenUI — scaffold generative UI chat apps and generate LLM system prompts from component libraries",
"bin": {
"openui": "dist/index.js"
Expand Down
6 changes: 4 additions & 2 deletions packages/openui-cli/src/lib/install-skill.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { execSync } from "child_process";

const OPENUI_SKILL_SOURCE = "thesysdev/skills";

export async function shouldInstallSkill(
option: boolean | undefined,
interactive: boolean,
Expand All @@ -25,15 +27,15 @@ export async function shouldInstallSkill(
export function runSkillInstall(targetDir: string): void {
console.info("\nInstalling OpenUI agent skill...\n");
try {
execSync("npx -y skills add thesysdev/openui --skill openui -y", {
execSync(`npx -y skills add ${OPENUI_SKILL_SOURCE} --skill openui -y`, {
stdio: "inherit",
cwd: targetDir,
});
} catch {
console.warn(
"\nCould not install the OpenUI agent skill automatically.\n" +
"You can install it manually later with:\n\n" +
" npx skills add thesysdev/openui --skill openui\n",
` npx skills add ${OPENUI_SKILL_SOURCE} --skill openui\n`,
);
}
}
Loading