OpenPencil is an open-source design editor that opens and edits Figma and Pencil files, supports AI-assisted design changes, and includes a programmable headless Vue toolkit for custom editors. It is for designers and developers creating, inspecting, converting, and exporting interface designs, while the catalogue instructions help coding agents work with its capabilities.
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 agentmods add instructions/open-pencil/open-pencil/copilot-instructionsgit clone --depth 1 https://github.com/open-pencil/open-pencilWrote 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/instructions/open-pencil/open-pencil/copilot-instructions)<a href="https://agentmods.dev/instructions/open-pencil/open-pencil/copilot-instructions"><img src="https://agentmods.dev/badge/instructions/open-pencil/open-pencil/copilot-instructions.svg" alt="Measured on agentmods" 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.00291 | $0.00291 |
| Opus 5 | $0.00146 | $0.00146 |
| Sonnet 5 | $0.00058 | $0.00058 |
| Haiku 4.5 | $0.00029 | $0.00029 |
Grade A, and why
open-pencil copilot-instructions.md 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 6d 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.
What it actually says
OpenPencil Copilot instructions
OpenPencil is a Bun workspace for a Vue 3 + CanvasKit design editor with Tauri desktop support.
Pull request requirements
- Write PR titles and bodies in English.
- Follow
.github/PULL_REQUEST_TEMPLATE.mdexactly. - Remove template comments and placeholders before opening a PR.
- Never leave dangling text like
Fixes #,TODO,TBD, or unfinished checklist explanations. - Summarize what changed, why it changed, and how it was validated.
- If a user-facing change is made, update
CHANGELOG.md. - Follow
CONTRIBUTING.mdandAGENTS.mdfor repository conventions.
Validation
Use Bun, not npm or Node scripts unless the package explicitly requires Node.
Before proposing changes, run targeted checks when possible and document them in the PR body. For broad changes, run:
bun run check
Package publishing changes should also run:
bun run test:packages
Code conventions
- No
anyunless there is a clear typed alternative problem and a justification. - No non-null assertions; use guards.
- Use
crypto.getRandomValues(), neverMath.random(). - Keep Vue components free of
<style>blocks. - Use existing dependencies and Reka UI components before hand-rolling UI.
- Preserve architecture boundaries from
AGENTS.md.
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.
- 6d ago First seen · 39 lines · 291 tokens per session scan A 608fa8669e99
open-pencil copilot-instructions.md is an instructions file published in the GitHub repository open-pencil/open-pencil (8,172 stars, last pushed today), licensed MIT. It adds 291 tokens to every session, about $0.0015 per session on Opus 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-08-30.
Other instructions, from other repositories
openscreen AGENTS.md
AGENTS.md instructions for getopenscreen/openscreen, covering agents.md, setup commands, development principles, project layout and code style.
commonly CLAUDE.md
Claude Code instructions for Team-Commonly/commonly, covering claude.md / agents.md, 🧠 product vision & architecture philosophy, what commonly is, the architecture model and key concepts.
Claw3D AGENTS.md
Instructions for iamlukethedev/Claw3D, covering agent instructions, cursor cloud specific instructions, service overview, running the app and lint, typecheck, and tests.
claude-ads CLAUDE.md
Instructions for AgriciDaniel/claude-ads, covering claude ads repository instructions, architecture, development and verification.
openstatus AGENTS.md
AGENTS.md instructions for openstatusHQ/openstatus, covering agents.md, verify your change, toolchain, architecture and tests.
windmill AGENTS.md
AGENTS.md instructions for windmill-labs/windmill, covering windmill, workflow, documentation, dev environment and per-worktree ports and database.