pencil-dev-skill
Teach your AI coding tool to design in pencil.dev. Works with Claude Code, Cursor, and Codex.

Unofficial community plugin. This project is not affiliated with or endorsed by the Pencil.dev team. For the Pencil editor, MCP server, and official documentation, visit pencil.dev. Issues with this skill belong in this repo; issues with the Pencil editor or MCP server belong with the Pencil.dev team.
Star the repo if it helps you, or
buy me a coffee or lunch to support ongoing maintenance.
What it does
Pencil.dev is a collaborative design tool for creating web and mobile interfaces via the Pencil MCP server. This skill teaches AI coding tools how to work with .pen design files.
- Guides the AI through a seven-step design workflow: detect host, orient, load guidelines, plan, execute, verify, report
- Teaches all 9 Pencil MCP tools with worked invocations, cost cheatsheet, and composite recipes
- Provides 2026 design depth: user flows, component and screen states, full accessibility coverage, and modern patterns (container queries, fluid type, AI-UI affordances)
- Ships 15 worked examples showing real MCP tool sequences from scratch
- Includes per-platform tool-name mappings so the same skill works everywhere
Status: 0.8.0, pre-release. Nothing is shipped until the owner cuts a release.
What you'll be able to do
After installing this skill:
- Generate complete UI designs from natural language ("design a dashboard") without manual tool hunting
- Speed up design iteration by delegating pattern work to AI while you focus on unique decisions
- Maintain design consistency across components and screens
- Work cross-platform with the same skill on Claude Code, Cursor, or Codex
- Customise the skill for your team's workflow via folder copy or fork-and-install
Prerequisites
You'll need three things:
- An AI coding tool: Claude Code, Cursor, or OpenAI Codex
- Pencil MCP server: Configure it in your tool (how to set up Pencil)
- A Pencil.dev workspace: Create one free at pencil.dev (no credit card required)
New to Pencil.dev? It's a browser-based design tool. You don't install it; you open it in your browser and create .pen files there. This skill helps your AI tool work with those files.
Install
Most people want plugin install. If you plan to customise the skill's instructions for your team, use folder copy or fork + install instead.
Plugin install (recommended)
Claude Code: add the marketplace, then install the plugin. This lets you pin and update through the marketplace commands.
/plugin marketplace add Nisus74/pencil-skill
/plugin install pencil-dev-skill@pencil-dev-skill
Cursor 2.5+: in the editor, run /add-plugin and point it at github.com/Nisus74/pencil-skill.
Codex: add the marketplace, then install the plugin. Codex reads the same .claude-plugin/marketplace.json the repo ships.
codex plugin marketplace add Nisus74/pencil-skill
codex plugin add pencil-dev-skill@pencil-dev-skill
Folder copy
Download skills/pencil-design/ and drop it into the skills directory your tool reads.
Quickest method:
npx degit github:Nisus74/pencil-skill/skills/pencil-design <target>/pencil-design
Or with git:
git clone --depth=1 https://github.com/Nisus74/pencil-skill.git /tmp/pencil-skill
cp -r /tmp/pencil-skill/skills/pencil-design <target>/pencil-design
Where <target> lives:
| Tool | Path |
|---|
| Claude Code | ~/.claude/skills/ or .claude/skills/ |
| Cursor | .cursor/skills/ |
| Codex | ~/.codex/skills/ |
To update, re-run the same degit or cp command. If you've edited the files locally, diff and merge by hand.
Fork + install
Available for Claude Code, Cursor, and Codex.
- Fork Nisus74/pencil-skill on GitHub.
- Install your fork as a plugin:
- Claude Code:
/plugin marketplace add <your-handle>/pencil-skill, then /plugin install pencil-dev-skill@pencil-dev-skill
- Cursor:
/add-plugin pointing at github.com/<your-handle>/pencil-skill
- Codex:
codex plugin marketplace add <your-handle>/pencil-skill, then codex plugin add pencil-dev-skill@pencil-dev-skill
- Edit your fork, commit, and push. The next plugin update pulls your changes.
- To pull upstream changes, rebase your fork against
Nisus74/pencil-skill.