Skip to content
Skill

Excalidraw diagram

Generates Excalidraw diagram JSON files that visually explain workflows and architectures

Excalidraw diagram is an open-source agent skill for design and media. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
Python
Platforms
Claude Code, Codex, Cursor
GitHub stars
10
Last commit
License
MIT
Listing updated

Similar skills

About Excalidraw diagram

This skill guides the agent to produce .excalidraw files where the layout itself carries the argument, so relationships, flow and causality read from the shapes rather than from dense labels. It separates simple conceptual diagrams from comprehensive technical ones and asks for concrete evidence such as real names, payloads or code snippets when the subject is a real system.

The workflow is methodical: assess the depth needed, map each concept to a visual pattern like fan-out, timeline or convergence, then build the JSON section by section with descriptive IDs and bound arrows. The skill also instructs the agent to render the result to PNG with a bundled Python script, inspect it for clipped text, overlaps and misrouted arrows, and iterate until the layout holds up.

Colors and brand styling are centralized in a single reference palette file that the agent is told to follow, and element templates are provided for text, lines, rectangles and arrows. Rendering requires uv and a Playwright Chromium install, which the README describes as a one-time setup.

When your agent uses it

Create Excalidraw diagram JSON files that make visual arguments. Use when the user wants to visualize workflows, architectures, or concepts.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 9 files (43 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/excalidraw-diagram to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/excalidraw-diagram &&
cp -R "$tmp/excalidraw-diagram" ~/.claude/skills/excalidraw-diagram &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/excalidraw-diagram inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/excalidraw-diagram to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/excalidraw-diagram &&
cp -R "$tmp/excalidraw-diagram" ~/.agents/skills/excalidraw-diagram &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/excalidraw-diagram inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/excalidraw-diagram to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/excalidraw-diagram &&
cp -R "$tmp/excalidraw-diagram" ~/.cursor/skills/excalidraw-diagram &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/excalidraw-diagram inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ccomkhj/skills.git --path excalidraw-diagram

Or copy the folder to ~/.gemini/skills/excalidraw-diagram yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/excalidraw-diagram:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/excalidraw-diagram &&
cp -R "$tmp/excalidraw-diagram" ~/.copilot/skills/excalidraw-diagram &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/excalidraw-diagram inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ccomkhj/skills.git

Then copy skills/excalidraw-diagram into your agent's skills folder as excalidraw-diagram. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Visual argument design
Guides layouts where shape and structure mirror the concept being explained.
Section-by-section JSON build
Builds large diagrams in passes with descriptive IDs and cross-section arrow bindings.
Evidence artifacts
Adds realistic snippets, data examples and event names to technical diagrams.
Render and fix loop
Renders the diagram to PNG with a Python script and corrects visual defects.
Brand color palette
Keeps all colors in one editable reference file for consistent styling.
Element templates
Supplies copy-ready JSON templates for text, lines, dots, rectangles and arrows.

Good for

  • Diagram how an API request flows through services
  • Visualize a software architecture with real component names
  • Explain a workflow as a timeline of steps
  • Create a concept map showing how ideas relate
  • Draw a data transformation pipeline with sample payloads

Excalidraw diagram FAQ

What does the skill need to render diagrams?

The render script uses uv and Playwright. Setup is running uv sync in the references folder and then uv run playwright install chromium.

Where do I change the colors?

All colors and brand-specific styles live in references/color-palette.md, which the skill reads before generating any diagram.

What output does Excalidraw diagram produce?

It produces .excalidraw JSON files and renders a PNG next to each file for visual checking.

When does the skill trigger?

It is meant for requests to visualize workflows, architectures or concepts as Excalidraw diagrams.

How do I install Excalidraw diagram in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/excalidraw-diagram to use it in all your projects, or to .claude/skills/excalidraw-diagram in one project.

Does Excalidraw diagram run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Excalidraw diagram?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Excalidraw diagram?

The closest alternatives to Excalidraw diagram are Excalidraw diagram generator, Draw io diagram generator, Drawio, Mqc litigation visual redraw and Lead knowledge animation.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ccomkhj/skills

  1. Audits AGENTS.md project memory files and proposes targeted, approved updates

    • Open source
    • 10 GitHub stars
    • Developer tools
  2. Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases

    • Open source
    • 10 GitHub stars
    • Education and exam prep
  3. Runs a project and builds an interactive walkthrough from what actually executed

    • Open source
    • 10 GitHub stars
    • Developer tools
  4. Turns a clear improvement target into a measurable Claude Code /goal condition

    • Open source
    • 10 GitHub stars
    • Developer tools
  5. Races Claude against Codex in separate git worktrees until a measurable goal is met

    • Open source
    • 10 GitHub stars
    • Developer tools
  6. Runs a per-turn race between two coding agents and keeps the better diff

    • Open source
    • 10 GitHub stars
    • Developer tools