Skip to main content
Installing the Excalidraw Diagram Skill is a two-step process: first, add the skill to your project, then set up the render pipeline for visual validation.

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:
The simplest approach is to let your coding agent set everything up for you.Just tell your agent:
The agent will:
  1. Navigate to the correct directory
  2. Run uv sync to install Python dependencies
  3. Run uv run playwright install chromium to install the browser
This is the recommended approach — your agent knows how to read the setup instructions and execute them correctly.

Verify Installation

To verify the render pipeline is working:
You should see usage information for the render script.

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.