# Excalidraw diagram

> Excalidraw diagram is an open-source agent skill for design and media. Builds Excalidraw diagram JSON files that visually argue workflows, architectures. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/chrisalehman/bionic/tree/main/payload/skills/excalidraw-diagram
- **Repository:** https://github.com/chrisalehman/bionic
- **GitHub stars:** 10
- **License:** MIT
- **Skill name:** excalidraw-diagram
- **Collection:** https://github.com/chrisalehman/bionic
- **Categories:** [design and media](https://ai-powered.com/categories/design-and-media)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent to produce .excalidraw files where the layout itself carries the meaning, so relationships, causality and flow read at a glance rather than as labelled boxes. For technical subjects it asks the agent to research real specs first and include concrete evidence such as actual payloads, event names, method names and endpoints.

After generating the JSON, the agent renders it to PNG with a bundled Python script driving a headless browser, views the image, and revises element positions, arrow routes and sizing in a loop until the layout is clean. Colors come from a single palette reference file, so the look can be rebranded by editing one document.

Rendering depends on uv, a synced Python project and a Playwright Chromium browser. The skill offers to install these on first use and reports rendering as unavailable if the user declines. The renderer loads a pinned version of the Excalidraw library from a CDN.

## 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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/chrisalehman/bionic/tree/HEAD/payload/skills/excalidraw-diagram)
- [No network calls found in its scripts](https://github.com/chrisalehman/bionic/tree/HEAD/payload/skills/excalidraw-diagram)
- [License: MIT](https://github.com/chrisalehman/bionic/tree/HEAD/payload/skills/excalidraw-diagram)

## Features

- **Visual argument design:** Guides layouts where the shape of the diagram mirrors the behavior it describes, such as fan-out for one-to-many relationships.
- **Evidence-based technical diagrams:** Asks the agent to research specs and include real code, payloads and event names instead of generic labels.
- **PNG render loop:** Runs a bundled Python script to render the diagram to PNG so the agent can inspect and fix its output.
- **Defect checklist:** Lists visual problems to check for, including clipped text, overlaps, misrouted arrows and uneven spacing.
- **Editable color palette:** Keeps all colors in one reference file so the visual style can be changed without touching the workflow.
- **Element templates:** Provides copy-paste JSON templates for text, lines, dots, rectangles and arrows.

## Good for

- Diagram the architecture of a microservice system as an Excalidraw file
- Visualize a multi-step approval workflow with arrows and decision points
- Explain an API protocol with real message payloads shown in the diagram
- Turn a concept like event-driven design into a visual explainer
- Produce a diagram that I can open and edit in Excalidraw

## Install

### Claude Code

This skill ships in the `bionic` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add chrisalehman/bionic
/plugin install bionic@bionic
```

Or copy only this skill to `~/.claude/skills/excalidraw-diagram`:

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

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

### Codex

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

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

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

### Cursor

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

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

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

### Gemini CLI

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

```sh
gemini skills install https://github.com/chrisalehman/bionic.git --path payload/skills/excalidraw-diagram
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/chrisalehman/bionic.git
```

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

## FAQ

### What does the skill need to render diagrams?

Rendering needs uv, a Python project environment built with uv sync, and a Playwright Chromium browser. The skill offers to install each of these on first use, and declining means rendering is unavailable.

### When does the skill trigger?

It is meant for requests to visualize workflows, architectures or concepts, and the agent loads it when a task matches that description.

### Which Excalidraw version does the renderer use?

The renderer template pins the Excalidraw library to version 0.18.0 rather than loading an unpinned bundle from a CDN.

### 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. Or install the bionic plugin, which includes it: /plugin marketplace add chrisalehman/bionic, then /plugin install bionic@bionic.

### 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. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

### What are the best alternatives to Excalidraw diagram?

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

## Where this comes from

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

## Alternatives

- [Excalidraw diagram](https://ai-powered.com/skills/excalidraw-diagram): Excalidraw diagram is an open-source agent skill for design and media.
- [Excalidraw diagram generator](https://ai-powered.com/skills/excalidraw-diagram-generator): Excalidraw diagram generator is an open-source agent skill for developer tools.
- [Draw io diagram generator](https://ai-powered.com/skills/draw-io-diagram-generator): Draw io diagram generator is an open-source agent skill for design and media.
- [Drawio](https://ai-powered.com/skills/drawio): Drawio is an open-source agent skill for files and documents.
- [Mqc litigation visual redraw](https://ai-powered.com/skills/mqc-litigation-visual-redraw): Mqc litigation visual redraw is an open-source agent skill for design and media.
- [Canvas design](https://ai-powered.com/skills/canvas-design-agiflow): Canvas design is an open-source agent skill for design and media.
- [Tastemaker](https://ai-powered.com/skills/tastemaker-codeswithroh): Tastemaker is an open-source agent skill for design and media.
- [Ljg card](https://ai-powered.com/skills/ljg-card): Ljg card is an open-source agent skill for design and media.

---
Source: https://ai-powered.com/skills/excalidraw-diagram-chrisalehman
