Excalidraw Diagram
Turns notes or an article into a hand-drawn style Excalidraw diagram, saved as an Obsidian note, a standard Excalidraw file or an animated one.
What it is
Excalidraw is a free whiteboard tool whose diagrams look sketched by hand, and it also runs inside Obsidian, the note-taking app, through a plugin. This skill has the AI turn text you give it, such as notes, an article or a process description, into an Excalidraw diagram and save it as a file. It is for note-takers, writers, teachers and students who want a quick visual. Its instructions are partly in Chinese and it handles Chinese text well, but it works just as well in English.
The skill chooses between eight diagram types: flowchart, mind map, hierarchy, relationship map, comparison, timeline, two-axis matrix and freeform. It gives the AI strict drawing rules: a handwriting font, minimum font sizes so labels stay readable, a formula for centering text, spacing to avoid overlaps, a color palette where each color has a meaning (blue for inputs, green for outputs, red for warnings), readable contrast and no emoji. It also writes the exact file structure each destination expects, which is where hand-made diagram files usually fail to open.
Depending on the words you use, you get one of three files in your current folder: a note that opens in Obsidian (the default), a .excalidraw file for excalidraw.com, or a version with drawing order added that you can load into the free excalidraw-animate site to export an SVG or WebM animation. The author calls the pack experimental, so results vary with the AI model and the input.
What it can do
- Chooses among eight diagram types, from flowcharts and mind maps to timelines and priority matrices, based on your content.
- Saves Obsidian-ready notes for the Excalidraw plugin, or plain .excalidraw files for excalidraw.com.
- Adds a drawing order to each element so the diagram can be played back as an animation.
- Applies a color palette with fixed meanings and readable font sizes, and keeps emoji out.
- Names files by topic and diagram type, and tells you how to open them.
- Handles Chinese text, swapping quotation marks and brackets that would otherwise break the file.
When to use it
- You wrote a long note about a business model and want a relationship diagram next to it in your Obsidian vault.
- You need a sketch-style flowchart of a workflow to drop into a slide or share on excalidraw.com.
- You want a diagram that draws itself step by step for a video or tutorial.
- You are studying a topic and want a timeline of its key events.
How it works
- 1It picks the output mode from your wording: 'Excalidraw' or 'diagram' gives an Obsidian note, 'standard Excalidraw' a plain file, and 'animate' an animated one.
- 2It reads your content to find the main ideas, how they relate and any order or hierarchy, then chooses the best diagram type.
- 3It writes the diagram as Excalidraw data following its layout, font and color rules, adding animation order in animated mode.
- 4It saves the file in your current folder with a descriptive name.
- 5It tells you where the file is, how to open it and why it chose that diagram type, and offers to adjust it.
Try asking
How to install
Install with the skills CLI (recommended)
Works with Claude Code, Codex, Cursor, OpenCode and other agents, and asks which ones to install to. Needs Node.js 22.20+. Add -g to make it available in every project.
npx skills add https://github.com/axtonliu/axton-obsidian-visual-skills/tree/main/excalidraw-diagram
pnpm dlx skills add https://github.com/axtonliu/axton-obsidian-visual-skills/tree/main/excalidraw-diagram
Install as a Claude Code plugin
Run these inside Claude Code. The plugin may bundle related skills from the same author.
/plugin marketplace add axtonliu/axton-obsidian-visual-skills /plugin install obsidian-visual-skills@axton-obsidian-visual-skills
Install manually
Copies the skill folder into Claude Code's personal skills directory. For claude.ai, zip the excalidraw-diagram folder and upload it in the Skills section of Settings.
git clone --depth 1 https://github.com/axtonliu/axton-obsidian-visual-skills.git mkdir -p ~/.claude/skills cp -r axton-obsidian-visual-skills/excalidraw-diagram ~/.claude/skills/excalidraw-diagram
Then just ask in plain language, for example: “Draw an Excalidraw diagram of how our customer onboarding works”
More Design & Covers skills
Huashu Design
29kTurns a one-line request into finished designs built in HTML: clickable prototypes, slide decks with editable PPTX, MP4 animations and infographics.
Baoyu Cover Image
27kDesigns a cover image for your article from its content, letting you pick the cover type, colors, drawing style, title text and mood.
Anatomy
25kBuilds detailed, interactive isometric drawings that explain a technical idea as a working machine, as SVG, HTML, React or printable PDF.