English · 简体中文 · 繁體中文 · 日本語 · 한국어 · Français · Español · Deutsch · Português · Русский
LLM skill for designing with OpenPencil — teaches AI agents to use the op CLI, batch design DSL, MCP tools, and design best practices.
Follows the agentskills.io specification.
Install the op CLI before using this skill:
npm install -g @zseven-w/openpencilEnsure a running OpenPencil instance (desktop app or web server) for op to connect to.
Note: Installation differs by platform. Claude Code and Cursor have built-in plugin systems. Codex and OpenCode require manual setup.
Register the marketplace, then install the plugin:
/plugin marketplace add zseven-w/openpencil-skill
/plugin install openpencil-skill@openpencil-skill
In Cursor Agent chat:
/add-plugin openpencil-skill
Or search for "openpencil" in the plugin marketplace.
Tell Codex:
Fetch and follow instructions from https://raw.githubusercontent.com/zseven-w/openpencil-skill/main/.codex/INSTALL.md
Tell OpenCode:
Fetch and follow instructions from https://raw.githubusercontent.com/zseven-w/openpencil-skill/main/.opencode/INSTALL.md
gemini extensions install https://github.com/zseven-w/openpencil-skillTo update:
gemini extensions update openpencil-skillStart a new session and ask to design something with OpenPencil (e.g., "design a landing page using op CLI"). The agent should automatically use the skill to generate PenNode JSON via the op CLI or MCP tools.
opCLI command reference (app control, document ops, nodes, import, layout, pages, variables, codegen)- Batch Design DSL syntax with full landing page example
- PenNode schema — all node types (frame, rectangle, ellipse, polygon, text, path, image, icon_font, ref, line, group), properties, fills
- 40+ semantic roles with smart defaults
- Design principles — typography, color, spacing, shadows
- Layout engine rules and sizing decisions
- Layered MCP workflow (skeleton → content → refine)
- Codegen pipeline (plan → submit → assemble → clean)
- Import support (SVG, Figma .fig files)
- Common patterns — navbar, hero, cards, forms, footer
- Common mistakes table
MIT