excalidraw-diagram
What it does
This skill teaches an agent how to turn written content into an Excalidraw diagram. It can make a version for Obsidian, a standard file for excalidraw.com, or an animated file.
When to use it
- ✓When a user wants a flowchart or mind map made from their notes as an Excalidraw drawing.
- ✓When a user wants a diagram they can open and edit in Obsidian.
- ✓When a user wants an animated diagram that shows steps in order.
Skill link
https://github.com/breferrari/obsidian-mind/blob/main/.claude/skills/excalidraw-diagram/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Turn my meeting notes into an Excalidraw flowchart I can open in Obsidian.”
5 new skills a week. 1 minute to read.
How it works
The agent picks an output type from the request words, finds the key ideas and how they connect, and writes the drawing file. It saves the file in the current folder and explains how to open it.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Excalidraw Diagram Generator
Create Excalidraw diagrams from text content with multiple output formats.
Output Modes
Select output mode based on the user's trigger words:
| Trigger Words | Output Mode | File Format | Use Case |
|---|---|---|---|
Excalidraw, diagram, flowchart, mind map |
Obsidian (default) | .md |
Open directly in Obsidian |
standard excalidraw |
Standard | .excalidraw |
Open/edit/share on excalidraw.com |
animate, animated excalidraw |
Animated | .excalidraw |
Drag to excalidraw-animate to generate animation |
Workflow
- Detect output mode from trigger words (see Output Modes table above)
- Analyze content - identify concepts, relationships, hierarchy
- Choose diagram type (see Diagram Types below)
- Generate Excalidraw JSON (add animation order if Animated mode)
- Output in correct format based on mode
- Automatically save to current working directory
- Notify user with file path and usage instructions
Output Formats
Mode 1: Obsidian Format (Default)
Output strictly in the following structure, with no modifications:
---
excalidraw-plugin: parsed
tags: [excalidraw]
---
==⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠== You can decompress Drawing data with the command palette: 'Decompress current Excalidraw file'. For more info check in plugin settings under 'Saving'
# Excalidraw Data
## Text Elements
%%
## Drawing
\`\`\`json
{complete JSON data}
\`\`\`
%%
Key points:
- Frontmatter must include
tags: [excalidraw] - Warning message must be included in full
- JSON must be wrapped in
%%markers - No
excalidraw-*plugin settings in frontmatter other thanexcalidraw-plugin: parsed(thetags: [excalidraw]entry above is separate and still required) - File extension:
.md
Mode 2: Standard Excalidraw Format
Output pure JSON file, openable on excalidraw.com:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
},
"files": {}
}
Key points:
sourceuseshttps://excalidraw.com(not the Obsidian plugin)- Pure JSON, no Markdown wrapping
- File extension:
.excalidraw
Mode 3: Animated Excalidraw Format
Same as Standard format, but each element adds a customData.animate field to control animation order:
{
"id": "element-1",
"type": "rectangle",
"customData": {
"animate": {
"order": 1,
"duration": 500
}
},
...other standard fields
}
Animation order rules:
order: Playback order (1, 2, 3...) — lower numbers appear firstduration: Drawing duration for the element (milliseconds), default 500- Elements with the same
orderappear simultaneously - Recommended order: title → main framework → connection lines → detail text
Usage:
- Generate the
.excalidrawfile - Drag to https://dai-shi.github.io/excalidraw-animate/
- Click Animate to preview, then export as SVG or WebM
File extension: .excalidraw
Diagram Types & Selection Guide
Choose the appropriate diagram type to maximize clarity and visual impact.
| Type | Use Case | Approach |
|---|---|---|
| Flowchart | Step-by-step processes, workflows, task sequences | Connect steps with arrows, clearly show process flow |
| Mind Map | Concept expansion, topic categorization, brainstorming | Radiate outward from a central core |
| Hierarchy | Org charts, content levels, system decomposition | Build level nodes top-down or left-to-right |
| Relationship | Dependencies, influences, interactions between elements | Use lines between shapes to show relationships, with arrows and labels |
| Comparison | Side-by-side analysis of two or more approaches | Two columns or table format, with comparison dimensions labeled |
| Timeline | Event progression, project milestones, evolution | Use time as axis, mark key dates and events |
| Matrix | Two-dimensional categorization, priority grids, positioning | Establish X and Y dimensions, place items on coordinate plane |
| Freeform | Scattered content, brainstorming, initial information gathering | No structural constraints, freely place blocks and arrows |
Design Rules
Text & Format
- All text elements must use
fontFamily: 5(Excalifont handwriting font
FAQ
What output types are there?
The skill has an Obsidian note format, a standard Excalidraw file, and an animated file.
Can I open the standard file online?
Yes. The skill says it can be opened, edited, and shared on excalidraw.com.
Where is the file saved?
The skill saves it automatically in the current working folder.
Details
Original description by the author
Generate Excalidraw diagrams from text content. Supports three output modes - Obsidian (.md), Standard (.excalidraw), and Animated (.excalidraw with animation order). Triggers on "Excalidraw", "diagram", "standard excalidraw", "animate".
repo: breferrari/obsidian-mind
Popularity
- GitHub stars
- 5.5k
- Ranking position
- #14840
- License
- MIT
- Updated
- 10/17/2026
Comments
- …
More skills from this repository
mermaid-visualizer
5.5kHelps your agent turn text into clean Mermaid diagrams, such as flowcharts, architectures, and comparisons, that display in Obsidian and GitHub.
qmd
5.5kHelps your agent search an Obsidian vault by meaning before opening files, returning relevant snippets to save time and context.
Similar skills
canvas
394kLets your agent show a hosted visual widget on a connected Mac panel, then hide the panel or move it to another page.
control-ui
394kHelps your agent organize and troubleshoot the OpenClaw Control UI, including sessions, dashboards, and connected Gateways.
diagram-maker
394kHelps your agent create clear diagrams as SVG, HTML, or editable Excalidraw files for processes, system architecture, and whiteboard sketches.