Excalidraw
Skill by danielmiessler
Sketches ideas as hand-drawn Excalidraw diagrams on a live local canvas, with Mermaid conversion, file import and export, and share links. It is for people who want quick whiteboard-style diagrams from an AI assistant.
Install Excalidraw
Built from the published package, never by AI.
git clone --depth 1 https://github.com/danielmiessler/LifeOS /tmp/LifeOS && mkdir -p ~/.claude/skills && cp -r /tmp/LifeOS/LifeOS/install/skills/Excalidraw ~/.claude/skills/excalidrawRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/danielmiessler/LifeOS /tmp/LifeOS && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/LifeOS/LifeOS/install/skills/Excalidraw ~/.gemini/antigravity-cli/skills/excalidrawAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The Excalidraw skill lets an AI assistant draw hand-drawn Excalidraw diagrams on a live local canvas. It runs through Tools/Canvas.ts, which pins the mcp-excalidraw-server package at version 2.0.0 and uses port 3579. The user can open the canvas URL to watch the diagram draw itself and edit it by hand. The skill can also read a person's rough canvas back as structured data, so existing whiteboards can be refined.
The skill covers Mermaid conversion, .excalidraw file import and export, screenshot embedding, and share links through excalidraw.com. A contrast check gates finished diagrams for readability in light and dark themes. The source aims it at architecture sketches and whiteboard work, not polished static images, which it routes to a separate Art skill.
Written from the project's SKILL.md and checked against it.
What it can do
- SketchDiagramTurns ideas into hand-drawn diagrams on a live local canvas.
- RefineDiagramReads a person's canvas back and organizes or edits existing .excalidraw content.
- Mermaid conversionConverts Mermaid diagrams into Excalidraw diagrams.
- AddImage.tsEmbeds a screenshot as an image element inside a diagram.
- Share.tsUploads a scene to excalidraw.com with the canvas background set.
- ContrastCheck.tsChecks every text element against its background using a WCAG contrast test.
What you need
- Bun runtime to run the Tools/Canvas.ts commands
- Open browser tab for screenshots, Mermaid and image export
Try asking
- Sketch the three-stage pipeline as a hand-drawn diagram on my canvas
- Organize my whiteboard into labelled zones with connected arrows
- Convert this Mermaid flowchart to an Excalidraw diagram
Good to know
- Embedded images do not survive anonymous excalidraw.com share links.
- The local canvas can render API-created text at about twice its stored size, an upstream bug in v2.0.0.
- Screenshots, Mermaid and image export need an open browser tab.
- The skill deliberately registers no MCP server.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: LifeOS/install/skills/Excalidraw/SKILL.md, LifeOS/install/skills/Excalidraw/Tools/AddImage.ts, LifeOS/install/skills/Excalidraw/Tools/Canvas.ts, LifeOS/install/skills/Excalidraw/Tools/ContrastCheck.ts, LifeOS/install/skills/Excalidraw/Tools/Share.ts. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
Intents/RefineDiagram.md2 KB -
Intents/SketchDiagram.md4 KB -
References/Cheatsheet.md6 KB -
SKILL.md10 KB -
Tools/AddImage.ts6 KB
Show all 8 files
-
Tools/Canvas.ts765 B -
Tools/ContrastCheck.ts4 KB -
Tools/Share.ts3 KB
Alternatives to Excalidraw
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
Excalidraw: common questions
Can the diagram be shared as a link?
Yes, Tools/Share.ts uploads the scene to excalidraw.com with the background set. Scenes with embedded images should ship as the .excalidraw file or a flattened PNG, because images do not survive share links.
Can I edit the diagram by hand?
Yes. The user opens the local canvas URL at http://127.0.0.1:3579 to watch the diagram draw and can edit it directly.
Does it need an MCP server to run?
No. The source says the skill deliberately registers no MCP server and drives the canvas through its CLI wrapper.
How do I install Excalidraw?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is Excalidraw free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Excalidraw safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Excalidraw?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
