excalidraw-diagram
Skill by aiagentwithdhruv
Creates editable Excalidraw diagrams from text requests, saved as .excalidraw files with the JSON shown for copying. Intended for anyone who asks an AI assistant for a diagram.
Install excalidraw-diagram
Built from the published package, never by AI.
git clone --depth 1 https://github.com/aiagentwithdhruv/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/excalidraw-diagram ~/.claude/skills/excalidraw-diagramRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/aiagentwithdhruv/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/excalidraw-diagram ~/.gemini/antigravity-cli/skills/excalidraw-diagramAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The excalidraw-diagram skill tells an AI assistant how to build diagrams as Excalidraw files. When asked for a diagram, the assistant clarifies the request, checks technical accuracy, plans the layout with fixed coordinates, and writes the elements in order. It saves a .excalidraw file to the current directory and shows the full JSON in a code block.
The skill sets rules for color zones, text contrast, spacing, and typography, so each zone has a consistent color and labels stay readable. Users can open the result on excalidraw.com, free and without an account, and edit it there. The skill is aimed at anyone who wants an editable diagram from a text request, and it is the default for diagram requests according to its description.
Written from the project's SKILL.md and checked against it.
What it can do
- Clarify the requestAsks one or two questions when a diagram request is vague.
- Research technical accuracyChecks component names, hierarchy, and data flow before drawing.
- Plan the layoutPlans sections, widths, and gaps before writing any JSON.
- Generate Excalidraw elementsBuilds boxes, text, and arrows in a fixed order with absolute coordinates.
- Save and deliver the fileSaves a .excalidraw file and shows the full JSON in a code block.
- Apply feedback to the diagramUpdates positions, text, and zones when the user asks for changes.
What you need
- Free access to excalidraw.com to view and edit the diagram
- Ability to save files to the current directory
Try asking
- Draw an Excalidraw diagram of our API gateway and backend services
- Make an editable diagram of how Docker container networking works
- Update the diagram so the output zone is green and add a note on the arrow
Good to know
- Vague requests get one or two clarifying questions before drawing.
- Diagrams with 20 or more elements are built section by section.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: excalidraw-diagram/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to excalidraw-diagram
All alternatives →PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.
Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.
Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.
Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.
Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.
Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
excalidraw-diagram: common questions
Does it need an Excalidraw account?
No. The source says excalidraw.com is free and needs no account to view or edit the diagram.
Can the generated diagram be edited afterwards?
Yes. The source says every element can be dragged, resized, and edited by double-clicking its text on excalidraw.com.
How does the skill keep text readable inside colored shapes?
The source requires near-black or dark charcoal text inside filled shapes and reserves zone stroke colors for borders and arrows.
How do I install excalidraw-diagram?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is excalidraw-diagram free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is excalidraw-diagram safe to use?
It scores 60 of 100. Grades: maintenance C, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to excalidraw-diagram?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
