excalidraw-skill

excalidraw-skill is a skill for Claude Code, Codex from kakacoding1/mcp_excalidraw. It costs 148 tokens per session (4,403 once invoked), scanned A, a copy of excalidraw-skill, MIT.

A toolkit for creating, editing, viewing, and exporting Excalidraw diagrams. Excalidraw is a browser-based drawing tool for simple diagrams, sketches, and flowcharts.

In plain words
What is it for?
Drawing diagrams on a live canvas, adjusting them from screenshots or scene descriptions, and importing or exporting Excalidraw content through MCP tools or a local REST service.
Why use it?
It lets an agent inspect its diagram and refine the layout while working, instead of creating a drawing without being able to check the result.

Skill for Claude CodeCodex

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

Good fit Drawing diagrams on a live canvas, adjusting them from screenshots or scene descriptions, and importing or exporting Excalidraw content through MCP tools or a local REST service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kakacoding1/mcp_excalidraw/excalidraw-skill
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 kakacoding1/mcp_excalidraw --skill excalidraw-skill
Clone the repo
git clone --depth 1 https://github.com/kakacoding1/mcp_excalidraw

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 excalidraw-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/kakacoding1/mcp_excalidraw/excalidraw-skill.svg)](https://agentmods.dev/skills/kakacoding1/mcp_excalidraw/excalidraw-skill)
Your own site
<a href="https://agentmods.dev/skills/kakacoding1/mcp_excalidraw/excalidraw-skill"><img src="https://agentmods.dev/badge/skills/kakacoding1/mcp_excalidraw/excalidraw-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,403 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 88% copy Near-identical to another mod 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.00148 $0.04403
Opus 5 $0.00074 $0.02201
Sonnet 5 $0.00030 $0.00881
Haiku 4.5 $0.00015 $0.00440

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

Security

Grade A, and why

excalidraw-skill scanned grade A with 1 finding 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.

The scan reads SKILL.md. This mod also ships 7 executable files (scripts/clear-canvas.cjs, scripts/create-element.cjs, scripts/delete-element.cjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

2. Optional: `curl -X DELETE http://localhost:3000/api/elements/clear`
Origin

This is a copy

88% identical to excalidraw-skill — 20 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/excalidraw-skill/SKILL.md · 304 lines

How it starts

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

Excalidraw Skill

Step 0: Determine Connection Mode

Two modes are available. Try MCP first — it has more capabilities.

MCP mode (preferred): If excalidraw/batch_create_elements and other excalidraw/* tools appear in your tool list, use them directly. MCP tools handle label and arrow binding format automatically.

REST API mode (fallback): If MCP tools aren't available, use HTTP endpoints at http://localhost:3000. See the cheatsheet for REST payloads. Note the format differences in the table below — REST and MCP accept slightly different field names.

Neither works? Tell the user:

The Excalidraw canvas server is not running. To set up:

  1. git clone https://github.com/kakacoding1/mcp_excalidraw && cd mcp_excalidraw
  2. npm ci && npm run build
  3. PORT=3000 npm run canvas
  4. Open http://localhost:3000 in a browser
  5. (Recommended) Install the MCP server: claude mcp add excalidraw -s user -e EXPRESS_SERVER_URL=http://localhost:3000 -- node /path/to/mcp_excalidraw/dist/index.js

MCP vs REST API Quick Reference

Operation MCP Tool REST API Equivalent
Create elements batch_create_elements POST /api/elements/batch
Get all elements query_elements GET /api/elements
Get one element get_element GET /api/elements/:id
Update element update_element PUT /api/elements/:id
Delete element delete_element DELETE /api/elements/:id
Clear canvas clear_canvas DELETE /api/elements/clear
Describe scene describe_scene GET /api/elements (parse manually)
Export scene export_scene GET /api/elements (save to file)
Import scene import_scene POST /api/elements/sync
Snapshot snapshot_scene POST /api/snapshots
Restore snapshot restore_snapshot GET /api/snapshots/:name then POST /api/elements/sync
Screenshot get_canvas_screenshot POST /api/export/image (needs browser)
Viewport set_viewport POST /api/viewport (needs browser)
Export image export_to_image POST /api/export/image (needs browser)
Export URL export_to_excalidraw_url Only via MCP

Read the full file on GitHub · 304 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. 7d ago First seen · 304 lines · 148 tokens per session scan A 0e4255b1e785

Subscribe to this mod's changes

excalidraw-skill is a skill published in the GitHub repository kakacoding1/mcp_excalidraw (0 stars, last pushed 5mo ago), licensed MIT. It adds 148 tokens to every session and 4,403 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 88% identical to excalidraw-skill, differing in 20 lines, and is treated as a copy.

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