Excalidraw Diagram SkillSAFE
Skill to give Claude Code (and any coding agent) the ability to generate beautiful and practical Excalidraw diagrams.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
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
2e1155ec2f9fOBSERVED · 2026-10-20Install
Commands as the repository documents them. They are shown, not run.
git clone https://github.com/coleam00/excalidraw-diagram-skill.git
uv sync
uv run playwright install chromium
uv sync
uv run playwright install chromium
Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| claude-code | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
--- name: excalidraw-diagram description: Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts. --- # Excalidraw Diagram Creator Generate `.excalidraw` JSON files that **argue visually**, not just display information. **Setup:** If the user asks you to set up this skill (renderer, dependencies, etc.), see `README.md` for instructions. ## Customization **All colors and brand-specific styles live in one file:** `references/color-palette.md`. Read it before generating any diagram and use it as the single source of truth for all color choices — shape fills, strokes, text colors, evidence artifact backgrounds, everything. To make this skill produce diagrams in your own brand style, edit `color-palette.md`. Everything else in this file is universal design methodology and Excalidraw best practices. --- ## Core Philosophy **Diagrams should ARGUE, not DISPLAY.** A diagram isn't formatted text. It's a visual argument that shows relationships, causality, and flow that words alone can't express. The shape should BE the meaning. **The Isomorphism Test**: If you removed all text, would the structure alone communicate the concept? If not, redesign. **The Education Test**: Could someone learn something concrete from this diagram, or does it just label boxes? A good diagram teaches—it shows actual formats, real event names, concrete examples. --- ## Depth Assessment (Do This First) Before designing, determine what level of detail this diagram needs: ### Simple/Conceptual Diagrams Use abstract shapes when: - Explaining a mental model or philosophy - The audience doesn't need technical specifics - The concept IS the abstraction (e.g., "separation of concerns") ### Comprehensive/Technical Diagrams Use concrete examples when: - Diagramming a real system, protocol, or architecture - The diagram will be used to teach or explain (e.g., YouTube video) - The audience needs to understand what things actually look like - You're showing how multiple technologies integrate **For technical diagrams, you MUST include evidence artifacts** (see below). --- ## Research Mandate (For Technical Diagrams) **Before drawing anything technical, research the actual specifications.** If you're diagramming a protocol, API, or framework: 1. Look up the actual JSON/data formats 2. Find the real event names, method names, or API endpoints 3. Understand how the pieces actually connect 4. Use real terminology, not generic placeholders Bad: "Protocol" → "Frontend" Good: "AG-UI streams events (RUN_STARTED, STATE_DELTA, A2UI_UPDATE)" → "CopilotKit renders via createA2UIMessageRenderer()" **Research makes diagrams accurate AND educational.** --- ## Evidence Artifacts Evidence artifacts are concrete examples that prove your diagram is accurate and help viewers learn. Include them in technical diagrams. **Types of evidence artifacts** (choose what's relevant to your diagram): | Artifact Type | When to Use | How to Render | |---------------|-------------|---------------| | **Code snippets** | APIs, integrations, implementation details | Dark rectangle + syntax-colored text (see color palette for evidence artifact colors) | | **Data/JSON examples** | Data formats, schemas, payloads | Dark rectangle + colored text (see color palette) | | **Event/step sequences** | Protocols, workflows, lifecycles | Timeline pattern (line + dots + labels) | | **UI mockups** | Showing actual output/results | Nested rectangles mimicking real UI | | **Real input content** | Showing what goes IN to a system | Rectangle with sample content visible | | **API/method names** | Real function calls, endpoints | Use actual names from docs, not placeholders | **Example**: For a diagram about a streaming protocol, you might show: - The actual event names from the spec (not just "Event 1", "Event 2") - A code snippet showing how to connect - What the streamed data actually looks like **Example**: For a diagram about a data transformation pipeline: - Show sample input data (actual format, not "Input") - Show sample output data (actual format, not "Output") - Show intermediate states if relevant The key principle: **show what things actually look like**, not just what they're called. --- ## Multi-Zoom Architecture Comprehensive diagrams operate at multiple zoom levels simultaneously. Think of it like a map that shows both the country borders AND the street names. ### Level 1: Summary Flow A simplified overview showing the full pipeline or process at a glance. Often placed at the top or bottom of the diagram. *Example*: `Input → Processing → Output` or `Client → Server → Database` ### Level 2: Section Boundaries Labeled regions that group related components. These create visual "rooms" that help viewers understand what belongs together. *Example*: Grouping by responsibility (Backend / Frontend), by phase (Setup / Execution / Cleanup), or by team (User / System / External) ### Level 3: Detail Inside Sections Evidence artifacts, code snippets, and concrete examples within each section. This is where the educational value lives. *Example*: Inside a "Backend" section, you might show the actual API response format, not just a box labeled "API Response" **For comprehensive diagrams, aim to include all three levels.** The summary gives context, the sections organize, and the details teach. ### Bad vs Good | Bad (Displaying) | Good (Arguing) | |------------------|----------------| | 5 equal boxes with labels | Each concept has a shape that mirrors its behavior | | Card grid layout | Visual structure matches conceptual structure | | Icons decorating text | Shapes that ARE the meaning | | Same container for everything | Distinct visual vocabulary per concept | | Everything in a box | Free-floating text with selective containers | ### Simple vs Comprehensive (Know Which You Need) | Simple Diagram | Comprehensive Diagram | |----------------|--------------------
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (1)
Gates applied: no_behavioural_pass, no_license.
2e1155ec2f9ffull audit observations/trust-audit/skill/coleam00__excalidraw-diagram.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-20 | 2e1155ec2f9f | SAFE | B | 89 | first audit |
Questions
What does the excalidraw-diagram — coleam00/excalidraw-diagram-skill skill do?
Skill to give Claude Code (and any coding agent) the ability to generate beautiful and practical Excalidraw diagrams.
Is excalidraw-diagram — coleam00/excalidraw-diagram-skill safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can excalidraw-diagram — coleam00/excalidraw-diagram-skill access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does excalidraw-diagram — coleam00/excalidraw-diagram-skill work with?
Its documentation mentions claude-code. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (2e1155ec2f9f), read on 2026-10-20. The repository is watched, and a new audit runs when it changes — this is the first audit.
Add this badge to your README
Shows this page's audit result and links back to it. It updates when the audit does.
[](https://modelsatlas.com/skills/coleam00/excalidraw-diagram/)
Not your listing, or something out of date? Claim or update your listing.