Excalidraw Diagram Design Skill
Most AI-made diagrams are boxes in a row. The Excalidraw diagram skill is built around a different rule — a diagram should make an argument, not just list parts. You describe a system or a flow, the agent plans the layout, writes an .excalidraw file, renders it to PNG and looks at the render to catch overlapping text or crooked arrows before handing it back.
- Source
- github.com/coleam00/excalidraw-diagram-skill (community skill by Cole Medin)
- GitHub stars
- About 5.1k (Nov 2026)
- Licence
- The repository page does not state a licence. Treat it as all rights reserved and ask the author before redistributing it; using it locally to draw your own diagrams is the normal case.
- Output
.excalidrawfile (opens in excalidraw.com) and a rendered PNG- Needs
uvand Playwright with Chromium for the PNG renderer
What problem does the Excalidraw skill solve?
An agent can write Excalidraw JSON, but it cannot see the result, so long labels spill out of boxes and arrows point at nothing. This skill closes that loop: it renders its own output and fixes what it sees. It also breaks big diagrams into sections so the JSON does not get cut off mid-file, and keeps your brand colours in one file, references/color-palette.md.
When should you install it?
- You explain systems in docs, pitch decks or blog posts and want diagrams that look sketched rather than corporate.
- You want an editable source file, not just an image, so a designer can tidy it in Excalidraw later.
- You use Claude Code or another agent that reads
.claude/skills/— that is what the author built and tested it for.
How to install the Excalidraw skill
Claude Code
Terminal, from your project root
git clone https://github.com/coleam00/excalidraw-diagram-skill.git .claude/skills/excalidraw-diagramThen set up the renderer once: cd .claude/skills/excalidraw-diagram/references && uv sync && uv run playwright install chromium, or ask Claude Code to follow the setup steps in the skill. Run /skills to check it is listed.
Codex
Terminal
npx skills add coleam00/excalidraw-diagram-skill -a codexThe renderer commands inside the skill assume the .claude/skills/ path. In Codex, ask the agent to run the setup from wherever the skill was installed.
Cursor
Terminal
git clone https://github.com/coleam00/excalidraw-diagram-skill.git .claude/skills/excalidraw-diagramCursor also loads skills from .claude/skills/, so the Claude Code install works as is. Type / in agent chat to confirm.
Gemini CLI
Terminal
npx skills add coleam00/excalidraw-diagram-skill -a gemini-cliAs with Codex, point the renderer setup at the installed folder. More on Gemini skills.
More detail for every agent: how to install Claude skills. More diagram and layout skills: Claude design skills.
Questions
How do I install the Excalidraw skill?
Clone github.com/coleam00/excalidraw-diagram-skill into .claude/skills/excalidraw-diagram in your project, then run uv sync and uv run playwright install chromium in its references folder so it can render PNGs.
Is the Excalidraw skill free?
It costs nothing to download. The repository page does not state a licence, so check with the author before you redistribute or resell it.
What files does the Excalidraw skill make?
An .excalidraw file you can open and edit at excalidraw.com, plus a PNG render the skill uses to check its own layout.
Do I need Excalidraw installed?
No. The skill writes the file and renders it with a headless Chromium browser. You only need excalidraw.com if you want to edit the result by hand.
Can I make the diagrams match my brand colours?
Yes. Edit references/color-palette.md inside the skill folder; the rest of the skill is general layout rules and stays the same.