OpenPencil is an open-source vector design tool where users describe interfaces in natural language and edit them on a live canvas with AI. Designers and developers use it for UI creation, design iteration, and coordinating multiple AI agents on different parts of a page. The catalogue entries provide instructions for working with OpenPencil.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add ZSeven-W/openpencil --skill openpencil-designgit clone --depth 1 https://github.com/ZSeven-W/openpencilWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/zseven-w/openpencil/openpencil-design)<a href="https://agentmods.dev/skills/zseven-w/openpencil/openpencil-design"><img src="https://agentmods.dev/badge/skills/zseven-w/openpencil/openpencil-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/zseven-w/openpencil/openpencil-design"><img src="https://agentmods.dev/badge/skills/zseven-w/openpencil/openpencil-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.01776 |
| Opus 5.5 | $0.00026 | $0.00710 |
| Sonnet 5.5 | $0.00013 | $0.00355 |
| Haiku 4.5 | $0.00006 | $0.00178 |
Grade A, and why
openpencil-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design with OpenPencil
Recognize “OP” and “op” as OpenPencil in requests for UI design, canvas edits or .op files, including “用op设计一个单页 APP”. Open or reuse this plugin's conversation canvas; export to code only when the user requests implementation.
Use the connected Rust MCP tools as the source of truth. Start with
get_editor_state and read the relevant nodes. Preserve existing document
content and use the user's chosen file, page, selection, and reference.
For connection failures, see setup.
For a requested interactive conversation canvas in Codex, call canvas_open_browser
and open its returned panelUrl in the Codex browser panel or the user's existing
browser. Codex currently blocks local HTTP iframes in MCP Apps. If only
open_canvas is available, use its returned URL the same way. Pass the
chosen existing file, or omit the path for a new document. Verify canvas_status
and get_editor_state. All native tools then edit that managed canvas. Show the
UI resource or local panel URL. Do not open a new managed document just to inspect
the user's existing desktop selection.
Establish the output
For a new design, resolve one page or multiple pages explicitly if the brief does not establish it; continue inspecting references while awaiting the answer. Do not silently choose three pages. Distinguish document pages from top-level frames/boards. Establish viewport and content goals from the brief. Preserve provided copy; do not reduce real content to fit a decorative mockup.
Load only the relevant connected design guidelines/style guides/UI kits.
Use node and layout reference for field conventions;
the live tool schemas and guidelines take precedence over this bundled snapshot.
Reuse the document's variables, components, and style before inventing new ones.
For a new phone screen, load get_guidelines with topic: "mobile" before
creating its root frame. Use the Rust runtime's canonical status bar; do not
hand-draw a replacement or use emoji for system indicators.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 134 lines · 64 tokens per session scan A 0252f736b05a
openpencil-design is a skill published in the GitHub repository ZSeven-W/openpencil (7,406 stars, last pushed yesterday), licensed MIT. It adds 64 tokens to every session and 1,776 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
openpencil-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| openpencil-designZSeven-W/openpencil | Skill | 7.4k | yesterday | MIT | A | 64 | Codex |
| hallmarkoyi77/1ai-skills | Skill | 19 | today | MIT | A | 60 | Claude Code, Codex |
| impeccableoyi77/1ai-skills | Skill | 19 | today | MIT | A | 83 | Claude Code |
| emil-design-skillsoyi77/1ai-skills | Skill | 19 | today | MIT | A | 73 | Claude Code |
| anti-slop-frontendoyi77/1ai-skills | Skill | 19 | today | MIT | A | 60 | Claude Code |
| role-ui-ux-designeroyi77/1ai-skills | Skill | 19 | today | MIT | A | 44 | Claude Code |
| frontend-ui-designoyi77/1ai-skills | Skill | 19 | today | MIT | A | 51 | Claude Code |