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 CodingFeng101/CanvasAnvil --skill canvas-skillgit clone --depth 1 https://github.com/CodingFeng101/CanvasAnvilWrote 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/codingfeng101/canvasanvil/canvas-skill)<a href="https://agentmods.dev/skills/codingfeng101/canvasanvil/canvas-skill"><img src="https://agentmods.dev/badge/skills/codingfeng101/canvasanvil/canvas-skill/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/codingfeng101/canvasanvil/canvas-skill"><img src="https://agentmods.dev/badge/skills/codingfeng101/canvasanvil/canvas-skill.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.00045 | $0.01304 |
| Opus 5.5 | $0.00018 | $0.00522 |
| Sonnet 5.5 | $0.00009 | $0.00261 |
| Haiku 4.5 | $0.00005 | $0.00130 |
Grade A, and why
canvas-skill 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 17d 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 — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Canvas Skill
Use the canvasanvil_canvas MCP tools and the native widget. The widget reuses CanvasAnvil's Excalidraw CanvasBoard, annotation compositor, image placement and version strip.
Open
Call render_canvas_widget once with the absolute active user workspace as projectDir. Reuse the current canvas for subsequent requests. Showing it to the user is your job, in this order: (1) a host that renders MCP App widgets shows the canvas in the conversation; (2) otherwise open the returned browserUrl yourself, right away, in the host's built-in browser or preview pane where the user can see it; (3) if you have no such tool, call render_canvas_widget again with launch: true to open the user's default browser; (4) hand the URL to the user only if all of that fails. The result's next repeats this. If the MCP tools are not loaded (a newly installed plugin may need a host restart), use the command line instead (Node 20+): node <cli> open canvas <projectDir> prints the canvas URL (open it yourself in the built-in browser, or add --launch to open the user's default browser), and node <cli> call <tool> @args.json runs any tool below with the same arguments. <cli> is <plugin-dir>/scripts/canvas.mjs in the plugin, or <skill-dir>/runtime/scripts/canvas.mjs when this skill folder is used on its own. The canvas page must stay open: it captures annotations, places images and saves the user's edits.
Generate and edit
The user gives generation and editing instructions directly in the Codex conversation. For a new image, use the host image tool (or generate_canvas_image, see below), inspect its local output, then call insert_canvas_image with a new stable operationId to place it on the open canvas.
For edits to a canvas image, keep the widget open and use the same projectDir that opened it.
- Call
get_canvas_selectionto identify the current image. Callget_canvas_requestwith a new stablerequestIdand the user's chat instruction aspromptto capture that selection and its nearby annotations. Read the same request ID untilstatusispending. Whilecapturing, allow the open widget time to prepare the snapshot. If it stayscapturing, report that the widget needs to be open and responsive. If it isfailed, report its error and resolve the selection issue before creating a new request. A ready request includes absolute reference-image paths and verbatim annotation text. - For edits, inspect the clean original and annotated preview. Apply only the requested change, preserving other content and the image's aspect ratio. Quote requested replacement text exactly. The output should be a clean image with the annotations removed.
- Use the host's image generation/editing tool. Respect its access checks. Without one, call
generate_canvas_imagewith therequestIdand, asprompt, the change in plain words; it sends the clean original as the reference with the website's edit prompt. Use the newly generated local image path, inspect the result, and report any observed unintended changes. - Call
insert_canvas_imagewithprojectDir,requestId,imagePath, a briefnoteand a stableoperationId. Use the request ID as the operation ID for that request. Reuse the same operation ID when retrying. - The open widget inserts the image using the website's existing placement logic, links the version family and removes the consumed annotations. Check
get_canvas_selectionfor the operation'sappliedstatus. A pending operation needs the existing widget open to finish placement. Reopen it only when the user asks or it has been closed.
What ships with it
60 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.
- .claude-plugin/plugin.json 469 B
- .codex-mcp.json 123 B
- .codex-plugin/plugin.json 454 B
- agents/openai.yaml 228 B
- assets/cad-widget.bin 881 KB
- assets/canvas-mcp.mjs 874 KB runs code
- assets/canvas-widget.bin 15830 KB
- assets/canvas-widget.html 510 KB
- assets/diagram-widget.bin 606 KB
- assets/LICENSE 1.0 KB
- config/image-provider.example.json 51 B
- mcp/image-fallback.mjs 4.3 KB runs code
- mcp/native-editors.mjs 16 KB runs code
- mcp/server.mjs 28 KB runs code
- package.json 105 B
- scripts/canvas.mjs 432 B runs code
- scripts/start-mcp.mjs 198 B runs code
- skills/cad-skill/agents/openai.yaml 290 B
- skills/cad-skill/designer/.gitignore 68 B
- skills/cad-skill/designer/assets/icon.png 704 KB
- skills/cad-skill/designer/assets/template.html 2137 KB
- skills/cad-skill/designer/GUIDE.md 8.2 KB
- skills/cad-skill/designer/LICENSE 1.0 KB
- skills/cad-skill/designer/reference/cad-conventions.md 14 KB
- skills/cad-skill/designer/reference/catalog-sizes.json 8.2 KB
- skills/cad-skill/designer/reference/delivery.md 14 KB
- skills/cad-skill/designer/reference/env-cloud.md 2.5 KB
- skills/cad-skill/designer/reference/example-3d.png 196 KB
- skills/cad-skill/designer/reference/example-ceiling.jpg 70 KB
- skills/cad-skill/designer/reference/example-freemodel.jpg 252 KB
- skills/cad-skill/designer/reference/example-gen-building.py 5.2 KB runs code
- skills/cad-skill/designer/reference/example-gen-cad.py 4.6 KB runs code
- skills/cad-skill/designer/reference/example-gen-duplex.py 12 KB runs code
- skills/cad-skill/designer/reference/example-gen-furnished.py 17 KB runs code
- skills/cad-skill/designer/reference/example-gen-office-dxf.py 36 KB runs code
- skills/cad-skill/designer/reference/example-gen-precise.py 9.3 KB runs code
- skills/cad-skill/designer/reference/example-gen-villa.py 14 KB runs code
- skills/cad-skill/designer/reference/example-gen.py 4.0 KB runs code
- skills/cad-skill/designer/reference/example-input.jpg 115 KB
- skills/cad-skill/designer/reference/example-library.jpg 95 KB
- skills/cad-skill/designer/reference/example-mep-edit.jpg 142 KB
- skills/cad-skill/designer/reference/example-mep2d.jpg 128 KB
- skills/cad-skill/designer/reference/example-mep3d.jpg 75 KB
- skills/cad-skill/designer/reference/example-office-3d.jpg 103 KB
- skills/cad-skill/designer/reference/example-office-hall.jpg 113 KB
- skills/cad-skill/designer/reference/example-office-wc.jpg 63 KB
- skills/cad-skill/designer/reference/example-overlay.png 485 KB
- skills/cad-skill/designer/reference/example-pathtraced.jpg 42 KB
- skills/cad-skill/designer/reference/example-plan2d.png 162 KB
- skills/cad-skill/designer/reference/example-resize.jpg 105 KB
- skills/cad-skill/designer/reference/example-smart.jpg 66 KB
- skills/cad-skill/designer/reference/example-spec.json 8.1 KB
- skills/cad-skill/designer/reference/example-style.jpg 94 KB
- skills/cad-skill/designer/reference/example-villa-diorama.jpg 66 KB
- skills/cad-skill/designer/reference/example-villa-night.jpg 70 KB
- skills/cad-skill/designer/reference/example-walk-cam.jpg 75 KB
- skills/cad-skill/designer/reference/example-walk-markers.jpg 49 KB
- skills/cad-skill/designer/reference/example-walk-route.json 820 B
- skills/cad-skill/designer/reference/furnishing.md 13 KB
- skills/cad-skill/designer/reference/mep-rules.md 13 KB
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.
- 17d ago Changed 434b9d3d7e80
- 19d ago First seen · 41 lines · 45 tokens per session scan A 4b89df73c0dc
canvas-skill is a skill published in the GitHub repository CodingFeng101/CanvasAnvil (241 stars, last pushed today), licensed MIT. It adds 45 tokens to every session and 1,304 once invoked, about $0.0002 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-11.
canvas-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| canvas-skillCodingFeng101/CanvasAnvil | Skill | 241 | today | MIT | A | 45 | Claude Code, Codex |
| drawio-skillAgents365-ai/drawio-skill | Skill | 11k | yesterday | MIT | A | 107 | Claude Code, Codex |
| cocosketchSnowflake-Labs/cocoplus | Skill | 729 | 23d ago | MIT | A | 20 | Claude Code |
| fin-arch-diagramcsmar432/finai-research | Skill | 112 | 7d ago | MIT | A | 72 | Cursor |
| bruce-drawiobruc3van/bruce-drawio | Skill | 115 | 3mo ago | MIT | A | 129 | Claude Code, Codex |
| FlowForgewentong2022-arch/flowforge-skill | Skill | 139 | 4mo ago | MIT | A | 153 | Claude Code |
| tldraw-skillAgents365-ai/365-skills | Skill | 108 | 28d ago | none | A | 70 | Claude Code |