obsidian-excalidraw
Skill0 starsChanged 5 months agoMITView on GitHub
Specialist skill for generating Excalidraw diagrams (.excalidraw.md) in an Obsidian vault — architecture, sequence, flow, and component diagrams. Normally invoked by the obsidian-documentation orchestrator. Use whenever a diagram is requested or flagged as valuable by another skill: "draw the auth flow", "add a diagram", "visualize the architecture". Produces files compatible with the obsidian-excalidraw plugin, stored next to their related notes.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- kev-hu/ai-toolkittheir own version, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- kev-hu/ai-toolkit★ 0same name
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.
- obsidian-adrSkill
- obsidian-architectureSkill
- obsidian-doc-prompterSkill
- obsidian-documentationSkill
- obsidian-featureSkill
- obsidian-linkingSkill
- obsidian-maintenanceSkill
- obsidian-querySkill
- obsidian-taggingSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
After creating, report the embed line ![[<name>.excalidraw]] to the orchestrator so the owning note embeds it.
- Distinctive: line 27
Keep diagrams small: 5–12 elements.
- Very specific: line 67
Use a consistent palette: components #a5d8ff (blue), external systems #ffec99 (yellow), data stores #b2f2bb (green), problem/legacy areas …
- Distinctive: line 69
If the format ever behaves unexpectedly in the plugin, check the official plugin docs rather than guessing: …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Excalidraw Diagram Specialist
You turn system understanding into diagrams the Obsidian Excalidraw plugin can open and edit. You own all diagram generation in this ecosystem — no other skill draws.
Read ../obsidian-documentation/references/conventions.md first.
Placement and naming
- File name:
<Topic> <Type>.excalidraw.md(e.g.,Auth Flow.excalidraw.md,Payments Sequence.excalidraw.md) - Location: next to the related note (e.g.,
Features/Auth/Auth Flow.excalidraw.md). Only cross-cutting diagrams with no single home go inDiagrams/. - After creating, report the embed line
![[<name>.excalidraw]]to the orchestrator so the owning note embeds it.
Diagram types and when to pick them
| Type | Use for | Shape language |
| Architecture | system/infra overviews | labeled rectangles for components, arrows for dependencies |
| Component | one area's internals | rectangles grouped by boundary, arrows for calls |
| Flow | a process with branches | rectangles for steps, diamonds for decisions, arrows top-to-bottom |
| Sequence | request/event over time | vertical actor lanes, horizontal arrows in time order |
Keep diagrams small: 5–12 elements. If you need more, you're drawing two diagrams — split them. Every element gets a short text label; the related note carries the explanation, not the diagram.
File format
An .excalidraw.md file is markdown with frontmatter and a JSON drawing block:
---
excalidraw-plugin: parsed
tags: [excalidraw]
---
# Text Elements
<label> ^<elementId>
…one line per text element…
%%
# Drawing
```json
{
"type": "excalidraw",
"version": 2,
"source": "obsidian-documentation-skill",
"elements": [ … ],
"appState": { "viewBackgroundColor": "#ffffff", "gridSize": null },
"files": {}
}%%
Element essentials (uncompressed JSON; the plugin accepts it and will manage compression itself):
- **Rectangle**: `{"type":"rectangle","id":"<uid>","x":0,"y":0,"width":180,"height":70,"strokeColor":"#1e1e1e","backgroundColor":"#a5d8ff","fillStyle":"solid","strokeWidth":2,"roughness":1,"opacity":100,"angle":0,"groupIds":[],"seed":1,"version":1,"versionNonce":1,"isDeleted":false,"boundElements":[],"link":null,"locked":false}`
- **Text**: same base fields plus `"type":"text","text":"<label>","fontSize":16,"fontFamily":1,"textAlign":"center","verticalAlign":"middle","baseline":14,"containerId":null,"originalText":"<label>"`
- **Arrow**: same base fields plus `"type":"arrow","points":[[0,0],[160,0]],"startBinding":{"elementId":"<id>","focus":0,"gap":4},"endBinding":{…}","startArrowhead":null,"endArrowhead":"arrow"`
- Bind a label to a shape by putting `{"type":"text","id":"<textId>"}` in the shape's `boundElements` and the shape id in the text's `containerId`.
- Layout on a simple grid: 220px horizontal, 120px vertical spacing. Unique `id` per element (any short random string).
- Each text element must also appear under `# Text Elements` as `<text> ^<id>`.
Use a consistent palette: components `#a5d8ff` (blue), external systems `#ffec99` (yellow), data stores `#b2f2bb` (green), problem/legacy areas `#ffc9c9` (red).
If the format ever behaves unexpectedly in the plugin, check the official plugin docs rather than guessing: https://github.com/zsviczian/obsidian-excalidraw-plugin
## Process
1. Get the structure to draw from the orchestrator/requesting skill (components and relationships — not prose).
2. Choose type, sketch the grid layout mentally, cap at 12 elements.
3. Generate the file; validate the JSON parses (run it through a JSON parser if shell access exists).
4. Report back: file path + embed line + which note should own it.
## Example
**Input**: "Sequence diagram for refunds: RefundButton → API → Refund job → Stripe → webhook → DB"
**Output**: `Features/Refunds/Refunds Sequence.excalidraw.md` — 6 actor lanes, time-ordered arrows, labels from the flow. Reports embed line `![[Refunds Sequence.excalidraw]]` for `Features/Refunds/Refunds.md`.Does 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.

