Excalidraw Diagrams
Visualization skill, available on Zeplik
Excalidraw Diagrams is a ready-to-run diagrams and visualization skill on Zeplik. excalidraw JSON diagrams with a hand-drawn look. Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer. It returns a structured diagram you can keep and reuse: Diagram artifact -- labeled nodes/edges, declared kind, deliberate layout (see artifact-templates/diagram.md).
The Excalidraw Diagrams skill loads automatically when your request matches it, or you can invoke it directly by typing /excalidraw in any chat. It works with attachments, connectors, and any model that supports the task, so you get the same expert method every time without setting anything up.
What the Excalidraw Diagrams skill can do
- Create hand-drawn style architecture and flow diagrams as .excalidraw JSON
- Explain existing diagrams by extracting components and relationships, not raw JSON
- Modify diagrams by adding or changing elements while preserving untouched ones
- Compare two diagrams to surface structural and component differences
Try these prompts on Zeplik
Pick a prompt to open it in the Zeplik app. If you are not signed in yet, your prompt is waiting for you the moment you do.
How the Excalidraw Diagrams skill works
/excalidraw
Work with Excalidraw diagrams (.excalidraw / .excalidraw.json). Ask the user to paste or upload the diagram file when operating on an existing one; deliver new or modified diagrams as complete JSON chat artifacts the user can open at excalidraw.com or save as a .excalidraw file.
Understanding the Format (Why Discipline Matters)
Excalidraw files are JSON with high token cost but low information density:
- Each shape has 20+ properties (x, y, width, height, strokeColor, seed, version, etc.)
- Most properties are visual metadata (positioning, styling, roughness)
- Actual content is the text labels and element relationships (<10% of the file)
- Signal-to-noise ratio is extremely low; a 14-element diagram can be ~600 lines, a 79-element diagram ~3,000 lines
Consequences for how you work:
- When ANALYZING a diagram, extract only text elements and relationships; never echo raw JSON or verbose element details back to the user.
- When MODIFYING, change only the elements involved; do not restyle or renumber untouched elements.
- When CREATING, keep the element count purposeful; every box costs hundreds of tokens.
- Token cost comes from volume, not complexity -- "the JSON is straightforward" is not a reason to dump it into the conversation.
When to Use
Trigger on ANY of these:
- The user pastes or uploads a
.excalidrawor.excalidraw.jsonfile - Requests like "explain/update/create diagram", "show architecture", "visualize flow" with a hand-drawn/whiteboard aesthetic
- Mentions of "flowchart", "architecture diagram", "Excalidraw file"
- Architecture/design documentation tasks involving visual artifacts
For text-based diagrams embeddable in Markdown, use mermaid-diagrams instead.
Operation Playbooks
Read/Understand
Task: Extract and explain the components in the pasted .excalidraw JSON
Approach:
1. Parse the JSON the user provided
2. Extract only text elements (ignore positioning/styling)
3. Identify relationships between components (arrows: startBinding/endBinding element IDs)
4. Summarize architecture/flow
Return:
- List of components/services with descriptions
- Connection/dependency relationships
- Key insights about the architecture
- DO NOT return raw JSON or verbose element details
Modify
Task: Add [component] connected to [existing-component]
Approach:
1. Scan the provided file to identify existing elements
2. Find [existing-component] and its position
3. Create new element JSON for [component] with a fresh unique id, sensible x/y
near the related element, and styling consistent with neighbors
4. Add arrow elements with startBinding/endBinding referencing the element ids
5. Deliver the complete updated file as a downloadable/pastable artifact
Return:
- The full updated JSON artifact
- A short note: what changed, position of the new element, ids created
Create
Task: Create a new Excalidraw diagram showing [description]
Approach:
1. Design the layout for [number] components (grid or layered flow; leave
generous spacing, ~100px+ between boxes)
2. Create rectangle elements with bound text labels
3. Add arrows showing relationships
4. Use consistent styling (colors, fonts, strokeWidth)
5. Wrap in the standard envelope:
{"type": "excalidraw", "version": 2, "source": "...", "elements": [...],
"appState": {"viewBackgroundColor": "#ffffff"}, "files": {}}
Return:
- The complete JSON artifact ready to save as diagram.excalidraw
- A one-paragraph summary of the components included
Compare
Task: Compare architecture approaches in two pasted diagrams
Approach:
1. Parse both files
2. Extract text labels from each
3. Identify structural differences
4. Compare component relationships
Return:
- Key differences in architecture
- Components unique to each approach
- Relationship/flow differences
- DO NOT return full element details from both files
Quick Reference
| Operation | Input needed from user | You deliver |
|---|---|---|
| Understand diagram | Paste/upload the .excalidraw file | Component list + relationships |
| Modify diagram | Paste/upload the file + change request | Full updated JSON + change summary |
| Create diagram | Description of what to show | Complete JSON artifact + summary |
| Compare diagrams | Both files pasted/uploaded | Key differences (not raw JSON) |
Red Flags -- Stop and Refocus
Catch yourself about to:
- Quote large blocks of element JSON while "explaining" a diagram
- Restate positioning/styling metadata the user did not ask about
- Rebuild an entire file when only one element changed (for large files, you may instead deliver just the new/changed elements with exact insertion instructions)
- Compare diagrams by dumping both side-by-side
All of these mean: extract the text labels and relationships, work on those, and keep the raw JSON confined to the deliverable artifact.
The Iron Law
Raw Excalidraw JSON belongs in the deliverable artifact, never in the explanation. Summaries are text; diagrams are files.
Usage
/excalidraw $ARGUMENTS
How to use the Excalidraw Diagrams skill
Sign in to Zeplik
Create a free Zeplik account or sign in. New accounts start with free credits, so you can try the Excalidraw Diagrams skill right away.
Describe your diagrams and visualization task
Ask in plain language, or type /excalidraw to invoke the skill directly. Zeplik recognizes the Excalidraw Diagrams skill and applies its method.
Review and refine the result
Zeplik returns a structured diagram you can edit, download, and reuse. Ask follow-ups to refine it.
Source and credit
- Author
- davila7
- License
- MIT
Adapted from the open-source davila7/claude-code-templates project and tuned to run natively on Zeplik. View source on GitHub.
Frequently asked questions
- What is the Excalidraw Diagrams skill?
- Excalidraw Diagrams is a ready-to-run diagrams and visualization skill on Zeplik. excalidraw JSON diagrams with a hand-drawn look. Ask in plain language and Zeplik applies the skill's method for you inside the conversation, on whichever AI model you prefer. It returns a structured diagram you can keep and reuse: Diagram artifact -- labeled nodes/edges, declared kind, deliberate layout (see artifact-templates/diagram.md).
- How do I use Excalidraw Diagrams on Zeplik?
- Sign in to Zeplik and ask in plain language, or type /excalidraw in any chat to invoke it directly. The skill applies its method and returns a result you can refine in the same conversation.
- Which AI model does the Excalidraw Diagrams skill use?
- Any model you choose. Zeplik works across every model in one chat, so the Excalidraw Diagrams skill runs on your preferred model for the task.
- Where does the Excalidraw Diagrams skill come from?
- The Excalidraw Diagrams skill is adapted from the open-source davila7/claude-code-templates project (MIT) and tuned to run natively on Zeplik. The original source is linked on this page.
- How much does the Excalidraw Diagrams skill cost?
- Using the skill is free to start. You only spend Zeplik credits when the assistant runs, and new accounts begin with free credits.
Related visualization skills
- C4 Architecture DiagramsUse when documenting software architecture as C4 model Mermaid diagrams: context, container, component, deployment, dynamic. Not for general diagrams (use diagram or mermaid-diagrams).
- D3.js VisualizationsUse when building bespoke interactive d3.js visualizations: networks, chord diagrams, maps, custom SVG with transitions and zoom. Not for quick standard charts (use create-viz).
- Diagram & Flowchart MakerProduce a downloadable, editable draw.io/diagrams.net XML file the user opens at app.diagrams.net. Use ONLY when the user explicitly wants an editable draw.io / diagrams.net / .drawio deliverable (a canvas file to open in the draw.io editor). For a diagram the user just wants to SEE inline in the chat — a flowchart, architecture, ER, sequence, or state diagram — use mermaid-diagrams (it renders as a real diagram in the message); this draw.io file does not render inline. Not for hand-drawn whiteboard looks (use excalidraw).
- Draw.io DiagramsUse when creating, editing, or laying out .drawio XML diagrams, including AWS architecture icons. Not for hand-drawn-style sketch diagrams (use excalidraw).
- Math Animation StudioUse when building mathematical or educational animations with Manim (Python) -- scenes, mobjects, LaTeX. Not for data charts or plots (use create-viz).
- Mermaid Diagram MakerThe DEFAULT for any diagram the user wants to SEE inline in chat — flowcharts, flow diagrams, sequence, class, ER/database schema, C4 architecture, state, and gantt. Renders as a real diagram right in the message (Markdown-embeddable Mermaid), so use it for generic "make/draw a flowchart / architecture diagram / diagram of X" requests. Switch to the draw.io diagram skill only when the user explicitly asks for an editable draw.io / diagrams.net file.
More on Zeplik
Try Excalidraw Diagrams on Zeplik
Every model, one chat. Bring the Excalidraw Diagrams skill into your next conversation and let the assistant do the work.