Excalidraw
Create flowcharts, architecture diagrams, and visual sketches with Excalidraw.
Installation
- Make sure Claude is on your device and in your terminal.
Skills load from
~/.claude/skills/when Claude Code starts up — so you need it on your machine first. If you don't have it yet, install it once with the command below, then runclaudein any terminal to verify.One-time setupnpm i -g @anthropic-ai/claude-codeAlready have it? Skip ahead.
- Paste into Claude Code or into your terminal.
This copies the whole skill folder into
~/.claude/skills/excalidraw-nimbalyst/— the SKILL.md plus any scripts, reference docs, or templates the skill ships with. Safe default: works for every skill.Faster alternative (instruction-only skills)
Skips the clone and grabs only the SKILL.md file. Don't use this if the skill ships Python scripts, reference markdowns, or asset templates — they won't be downloaded and the skill will fail when it tries to load them.
Quick install (SKILL.md only)Sign up to copy - Restart Claude Code.
Quit and reopen Claude Code (or any other agent that loads from
~/.claude/skills/). New skills are picked up on startup. - Just ask Claude.
Skills auto-activate when your request matches the skill's description — no slash command needed. Trigger phrases live in the skill's own frontmatter; you can read them in the “What this skill does” section above.
Prefer to read the source first? Open on GitHub.
When Claude uses it
Create diagrams and visual drawings using Excalidraw (.excalidraw files). Use when the user wants flowcharts, architecture diagrams, system diagrams, sketches, or any visual diagram. For database schemas and entity relationship diagrams, use the DataModelLM extension instead.
What this skill does
Excalidraw Diagrams
Excalidraw is Nimbalyst's whiteboard-style diagram editor for creating flowcharts, architecture diagrams, system diagrams, and visual sketches.
STOP AFTER ONE PASS — Do Not Thrash
The single biggest failure mode with this skill is agents creating a diagram, capturing a screenshot, noticing minor cosmetic imperfections, then clearing and rebuilding the diagram two, three, or four times without being asked. This is the wrong behavior. The user sees every rebuild, and iterations the user did not ask for are a waste of their time and attention.
Follow these rules:
- One-shot by default. Build the diagram, capture a screenshot once, describe what you made, and stop. Do not iterate on visual polish unless the user explicitly asks for a change.
- Never use
excalidraw.clear_allfollowed by a rebuild as a way to "redo" the diagram.clear_allis only for user-requested rebuilds. If you just produced a diagram, looked at it, and feel like starting over, don't — stop and hand control back to the user. - Minor imperfections are fine. Excalidraw is a whiteboard / hand-drawn-style tool. Slight overlaps, arrows that route imperfectly, labels that aren't perfectly centered, and asymmetric spacing are all acceptable and expected. Do not rebuild to fix these. Do not re-run
import_mermaidbecause the auto-layout isn't pixel-perfect. - Only one screenshot per diagram. Capture once to verify the diagram exists and is roughly what you intended, then stop screenshotting. Repeated screenshots drive perfectionism loops.
- If something is actually broken, make a targeted fix — not a rebuild. Use
update_element,move_element,remove_element, oralign_elementson the specific problem. Do not wipe and restart. - "Good enough to convey the idea" is the bar. The diagram's job is to communicate structure or flow to a human reader. Once it does that, you are done. Do not keep polishing.
If you catch yourself about to call clear_all after just having built a diagram, or about to capture a second screenshot of the same diagram, stop. Report what you made and let the user decide whether changes are needed.
When to Use Excalidraw
- Flowcharts and process diagrams
- Architecture diagrams
- System design diagrams
- Sequence diagrams
- Mind maps
- Network diagrams
- User flow diagrams
- General visual diagrams and sketches
When NOT to Use Excalidraw
- Database schemas / Entity relationship diagrams - Use DataModelLM extension instead (creates
.datamodelfiles with Prisma schema)
File Format
- Extension:
.excalidraw - Format: JSON-based Excalidraw format
- Location: Any directory in the workspace
Available MCP Tools
The Excalidraw extension provides these MCP tools for diagram manipulation:
Getting Information
excalidraw.get_elements- Get all elements in the diagram
Adding Elements
excalidraw.add_rectangle- Add a rectangle/boxexcalidraw.add_arrow- Add a single arrowexcalidraw.add_arrows- Add multiple arrows at onceexcalidraw.add_elements- Add multiple elements at onceexcalidraw.add_frame- Add a frame (container for elements)excalidraw.add_row- Add elements in a horizontal rowexcalidraw.add_column- Add elements in a vertical column
Modifying Elements
excalidraw.update_element- Update an existing elementexcalidraw.move_element- Move an element to new positionexcalidraw.remove_element- Remove a single elementexcalidraw.remove_elements- Remove multiple elements
Organization
excalidraw.align_elements- Align elements horizontally/verticallyexcalidraw.distribute_elements- Distribute elements evenlyexcalidraw.group_elements- Group elements togetherexcalidraw.set_elements_in_frame- Put elements into a frameexcalidraw.relayout- Automatically relayout elements
Special Features
excalidraw.import_mermaid- Convert Mermaid syntax to Excalidrawexcalidraw.clear_all- Clear all elements from the diagram
Workflow
- Create file - Create a new
.excalidrawfile or open existing one - Use MCP tools - Use the Excalidraw MCP tools to add/modify elements
- Verify visually (once) - Use
mcp__nimbalyst__capture_editor_screenshota single time to confirm the diagram rendered - Stop - Report what you made and hand control back. Do not iterate on polish unless the user asks for changes. See "STOP AFTER ONE PASS" above.
Best Practices
- Use frames to group related elements
- Keep diagrams clean and readable
- Use consistent spacing and alignment
- Add arrows to show flow/relationships
- Use color sparingly for emphasis
Example: Creating a Flowchart
- Add rectangles for each step
- Add arrows connecting the steps
- Use
align_elementsto align horizontally/vertically - Use
distribute_elementsfor even spacing
Related skills
Logo Creator
SamurAIGPT
Generate minimalist, scalable vector logos using geometric shapes and negative space.
Design Audit
thedotmack
Score a design against Dieter Rams' principles and create a plan to improve it.
MockupLM
nimbalyst
Create interactive HTML mockups to design and plan UI layouts visually.
Workflow Audit
Terryc21
Analyze SwiftUI app flows to find navigation issues and broken user paths.