Prerequisites
- A coding agent that supports skills (Claude Code, OpenCode, or compatible)
- Python 3.8+ (for the render pipeline)
- uv package manager (recommended)
Step 1: Install the Skill
Clone or download the repository and copy it into your project’s.claude/skills/ directory:
The skill files must be in
.claude/skills/excalidraw-diagram/ for agents to discover them.Step 2: Set Up the Render Pipeline
The skill includes a render pipeline that lets the agent visually validate its diagrams. This is a mandatory part of the workflow — diagrams are rendered to PNG, inspected by the agent, and fixed in a loop until they look right. There are two ways to set it up:- Option A: Ask Your Agent (Easiest)
- Option B: Manual Setup
The simplest approach is to let your coding agent set everything up for you.Just tell your agent:The agent will:
- Navigate to the correct directory
- Run
uv syncto install Python dependencies - Run
uv run playwright install chromiumto install the browser
Verify Installation
To verify the render pipeline is working:File Structure
After installation, your skill directory should look like this:Next Steps
Quickstart
Create your first diagram in under 2 minutes
Customize Colors
Match diagrams to your brand palette
The render pipeline is a core part of the workflow, not an optional feature. Every diagram gets rendered, viewed, and fixed in a loop before delivery.