Design skills for AI agents. Complete screens with every state, and a design system that stays consistent.
Works with Paper, pen.dev, Figma, Penpot or plain HTML, in Claude Code, Codex, OpenCode, Cursor and other agents.
Ask your agent for "a pricing page" and, with craft installed, it works like a careful designer:
- it writes a short design brief first;
- it lists every state the screen can be in;
- it uses your design system's pieces;
- it checks its own work before showing it.
It stops for your "yes" where it matters and writes its decisions down for next time.
Install
Claude Code, Claude Desktop and claude.ai
Install craft as a plugin. Inside a Claude Code session:
/plugin marketplace add diego3g/craft
/plugin install craft@craft
- The plugin adds a session-start hook, so every request goes to the right skill by itself.
- Skills carry the plugin name:
/craft:craft, /craft:craft-setup and so on.
- Update from your shell with
claude plugin update craft@craft.
In Claude Desktop or claude.ai, go to Customize › Plugins › Add › Add marketplace, then enter diego3g/craft.
Codex, OpenCode, Cursor and other agents
Install the skills with the skills CLI:
npx skills add diego3g/craft
It asks which agents to install into. You can also name the agent yourself:
| Agent | Command |
|---|
| Codex | npx skills add diego3g/craft -a codex |
| OpenCode | npx skills add diego3g/craft -a opencode |
| Cursor | npx skills add diego3g/craft -a cursor |
| Gemini CLI | npx skills add diego3g/craft -a gemini-cli |
| GitHub Copilot | npx skills add diego3g/craft -a github-copilot |
| Windsurf | npx skills add diego3g/craft -a windsurf |
- Add
-g to install for every project instead of only the current one.
- Run
npx skills update to update later.
These agents don't run the session-start hook. Paste the routing below into your AGENTS.md so the agent still picks the right skill.
Routing for AGENTS.md
## Design skills
Before responding to anything that designs, reviews or changes a UI, check this table and use the skill.
First look whether DESIGN.md exists at the project root.
- No DESIGN.md and a design task → craft-setup, then craft
- Design / create / redesign a page, screen, flow or element → craft
- "Options", "alternatives", "I don't like it" → craft-explore
- "Review", "refine", "make it better", or before showing your own design → craft-critique
- Tokens, style guide, a component, "audit" → craft-system
- "Bring our design system into <tool>", "apply the guide changes to the code" → craft-sync
- "What states are missing?" → craft-states
Small edits the person described exactly (one value, label or size): just make them.
A stop means asking the question and waiting: through your agent's question tool when it has one, otherwise by ending your turn with it. Never decide a stop for the person.
By hand: copy the folders in skills/ into your project's .agents/skills/, then add the routing above.
Use with Penpot
Connect the Penpot MCP server to your agent with Penpot's MCP setup, open your design file and keep its tab connected. Then ask your agent to use Craft in Penpot.
The skills