excalidraw-diagram
Skill by xstongxue
Generates hand-drawn style Excalidraw diagrams as standard .excalidraw JSON files. It suits users who want architecture diagrams, flowcharts, data structure diagrams or whiteboard sketches from a text description.
Install excalidraw-diagram
Built from the published package, never by AI.
git clone --depth 1 https://github.com/xstongxue/best-skills /tmp/best-skills && mkdir -p ~/.claude/skills && cp -r /tmp/best-skills/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/xstongxue/best-skills /tmp/best-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/best-skills/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
excalidraw-diagram is an agent skill that guides an AI assistant to write a standard Excalidraw file. The user describes the nodes and relations, or provides structure such as a module list or code layout, and the assistant turns it into a hand-drawn style .excalidraw diagram. It supports system architecture diagrams, business flowcharts, data structure and module dependency diagrams, and free whiteboard sketches.
The skill first builds a model of nodes and relations, assigns rough coordinates by layer, and applies default colors and arrows. The reply has two parts: a short Chinese explanation, then raw Excalidraw JSON that can be saved and opened in environments with Excalidraw such as the browser, Obsidian or VSCode. It suits users who want a quick, editable diagram from a description, paper outline or code structure.
Written from the project's SKILL.md and checked against it.
What it can do
- System architecture diagramsLays out users, frontends, backend services, databases and external systems in layers.
- Flowcharts and sequence-like diagramsArranges steps or events in order and links them with arrows.
- Data structure and dependency diagramsShows entities, their associations and dependencies around a core entity.
- Free whiteboard sketchesVisualizes paper structures, research frameworks or task breakdowns.
- Excalidraw JSON outputOutputs a complete .excalidraw file that can be saved and edited in Excalidraw.
What you need
- An environment that opens Excalidraw files, such as the browser, Obsidian or VSCode
Try asking
- 画一个系统架构图:用户、Web 前端、后端服务、数据库和外部支付系统
- 把这个登录流程整理成一张自上而下的流程图,输出 .excalidraw 文件
- 根据我的论文大纲生成一张自由白板草图,并给出 Excalidraw JSON
Good to know
- Does not aim for complex automatic layout; it sets rough initial positions.
- Focuses on native .excalidraw files. Exports to Draw.io need a separate import step.
- Large or complex relations should be grouped into subsystems to avoid a crowded diagram.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/excalidraw-diagram/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md7 KB
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
What output does excalidraw-diagram produce?
It outputs a short Chinese explanation followed by a complete Excalidraw JSON file that can be saved as .excalidraw.
Which diagram types does it support?
It supports system architecture diagrams, business flowcharts or near-sequence diagrams, data structure and module dependency diagrams, and free whiteboard sketches.
Can I edit the diagram after it is generated?
Yes. The skill uses groupIds so nodes in a subsystem can be moved together, and the file opens in Excalidraw for further editing.
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 Apache-2.0 licence. The service it connects to may have its own pricing.
Is excalidraw-diagram safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. 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.
