@aidesigner/agent-skills
v0.1.4
Published
Multi-host AIDesigner MCP bootstrap and local helper CLI.
Downloads
5,634
Maintainers
Readme
@aidesigner/agent-skills
Multi-host bootstrap and local helper CLI for using AIDesigner through supported MCP clients.
What it does
- Installs repo-local or user-wide MCP config for Claude Code, Codex, Cursor, VS Code/Copilot, and Windsurf
- Writes shared or host-native AIDesigner skill files so supported clients know how to use the MCP tools
- Keeps Claude-specific agents and slash commands for the Claude workflow
- Checks MCP discovery and host-specific setup with
doctor - Captures MCP-generated HTML into local
.aidesigner/runs - Renders previews and creates adoption briefs for porting designs into a real codebase
Install
Use npx:
npx -y @aidesigner/agent-skills initOr install globally:
npm install -g @aidesigner/agent-skills
aidesigner initRequirements
- Node.js 20+
- Access to the AIDesigner MCP server
- An MCP-capable client such as Claude Code, Codex, Cursor, VS Code/Copilot, or Windsurf
Common commands
Initialize Claude Code in the current repo:
aidesigner initInitialize a specific host in the current repo:
aidesigner init cursorInitialize Codex for just the current repo:
aidesigner init codexInitialize Codex for the current repo and mark that repo as trusted in Codex:
aidesigner init codex --trust-projectInitialize one host once for all repos:
aidesigner init codex --scope userInitialize every supported host for the chosen scope:
aidesigner init --allRefresh generated MCP config and skill files after upgrading the package:
aidesigner upgrade
aidesigner upgrade cursor
aidesigner upgrade codex --trust-projectCheck the default Claude setup:
aidesigner doctorCheck one host or every host:
aidesigner doctor cursor
aidesigner doctor --allPreview a saved run:
aidesigner preview --id <run-id>Generate an adoption brief:
aidesigner adopt --id <run-id>Supported hosts
claude: project or user scopecodex: project or user scopecursor: project or user scopevscode: project or user scopewindsurf: user scope only
Client setup
Claude Code
Project setup:
aidesigner initUser setup:
aidesigner init claude --scope userWhat gets written:
.mcp.json.claude/agents/aidesigner-frontend.md.claude/commands/aidesigner.md.claude/skills/aidesigner-frontend/SKILL.md
Connect:
- Open Claude Code in the repo.
- Run
/mcp. - Connect
aidesignerand finish browser sign-in. - Ask Claude to use AIDesigner or run
/aidesigner <prompt>.
Codex
Project setup:
aidesigner init codex --trust-projectUser setup:
aidesigner init codex --scope userWhat gets written:
- Project:
.codex/config.tomland.agents/skills/aidesigner-frontend/SKILL.md - User:
~/.codex/config.tomland~/.agents/skills/aidesigner-frontend/SKILL.md
Connect:
- Open a fresh Codex session in the repo.
- If needed, run
codex mcp login aidesigner. - Finish browser sign-in.
- Prompt Codex to use the
aidesignerMCP server.
Codex note:
- Project
.codex/config.tomlonly loads for trusted repos. --trust-projectalso writesprojects.<path>.trust_level = "trusted"to~/.codex/config.toml.
Cursor
Project setup:
aidesigner init cursorUser setup:
aidesigner init cursor --scope userWhat gets written:
- Project:
.cursor/mcp.json,.cursor/skills/aidesigner-frontend/SKILL.md, and.agents/skills/aidesigner-frontend/SKILL.md - User:
~/.cursor/mcp.jsonand~/.cursor/skills/aidesigner-frontend/SKILL.md
Connect:
- Restart Cursor or reload the workspace.
- Open Cursor's MCP settings panel.
- Connect
aidesignerand finish browser sign-in.
VS Code / GitHub Copilot
Project setup:
aidesigner init vscodeUser setup:
aidesigner init vscode --scope userWhat gets written:
- Project:
.vscode/mcp.json,.github/skills/aidesigner-frontend/SKILL.md, and.agents/skills/aidesigner-frontend/SKILL.md - User: the VS Code user MCP file and
~/.copilot/skills/aidesigner-frontend/SKILL.md
Connect:
- Open VS Code in the repo.
- Open Copilot Chat and switch to Agent mode.
- Enable
aidesignerin the tools picker or MCP server list. - Finish browser sign-in if prompted.
Windsurf
User setup:
aidesigner init windsurf --scope userWhat gets written:
~/.codeium/windsurf/mcp_config.json
Connect:
- Restart Windsurf.
- Open Cascade and inspect the MCP servers panel.
- Connect
aidesignerand finish browser sign-in.
Upgrading
Existing installs keep working after upgrading the package. If your MCP config and auth are already healthy, you do not need to rerun setup immediately.
Run upgrade only if you want refreshed generated config and skill files for your host:
aidesigner upgrade
aidesigner upgrade cursor
aidesigner upgrade vscode
aidesigner upgrade codex
aidesigner upgrade codex --scope userThen verify with:
aidesigner doctor <host>init still works for this, but upgrade is the clearer command when the host is already set up.
Advanced helper commands
Persist MCP-generated HTML locally:
aidesigner capture --html-file .aidesigner/mcp-latest.html --prompt "<prompt>" --transport mcp --remote-run-id "<run-id>"Fallback direct generation with API key auth:
AIDESIGNER_API_KEY=... aidesigner generate --prompt "<prompt>"Refine a prior run:
aidesigner refine --id <run-id> --prompt "<feedback>"Environment variables
AIDESIGNER_API_KEY: optional non-MCP fallback authAIDESIGNER_BASE_URL: overrides the defaulthttps://api.aidesigner.aiAIDESIGNER_MCP_URL: overrides the MCP endpointAIDESIGNER_CLAUDE_BIN: overrides the Claude CLI pathAIDESIGNER_CLAUDE_HOME: overrides the Claude config directoryAIDESIGNER_CODEX_BIN: overrides the Codex CLI pathAIDESIGNER_CODEX_HOME: overrides the Codex config directoryAIDESIGNER_AGENTS_HOME: overrides the shared~/.agentsskill directoryAIDESIGNER_CURSOR_HOME: overrides the Cursor config directoryAIDESIGNER_VSCODE_BIN: overrides the VS Code CLI pathAIDESIGNER_VSCODE_HOME: overrides the VS Code user data directoryAIDESIGNER_COPILOT_HOME: overrides the Copilot skill directoryAIDESIGNER_WINDSURF_HOME: overrides the Windsurf config directoryAIDESIGNER_HOST_COMMAND_CWD: overrides the neutral cwd used for host CLI registration and checks
Package development
From this package directory:
npm test
npm run check
npm run pack:dry-run