excalidraw
Skill by projectious-work
Generates Excalidraw diagrams as hand-drawn-style JSON for architecture diagrams, flowcharts and documentation visuals. The output stays editable in the Excalidraw app. It also covers converting existing diagrams to editable Excalidraw JSON.
Install excalidraw
Built from the published package, never by AI.
git clone --depth 1 https://github.com/projectious-work/aibox /tmp/aibox && mkdir -p ~/.claude/skills && cp -r /tmp/aibox/context/templates/processkit/v0.26.8/context/skills/design/excalidraw ~/.claude/skills/excalidrawRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/projectious-work/aibox /tmp/aibox && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/aibox/context/templates/processkit/v0.26.8/context/skills/design/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 teaches an AI assistant to write Excalidraw files directly as JSON. An .excalidraw file has a top-level elements array of shapes, text and arrows, wrapped in a fixed v2 envelope with appState and files. The skill covers element properties, binding text labels to shapes, a 20px layout grid and a semantic color palette.
It describes three diagram types: architecture, flowchart and sequence-style. It also explains embedding, where the .excalidraw source is kept for editing and SVG or PNG is exported for documentation. The skill is meant for people who create architecture diagrams, flowcharts or documentation visuals, or who need to convert existing diagrams to editable Excalidraw JSON.
Written from the project's SKILL.md and checked against it.
What it can do
- File envelopeWrites a complete v2 Excalidraw file with elements, appState and files.
- Element typesCreates rectangles, ellipses, diamonds, text, arrows and lines.
- Text labelsBinds text to shapes so the label is attached to its container.
- Layout rulesSnaps positions to a 20px grid and spaces connected elements 80-120px apart.
- Color paletteApplies consistent fill and stroke colors by role, such as primary or danger.
- Architecture diagramsLays out services, databases and grouped containers with labeled data flow arrows.
- FlowchartsBuilds flowcharts with decision diamonds and Yes or No labels on arrows.
- Sequence-style diagramsArranges operations with horizontal arrows and dashed arrows for responses.
- Embedding in docsExplains saving the source file and exporting SVG or PNG for documentation.
What you need
- Excalidraw VS Code extension, optional, to render .excalidraw files in the editor
Try asking
- Draw an architecture diagram of my API, database and frontend as Excalidraw JSON.
- Create an Excalidraw flowchart with a Yes/No decision for a login process.
- Convert this diagram description into editable Excalidraw JSON with bound labels.
Good to know
- Image elements need a matching base64 entry in the files object or they render as broken.
- Freedraw and image elements are available but rarely generated.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: context/templates/processkit/v0.26.8/context/skills/design/excalidraw/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
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 output be edited after it is generated?
Yes. The skill is built to produce files that stay editable in the Excalidraw app. The source file can be kept for later edits.
Can it convert existing diagrams?
The description says it covers converting existing diagrams to editable Excalidraw JSON.
Why do my labels not move with their shapes?
Text placed on top of a shape is not bound to it. The container's boundElements and the text's containerId must reference each other.
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 64 of 100. Grades: maintenance A, licence A, quality C. 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.
