open-pencil copilot-instructions.md

open-pencil copilot-instructions.md is an instructions file for GitHub Copilot from open-pencil/open-pencil. It costs 291 tokens per session, scanned A, original, MIT.

Project instructions for OpenPencil, a Bun-based design editor built with Vue, CanvasKit, and Tauri. They cover pull-request writing, validation commands, and coding conventions.

In plain words
What is it for?
Use them when changing the editor, writing or validating a pull request, updating the changelog, checking packages, or following the project's TypeScript, Vue, and security conventions.
Why use it?
They help an agent follow the repository's required tools and review process instead of using incompatible commands or patterns. They also reduce common code-quality and release mistakes.

Instructions file for GitHub Copilot

About the project

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.

open-pencil/open-pencil · 8,172 stars · on GitHub · openpencil.dev

Install

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.

agentmods
npx agentmods add instructions/open-pencil/open-pencil/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/open-pencil/open-pencil

Made for: GitHub Copilot.

Wrote 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.

agentmods badge for open-pencil copilot-instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/open-pencil/open-pencil/copilot-instructions.svg)](https://agentmods.dev/instructions/open-pencil/open-pencil/copilot-instructions)
Your own site
<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>
Per session 291 This file is loaded in full into every session.
When invoked 291 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 6d ago against content hash 608fa8669e99, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

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.

.github/copilot-instructions.md · 39 lines

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.md exactly.
  • 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.md and AGENTS.md for 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 any unless there is a clear typed alternative problem and a justification.
  • No non-null assertions; use guards.
  • Use crypto.getRandomValues(), never Math.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.
Changes

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.

  1. 6d ago First seen · 39 lines · 291 tokens per session scan A 608fa8669e99

Subscribe to this mod's changes

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.