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 zvadaadam/deus-machine --skill pencilgit clone --depth 1 https://github.com/zvadaadam/deus-machineWrote 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/zvadaadam/deus-machine/pencil)<a href="https://agentmods.dev/skills/zvadaadam/deus-machine/pencil"><img src="https://agentmods.dev/badge/skills/zvadaadam/deus-machine/pencil.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.00052 | $0.01177 |
| Opus 5 | $0.00026 | $0.00589 |
| Sonnet 5 | $0.00010 | $0.00235 |
| Haiku 4.5 | $0.00005 | $0.00118 |
Grade A, and why
pencil 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 7d 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pencil
Pencil renders a real interactive canvas in the user's panel. Every op the agent makes shows up on the canvas immediately — there's no batch mode, no spinner, no 30‑second waits. The user watches the design build.
Tool surface
All design work goes through the live editor tools (provided by the bundled MCP binary, bridged to the iframe). The agent never spawns a CLI subprocess.
Workspace navigation (4 — ours)
pencil_list_designs()— every.penin the workspace (workspace files + agent‑generated). Filesystem only.pencil_get_active()— which.penis currently displayed in the panel. Use when the user says "this design" / "the open one".pencil_open({ file? | name? })— switch the editor panel to a different.pen. Workspace‑aware path resolution.pencil_new({ name })— create a brand‑new blank canvas. Sets the save target to<workspace>/.pencil/designs/<name>.penand tells the editor to open a fresh empty document. After this, drive the design withbatch_design.
Live editor (13 — Pencil's native tools, bridged)
batch_design({ operations })— the workhorse. Run a script of insert/copy/update/replace/move/delete/image ops in one call. ≤25 ops per batch so the user sees progress.batch_get({ patterns?, nodeIds? })— read nodes by ID or pattern. Use to discover structure before editing.get_editor_state({ include_schema })— current document, selection, and (if requested) the.penschema. Call once withinclude_schema: trueat the start of a task;falsefor follow‑ups.get_screenshot({ nodeId })— PNG of any node for visual verification.snapshot_layout({ parentId, maxDepth?, problemsOnly? })— compact node tree for layout reasoning.find_empty_space_on_canvas({ width, height, direction, padding })— pick a non‑overlapping region for new content.open_document(filePath | "new")— switch documents at the editor level (lower‑level thanpencil_open; preferpencil_openfor existing files because it also updates the panel switcher).replace_all_matching_properties/search_all_unique_properties— mass property edits / discovery.set_variables/get_variables— design tokens.export_nodes({ nodeIds, format, scale, quality? })— render specific nodes to image files.get_guidelines(category?, name?)— Pencil's own.pensyntax + style guides. Always callget_guidelines("general")once at the start of anybatch_designwork — the op syntax is non‑obvious and these guides are how you learn it.
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.
- 7d ago First seen · 82 lines · 52 tokens per session scan A 3414fd0281d7
pencil is a skill published in the GitHub repository zvadaadam/deus-machine (24 stars, last pushed yesterday), licensed MIT. It adds 52 tokens to every session and 1,177 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-30.
Other skills, from other repositories
html-ppt-zhangzara-retro-zine
A neighborhood zine on the disappearing corner shops — portraits, voices, and what a block loses when they close. Built as a decision-grade story deck for community, local readers.
html-ppt-zhangzara-studio
A photography studio's portfolio-and-rate deck — the signature work, the process, and the packages that win the brief. Built as a decision-grade design craft deck for prospective clients.
motion-frames
A single-frame motion-design composition with looping CSS animations — rotating type ring, animated globe, ticking timer, parallax labels. Renders as a hero video poster you can hand straight to HyperFrames or any keyframe-based exporter. Use when the brief asks for "motion design", "animated hero", "loop", "video…
webgl-halftone-drift
A self-contained WebGL2 hero: a flowing field screened through a rotated halftone dot grid into a duotone print aesthetic; move the cursor to bend the drift.
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.
motion-graphics
A short, design-led motion graphic where motion is the message — kinetic typography, stat count-up, chart/data-viz hit, logo sting / brand lockup, lower-third / callout / social overlay, animated map (highlight regions, connect places, zoom to a location), animated tweet / news-article / headline, webpage / UI…