
Excalidraw diagram
Builds Excalidraw diagram JSON files that visually argue workflows, architectures
Excalidraw diagram is an open-source agent skill for design and media. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 10
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Excalidraw diagram
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.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 9 files (53 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
This skill ships in the bionic plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add chrisalehman/bionic
/plugin install bionic@bionicOr copy only this skill to ~/.claude/skills/excalidraw-diagram:
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.
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/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.
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/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.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/chrisalehman/bionic.git --path payload/skills/excalidraw-diagramOr copy the folder to ~/.gemini/skills/excalidraw-diagram yourself.
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/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.
Get the folder:
git clone --depth 1 https://github.com/chrisalehman/bionic.gitThen 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.
What it does
- 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
Excalidraw diagram 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.
More from chrisalehman/bionic

Drives a real browser to check UI flows, console errors and network failures for an agent
- Open source
- 10 GitHub stars
- Browser automation

Routes large engineering efforts through SDLC steps, gating each commit on current-step
- Open source
- 10 GitHub stars
- Developer tools

Puts agent decisions to the user in one fixed, reviewable shape
- Open source
- 10 GitHub stars
- Developer tools

Packages an in-progress session into a resumable handoff file for a fresh agent
- Open source
- 10 GitHub stars
- Developer tools

Guides an agent to map unfamiliar code and instrument it before proposing a root-cause fix
- Open source
- 10 GitHub stars
- Developer tools

Gives the agent a status card for a bound plan: pace, risks, and what needs your call
- Open source
- 10 GitHub stars
- Developer tools




