excalidraw-diagram
Skill4.9k starsChanged 4 months agoMITView on GitHub
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".
37 other projects use a version of this, 6 of them edited.
Trending
Quiet since October.thin dataabout the whole repository
Most recently taken up by
- hmjBill/skillsedited, first seen Oct 5, 2026
- microsoft/frontier-ai-governance-rvastheir own version, first seen Oct 3, 2026
- microsoft/frontier-agentic-cobuild-rvastheir own version, first seen Oct 3, 2026
- oldwinter/skillsedited, first seen Sep 26, 2026
- microsoft/frontier-ghcp-ttt-rvastheir own version, first seen Sep 9, 2026
- kevin-burns/claude-skillstheir own version, first seen Aug 13, 2026
Who's talking about breferrari/obsidian-mind
- @github-trending-js.bsky.social“🔥 Hot Repo! 🔥 (100+ new stars) 📦 breferrari / obsidian-mind ⭐ 3,950 (+113) 🗒 TypeScript A …”Bluesky · Jul 25, 2026 · 4 likes
- A Hacker News story“Obsidian vault template for engineering work docs via Claude Code”Hacker News · Mar 27, 2026 · 4 points
- @github-trending-js.bsky.social“📦 breferrari / obsidian-mind ⭐ 4,871 (+45) 🗒 TypeScript A self-organizing Obsidian vault that gives AI …”Bluesky · Oct 3, 2026 · 2 likes
- @tom-doerr.bsky.social“https://github.com/breferrari/obsidian-mind”Bluesky · Apr 3, 2026 · 1 likes
- sudosubin/agents.nix“agent-skills.github.breferrari.obsidian-mind: 9.0.1 → 9.1.0”GitHub · Oct 6, 2026
The biggest 5 of 12 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 12
Talked about on GitHub, Bluesky and Hacker News (12 times).
On GitHub · 8
- Oct 6, 2026agent-skills.github.breferrari.obsidian-mind: 9.0.1 → 9.1.0 — sudosubin/agents.nix0 reactions
- Oct 5, 2026agent-skills.github.breferrari.obsidian-mind: 9.0.0 → 9.0.1 — sudosubin/agents.nix0 reactions
- Oct 5, 2026chore(release): 0.2.0 — breferrari/shardmind0 reactions
- Oct 3, 2026agent-skills.github.breferrari.obsidian-mind: 8.4.0 → 9.0.0 — sudosubin/agents.nix0 reactions
- Sep 26, 2026agent-skills.github.breferrari.obsidian-mind: init at 8.4.0 — sudosubin/agents.nix0 reactions
3 more on GitHub
- Aug 18, 2026[feature] https://github.com/breferrari/obsidian-mind and https://github.com/Graphify-Labs/graphify — JustineDevs/meta-architect0 reactions
- May 21, 2026is there a plan to integrate text search engine like qmd — VectifyAI/OpenKB0 reactions · 1 comment
- Apr 26, 2026Wizard TUI: missing scroll indicator + boolean prompts use Y/n typed input — breferrari/shardmind0 reactions
On Bluesky · 3
- Jul 25, 2026🔥 Hot Repo! 🔥 (100+ new stars) 📦 breferrari / obsidian-mind ⭐ 3,950 (+113) 🗒 TypeScript A self-organizing Obsidian vault that gives AI… — @github-trending-js.bsky.social4 likes and reposts · 1 reply
- Oct 3, 2026📦 breferrari / obsidian-mind ⭐ 4,871 (+45) 🗒 TypeScript A self-organizing Obsidian vault that gives AI coding agents persistent memory. — @github-trending-js.bsky.social2 likes and reposts · 1 reply
- Apr 3, 2026https://github.com/breferrari/obsidian-mind — @tom-doerr.bsky.social1 likes and repost
On Hacker News · 1
- Mar 27, 2026Obsidian vault template for engineering work docs via Claude Code4 points · 1 comment
Used with
Projects with it also use obsidian-canvas-creator, skill-builder and 8 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
BCS1037Skillobsidian-canvas-creator
Create Obsidian Canvas files from text content, supporting both MindMap and freeform layouts. Use this skill when users want to visualize content as an interactive canvas, create mind maps, or organize information spatially in Obsidian format.
Also in 4 projects that use this
BlockSkillskill-builder
Create, edit, or inspect Berd skills stored as skill folders with SKILL.md files. Use when the user wants to build a new skill, update an existing skill, convert a workflow into a reusable skill, or decide whether instructions, scripts, references, or assets belong in a skill.
Also in 4 projects that use this
VercelSkillremotion-best-practices
Best practices for Remotion - Video creation in React
Also in 3 projects that use this
VercelSkillfrontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
Also in 8 projects that use this
AWSSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 4 projects that use this
JetBrainsSkilldoc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision docs, or similar structured content. This workflow helps users efficiently transfer context, refine content through iteration, and verify the doc works for readers. Trigger when user mentions writing docs, creating proposals, drafting specs, or similar documentation tasks.
Also in 3 projects that use this
Other versions37 projects use a version of this.
Word for word · 0
None found.
Edited · 6
- axtonliu/axton-obsidian-visual-skills★ 3.6k32% same
- BCS1037/awesome-obsidian-skills★ 925% same
- oldwinter/skills★ 825% same
- dqtx760/skills-manage★ 232% same
- hmjBill/skills★ 114% same
- leavesprior/claude-skills★ 025% same
Wrote their own version · 31
- coleam00/excalidraw-diagram-skill★ 4.9ksame name
- xstongxue/best-skills★ 2.9ksame name
- walidboulanouar/Ay-Skills★ 91same name
- aiagentwithdhruv/skills★ 17same name
- kv0906/cc-skills★ 16same name
- ccomkhj/skills★ 8same name
- Harmeet10000/skills★ 7same name
- kevin-burns/claude-skills★ 7same name
- microsoft/frontier-agentic-cobuild-rvas★ 5same name
- isatimur/excalidraw-skill-pack★ 4same name
21 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- defuddleSkill
- json-canvasSkill
- mermaid-visualizerSkill
- obsidian-basesSkill
- obsidian-cliSkill
- obsidian-markdownSkill
- qmdSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 33 edited versions we read keep these.
8
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Create Excalidraw diagrams from text content with multiple output formats.
- Very specific: line 146
Line height: all text uses lineHeight: 1.25
- Distinctive: line 153
Canvas range: keep all elements within 0-1200 x 0-800 area
- Distinctive: line 156
Clear hierarchy: use different colors and shapes to distinguish information levels
- Distinctive: line 157
Graphic elements: use rectangles, circles, arrows etc.
- Distinctive: line 158
No Emoji: do not use any Emoji symbols in diagram text — use simple shapes (circles, squares, arrows) or color coding instead
- Very specific: line 195
Avoid light gray text (#b0b0b0, #999) on white backgrounds
- Distinctive: line 296
No need to manually list all text content
- Distinctive: line 300
Recommended range: all elements within 0-1200 x 0-800 pixels
- Very specific: line 305
IMPORTANT: Do NOT include frameId, index, versionNonce, or rawText fields.
- Distinctive: line 376
When generating an Excalidraw diagram, automatically execute these steps:
- Very specific: line 420
All text elements use fontFamily: 5
- Very specific: line 424
All elements have unique id values
“Common” is measured: kept by at least 6 in 10 of the 33 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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) - Double quote replacement: replace
"with『』 - Parentheses replacement: replace
()with「」 - Font size rules (hard minimums — below these values, text is unreadable at normal zoom):
- Title: 20-28px (minimum 20px)
- Subtitle: 18-20px
- Body/labels: 16-18px (minimum 16px)
- Minor annotations: 14px (only for unimportant auxiliary notes, use sparingly)
- Never go below 14px
- Line height: all text uses
lineHeight: 1.25 - Text centering: standalone text elements have no auto-centering — manually calculate x coordinate:
- Estimate text width:
estimatedWidth = text.length * fontSize * 0.5 - Centering formula:
x = centerX - estimatedWidth / 2 - Example: text "Hello" (5 chars, fontSize 20) centered at x=300 →
estimatedWidth = 5 * 20 * 0.5 = 50→x = 300 - 25 = 275
- Estimate text width:
Layout & Design
- Canvas range: keep all elements within 0-1200 x 0-800 area
- Minimum shape size: rectangles/ellipses with text must be at least 120x60px
- Element spacing: minimum 20-30px gap to prevent overlap
- Clear hierarchy: use different colors and shapes to distinguish information levels
- Graphic elements: use rectangles, circles, arrows etc. to organize information
- No Emoji: do not use any Emoji symbols in diagram text — use simple shapes (circles, squares, arrows) or color coding instead
Color Palette
Text colors (strokeColor for text):
| Purpose | Hex | Description |
| Title | #1e40af | Deep blue |
| Subtitle/connectors | #3b82f6 | Bright blue |
| Body text | #374151 | Dark gray (minimum #757575 on white background) |
| Emphasis/highlight | #f59e0b | Gold |
Shape fill colors (backgroundColor, fillStyle: "solid"):
| Hex | Semantic | Use Case |
#a5d8ff | Light blue | Input, data source, primary nodes |
#b2f2bb | Light green | Success, output, completed |
#ffd8a8 | Light orange | Warning, pending, external dependency |
#d0bfff | Light purple | Processing, middleware, special items |
#ffc9c9 | Light red | Error, critical, alert |
#fff3bf | Light yellow | Notes, decisions, planning |
#c3fae8 | Light teal | Storage, data, cache |
#eebefa | Light pink | Analysis, metrics, statistics |
Region background colors (large rectangle + opacity: 30, for layered diagrams):
| Hex | Semantic |
#dbe4ff | Frontend/UI layer |
#e5dbff | Logic/processing layer |
#d3f9d8 | Data/tools layer |
Contrast rules:
- Text on white background must be no lighter than
#757575 - On light fills, use dark color variants (e.g., on light green use
#15803d, not#22c55e) - Avoid light gray text (
#b0b0b0,#999) on white backgrounds
See references/excalidraw-schema.md for full reference.
JSON Structure
Obsidian mode:
{
"type": "excalidraw",
"version": 2,
"source": "https://github.com/zsviczian/obsidian-excalidraw-plugin",
"elements": [...],
"appState": { "gridSize": null, "viewBackgroundColor": "#ffffff" },
"files": {}
}Standard / Animated mode:
{
"type": "excalidraw",
"version": 2,
"source": "https://excalidraw.com",
"elements": [...],
"appState": { "gridSize": null, "viewBackgroundColor": "#ffffff" },
"files": {}
}Element Template
Each element requires these fields (do NOT add extra fields like frameId, index, versionNonce, rawText -- they may cause issues on excalidraw.com. boundElements must be null not [], updated must be 1 not timestamps):
{
"id": "unique-id",
"type": "rectangle",
"x": 100, "y": 100,
"width": 200, "height": 50,
"angle": 0,
"strokeColor": "#1e1e1e",
"backgroundColor": "transparent",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"roundness": {"type": 3},
"seed": 123456789,
"version": 1,
"isDeleted": false,
"boundElements": null,
"updated": 1,
"link": null,
"locked": false
}strokeStyle values: "solid" (default) | "dashed" | "dotted". Dashed lines are suitable for optional paths, async flows, weak associations, etc.
Text elements add:
{
"text": "Display text",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "Display text",
"autoResize": true,
"lineHeight": 1.25
}Animated mode additionally adds a customData field:
{
"id": "title-1",
"type": "text",
"customData": {
"animate": {
"order": 1,
"duration": 500
}
},
...other fields
}See references/excalidraw-schema.md for all element types.
Additional Technical Requirements
Text Elements Handling
- The
## Text Elementssection in Markdown must be left empty, using only%%as delimiters - The Obsidian Excalidraw plugin will automatically populate text elements from the JSON data
- No need to manually list all text content
Coordinates & Layout
- Coordinate system: origin (0,0) is at the top-left
- Recommended range: all elements within 0-1200 x 0-800 pixels
- Element IDs: each element needs a unique
id(can be strings like "title", "box1", etc.)
Required Fields for All Elements
IMPORTANT: Do NOT include frameId, index, versionNonce, or rawText fields. Use boundElements: null (not []), and updated: 1 (not timestamps).
{
"id": "unique-identifier",
"type": "rectangle|text|arrow|ellipse|diamond",
"x": 100, "y": 100,
"width": 200, "height": 50,
"angle": 0,
"strokeColor": "#color-hex",
"backgroundColor": "transparent|#color-hex",
"fillStyle": "solid",
"strokeWidth": 2,
"strokeStyle": "solid|dashed|dotted",
"roughness": 1,
"opacity": 100,
"groupIds": [],
"roundness": {"type": 3},
"seed": 123456789,
"version": 1,
"isDeleted": false,
"boundElements": null,
"updated": 1,
"link": null,
"locked": false
}Text-Specific Properties
Text elements (type: "text") require additional properties (do NOT include rawText):
{
"text": "Display text",
"fontSize": 20,
"fontFamily": 5,
"textAlign": "center",
"verticalAlign": "middle",
"containerId": null,
"originalText": "Display text",
"autoResize": true,
"lineHeight": 1.25
}appState Configuration
"appState": {
"gridSize": null,
"viewBackgroundColor": "#ffffff"
}files Field
"files": {}Common Mistakes to Avoid
- Text offset — standalone text element
xis the left edge, not center. Must use the centering formula to manually calculate, or text will be off to one side - Element overlap — elements with similar y coordinates easily stack. Check for at least 20px spacing before placing new elements
- Insufficient canvas padding — don't place content flush with canvas edges. Leave 50-80px padding on all sides
- Title not centered over diagram — title should be centered over the overall width of the diagram below it, not fixed at x=0
- Arrow label overflow — long text labels (e.g., "ATP + NADPH") will exceed short arrows. Keep labels short or increase arrow length
- Insufficient contrast — light text on white background is nearly invisible. Text color must be no lighter than
#757575; colored text should use dark variants - Font size too small — below 14px is unreadable at normal zoom; body text minimum is 16px
Implementation Notes
Auto-save & File Generation Workflow
When generating an Excalidraw diagram, automatically execute these steps:
1. Choose the appropriate diagram type
- Based on the content provided by the user, refer to the "Diagram Types & Selection Guide" table above
- Analyze the core requirements of the content and select the most suitable visualization
2. Generate a meaningful filename
Select file extension based on output mode:
| Mode | Filename Format | Example |
| Obsidian | [topic].[type].md | business-model.relationship.md |
| Standard | [topic].[type].excalidraw | business-model.relationship.excalidraw |
| Animated | [topic].[type].animate.excalidraw | business-model.relationship.animate.excalidraw |
3. Auto-save using the Write tool
- Save location: current working directory (auto-detect from environment)
- Full path:
{current_directory}/[filename].md - This enables flexible migration without hardcoded paths
4. Ensure Markdown structure is completely correct
Must generate in the following format (no modifications allowed):
---
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}
\`\`\`
%%5. JSON data requirements
- Include complete Excalidraw JSON structure
- All text elements use
fontFamily: 5 - Replace
"with『』in text - Replace
()with「」in text - JSON format must be valid and pass syntax checking
- All elements have unique
idvalues - Include
appStateandfiles: {}fields
6. User feedback and confirmation
Report to the user:
- Diagram has been generated
- Exact save location
- How to view it in Obsidian
- Design choices made (what diagram type was chosen and why)
- Whether adjustments or modifications are needed
Example Output Messages
Obsidian mode:
Excalidraw diagram generated!
Saved to: business-model.relationship.md
Usage:
1. Open this file in Obsidian
2. Click the MORE OPTIONS menu (top right)
3. Select "Switch to EXCALIDRAW VIEW"Standard mode:
Excalidraw diagram generated!
Saved to: business-model.relationship.excalidraw
Usage:
1. Open https://excalidraw.com
2. Click top-left menu → Open → select this file
3. Or drag and drop the file onto the excalidraw.com pageAnimated mode:
Animated Excalidraw diagram generated!
Saved to: business-model.relationship.animate.excalidraw
Animation order: Title(1) → Main framework(2-4) → Connectors(5-7) → Detail text(8-10)
To generate animation:
1. Open https://dai-shi.github.io/excalidraw-animate/
2. Click Load File and select this file
3. Preview the animation
4. Click Export to save as SVG or WebMDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

