
Excalidraw Diagram Skill
SkillGenerates hand-drawn-style Excalidraw diagrams (.excalidraw files you can keep editing on excalidraw.com) from text, choosing fan-out, timeline or convergence layouts by how concepts relate. Optional uv and Playwright let the agent render and check layouts; colors live in one file you can restyle.
Excalidraw Diagram Skill
A coding agent skill that generates beautiful and practical Excalidraw diagrams from natural language descriptions. Not just boxes-and-arrows - diagrams that argue visually.
Compatible with any coding agent that supports skills. For agents that read from .claude/skills/ (like Claude Code and OpenCode), just drop it in and go.
What Makes This Different
- Diagrams that argue, not display. Every shape/group of shapes mirrors the concept it represents — fan-outs for one-to-many, timelines for sequences, convergence for aggregation. No uniform card grids.
- Evidence artifacts. As an example, technical diagrams include real code snippets and actual JSON payloads.
- Built-in visual validation. A Playwright-based render pipeline lets the agent see its own output, catch layout issues (overlapping text, misaligned arrows, unbalanced spacing), and fix them in a loop before delivering.
- Brand-customizable. All colors and brand styles live in a single file (
references/color-palette.md). Swap it out and every diagram follows your palette.
Installation
Clone or download this repo, then copy it into your project's .claude/skills/ directory:
git clone https://github.com/coleam00/excalidraw-diagram-skill.git
cp -r excalidraw-diagram-skill .claude/skills/excalidraw-diagram
Setup
The skill includes a render pipeline that lets the agent visually validate its diagrams. There are two ways to set it up:
Option A: Ask your coding agent (easiest)
Just tell your agent: "Set up the Excalidraw diagram skill renderer by following the instructions in SKILL.md." It will run the commands for you.
Option B: Manual
cd .claude/skills/excalidraw-diagram/references
uv sync
uv run playwright install chromium
Usage
Ask your coding agent to create a diagram:
"Create an Excalidraw diagram showing how the AG-UI protocol streams events from an AI agent to a frontend UI"
The skill handles the rest — concept mapping, layout, JSON generation, rendering, and visual validation.
Customize Colors
Edit references/color-palette.md to match your brand. Everything else in the skill is universal design methodology.
File Structure
excalidraw-diagram/
SKILL.md # Design methodology + workflow
references/
color-palette.md # Brand colors (edit this to customize)
element-templates.md # JSON templates for each element type
json-schema.md # Excalidraw JSON format reference
render_excalidraw.py # Render .excalidraw to PNG
render_template.html # Browser template for rendering
pyproject.toml # Python dependencies (playwright)
Похожие ресурсы

Obsidian Visual Skills Pack
PluginVisualization skills for Obsidian that turn text into Excalidraw hand-drawn diagrams, Mermaid charts and Obsidian Canvas mind maps. Marked experimental by the author; the Excalidraw skill needs the matching Obsidian plugin.
axtonliu/axton-obsidian-visual-skills3.6k
Diagram Design
SkillGenerates self-contained HTML+SVG diagrams in an editorial style: architecture, flowcharts, sequence, swimlane, Gantt and dozens more types. Can match brand colors from a website and redraw imported Mermaid, draw.io and Excalidraw sources.
cathrynlavery/diagram-design56.3k
Excalidraw MCP App Server
MCPExcalidraw's official MCP App: streams hand-drawn-style architecture diagrams and flowcharts into the conversation, with full-screen editing. Remote endpoint at https://mcp.excalidraw.com; requires a client that supports MCP Apps, such as Claude or ChatGPT.
excalidraw/excalidraw-mcp5.5k
Excalidraw MCP Server
MCPGives agents a live local Excalidraw canvas: add, edit and delete elements to draw architecture diagrams and flowcharts, take screenshots to check the result, convert Mermaid and export .excalidraw files. Runs locally with no API key; also ships a CLI and an agent skill.
yctimlin/mcp_excalidraw2.5k
markmap-cli
CLITurns Markdown outlines into interactive HTML mind maps you can collapse and zoom, with inlined assets for offline use and a watch mode that refreshes live. Good for mapping requirements, lesson planning and organizing knowledge.
markmap/markmap13.2k
Markmap MCP Server
MCPTurns Markdown outlines into interactive mind map HTML and can export PNG, JPG or SVG server-side (requires Playwright). Runs fully locally with no third-party API key; good for organizing notes, lesson prep and document structure.
jinzcdev/markmap-mcp-server289