pen-editor-design

pen-editor-design is a skill for Claude Code, Codex from dan-rozhkov/pen-editor-plugin. It costs 63 tokens per session (1,138 once invoked), scanned A, original, MIT.

A skill for creating and editing designs in Pen Editor, a browser-based design tool, through MCP.

In plain words
What is it for?
Use it to build, restyle, or extend Pen Editor documents, including work involving the editor's layout, components, variables, and design guidelines.
Why use it?
It provides a defined process for reading the current design before changing it and checking the result afterward.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build, restyle, or extend Pen Editor documents, including work involving the editor's layout, components, variables, and design guidelines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dan-rozhkov/pen-editor-plugin/pen-editor-design
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.

Any agent
npx skills add dan-rozhkov/pen-editor-plugin --skill pen-editor-design
Clone the repo
git clone --depth 1 https://github.com/dan-rozhkov/pen-editor-plugin

Made for: Claude Code, Codex.

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 pen-editor-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/dan-rozhkov/pen-editor-plugin/pen-editor-design/github.svg)](https://agentmods.dev/skills/dan-rozhkov/pen-editor-plugin/pen-editor-design)
Your own site
<a href="https://agentmods.dev/skills/dan-rozhkov/pen-editor-plugin/pen-editor-design"><img src="https://agentmods.dev/badge/skills/dan-rozhkov/pen-editor-plugin/pen-editor-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.

agentmods 80×15 button for pen-editor-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/dan-rozhkov/pen-editor-plugin/pen-editor-design"><img src="https://agentmods.dev/badge/skills/dan-rozhkov/pen-editor-plugin/pen-editor-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,138 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00063 $0.01138
Opus 5 $0.00032 $0.00569
Sonnet 5 $0.00013 $0.00228
Haiku 4.5 $0.00006 $0.00114

Measured 8d ago against content hash bf6323119d8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

pen-editor-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.

skills/pen-editor-design/SKILL.md · 42 lines

How it starts

The opening of the file, as written. The whole thing — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Pen Editor design

You are an external MCP client driving a live Pen Editor document. All of these tools are bridged: they require a connected browser tab and time out after 30s if the tab is unresponsive. If a call errors with "No Pen Editor tab is connected", stop and see the pen-editor-setup skill instead of retrying blindly.

Decision procedure

  1. get_editor_state first, always. This is Figma's metadata-first pattern — it gives you the active file, selection, top-level nodes, and available components before you read or write anything else. Pass include_schema: true only if you need the raw node-format schema.
  2. get_variables before using any $--var token. Variable references must use the exact names this returns, including the leading -- and dashes (e.g. "$--ck-blue-500"). Never guess a token name.
  3. batch_get to inspect the structure you're about to touch — search by type/name pattern or read specific nodeIds, with readDepth/searchDepth control. Do this before mutating existing nodes, not after.
  4. get_guidelines(topic: "design-system") before any non-trivial layout work (new frames, auto-layout, component reuse). It has the sizing/auto-layout rules and component/variant conventions — don't restate them from memory, call it. get_style_guide_tags then get_style_guide are available if you need visual-direction inspiration/tokens for a from-scratch design.
  5. batch_design to make the actual changes.
  6. Verify (see bottom).

batch_design DSL — rules you will otherwise get wrong

batch_design takes one operations string: a mini-script of I/C/U/R/M/D/G statements, one per line.

  • I(parent, nodeData) inserts a new node — this is the only way to add a child to an existing node. U() can update properties but cannot add, remove, or reorder children.
  • Bindings (name=I(...) or name=R(...)) let you reference a just-created/replaced node later in the same call (e.g. card=I(...) then U(card+"/title", {...})). Only I and R can bind — C/U/M/D/G never produce a binding. Bindings do not survive across separate batch_design calls, and an id/name field you put inside nodeData is cosmetic only — never usable as a binding reference.
  • Use + to build child paths off a binding or a real id: U(card+"/title", {content: "Hello"}).
  • No image node type. To apply an image, use G(nodeId, "ai"|"stock", prompt) on a frame/rectangle to generate or find an image and apply it as a fill.
  • There is a cap on operations per call. If you send more than the cap, the call still succeeds but only the first N run — the result reports truncated: true with the skipped operations. On truncated: true, your next batch_design call must contain ONLY the skipped operations (never repeat ones that already ran), and you must replace any binding references from the truncated call with the real node ids from that result's bindings field — bindings don't carry over.
  • Text nodes have no color by default — always set fill (or a fills stack) explicitly.
  • width/height: "fill_container" is only valid on a child whose parent has a flexbox layout (vertical/horizontal auto-layout) — never on a child of a plain frame.
  • $--var references inside a fill/fills/stroke/strokes color must match get_variables output exactly.

Read the full file on GitHub · 42 lines

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. 8d ago First seen · 42 lines · 63 tokens per session scan A bf6323119d8a

Subscribe to this mod's changes

pen-editor-design is a skill published in the GitHub repository dan-rozhkov/pen-editor-plugin (0 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 1,138 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens