coleam00/excalidraw-diagram-skill
Coding-agent skill that drafts editable Excalidraw diagrams and checks them via PNG
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
This is a file-based coding-agent skill with a Python renderer, not a documented MCP server. SKILL.md defines the design and generation workflow. The host agent interprets the request, maps relationships to visual structures, and writes an .excalidraw JSON file using references/element-templates.md and references/json-schema.md. The integration boundary is the host's skill-loading convention, not a network protocol.
The rendering path lives in references/: pyproject.toml lists Playwright, and render_excalidraw.py uses render_template.html to turn the diagram into a PNG in Chromium. The agent inspects that image and revises the source diagram as needed. The renderer supplies visual feedback; it is not a layout engine that independently repairs the diagram.
Key Capabilities & Differentiators
The strongest use case is explaining technical relationships rather than merely listing components. A fan-out shows how one producer feeds multiple consumers, a timeline makes event order explicit, and convergence shows aggregation. Code excerpts and concrete JSON payloads can sit next to the paths they explain, making a protocol diagram useful for both orientation and implementation review.
The outputs serve different purposes: .excalidraw is the editable deliverable, while PNG is the review artifact for catching text overlap, misaligned arrows, and uneven spacing. references/color-palette.md centralizes brand colors without requiring changes to the element templates. Compatibility is defined by whether the host supports skills; no specific model family or provider is required by the documented workflow.
Trade-offs & Limitations
Compared with Mermaid, editable Excalidraw JSON gives the agent more control over placement, callouts, and embedded examples. The cost is that changes to coordinates and element properties are harder to review in a plain-text diff than changes to a compact Mermaid definition. Compared with drawing directly in Excalidraw, the skill can draft the layout from a prompt, but manual editing remains preferable when exact placement is the priority.
The render-and-revise cycle adds browser setup and agent work. It can catch visible defects, but a clean PNG does not establish that event order, payloads, or system boundaries are correct. The license is unspecified, so teams should confirm permission before commercial adoption or redistribution rather than treating repository access as an open-source license grant.
Hardware & Deployment Guide
For Claude Code and other hosts that read .claude/skills/, copy the repository to .claude/skills/excalidraw-diagram. To set up rendering, enter that skill's references/ directory, run uv sync to install the Python dependencies, then run uv run playwright install chromium to provision the browser. The verified runtime path is a local Python/browser process, not a separately deployed API or daemon.
Plan for a Chromium installation and browser process on the developer machine or runner. No GPU, CUDA, or VRAM requirement is specified for rendering. A local renderer does not make the host agent offline, and fully offline setup and execution are not established. No tagged release is listed, so teams that need reproducible installs should pin a reviewed repository revision.
SKILL.md runs through the coding agent's skill workflow; no MCP transport or server entrypoint is identified..excalidraw files; PNGs are used for inspection.render_excalidraw.py uses Playwright and a browser template to produce a PNG the agent can inspect before revising the layout.references/color-palette.md centralizes brand colors separately from element templates.Teams already using a skill-capable coding agent that want editable diagrams of architecture, event flows, or protocols, with a PNG preview before handoff.
You need a callable MCP service, text-first diffs for diagrams, a browser-free workflow, or confirmed redistribution rights.
Quick Start & Installation
cd .claude/skills/excalidraw-diagram/references uv sync uv run playwright install chromium
Comparison vs. Top Coding, Skills & MCP Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| excalidraw-diagram-skill ★ | 5.4k | +37 | Python | — | Coding-agent skill that drafts editable Excalidraw diagrams and checks them via |
| skills | 204.1k | +2.5k | Python | — | A Claude Agent Skills catalog for packaging and reusing task workflows |
| ui-ux-pro-max-skill | 158.5k | +3.6k | Python | MIT | A search-and-rules skill that gives coding agents a UI design system to build fr |
| graphify | 156.8k | +2.4k | Python | Apache-2.0 | Local AST graphs for dependency tracing, with CLI and MCP access. |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/coleam00/excalidraw-diagram-skill.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about excalidraw-diagram-skill
How does the agent invoke this, and does it need an MCP server?
.claude/skills/. The agent follows SKILL.md to generate the .excalidraw file; the Python renderer produces a PNG for inspection. No MCP endpoint, transport, or tool registration is identified.What hardware and runtime overhead should I plan for?
Can we run it locally for commercial work or bundle it in an internal toolkit?
When should we choose it over Mermaid or manual Excalidraw editing?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy