diagram-maker
What it does
It guides an AI agent through making diagrams of concepts, systems, flows, and whiteboards, and choosing the best format for each. It is for people who need a clear picture of how something works.
When to use it
- ✓When you want a diagram of a process, a flow, or how something works.
- ✓When you need a picture of a software system with its services and databases.
- ✓When you want an editable whiteboard sketch that you can change later.
Skill link
https://github.com/openclaw/openclaw/blob/main/skills/diagram-maker/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Draw a simple diagram of our order process, from checkout to delivery, as an HTML file.”
5 new skills a week. 1 minute to read.
How it works
The skill first lists the parts and how they connect, then picks a layout. It produces a standalone file, such as SVG, HTML, or Excalidraw, and checks that the file is valid.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Diagram Maker
Create diagrams as artifacts, not prose. Choose one output mode:
clean-svg: educational concepts, physical systems, processes, lifecycle, simple data flow.architecture-svg: software/cloud/infra topology, services, databases, queues, trust zones.excalidraw: editable hand-drawn whiteboard, flowchart, sequence, architecture sketch.
Routing
- User wants editable/collaborative: choose Excalidraw.
- User wants polished standalone browser output: choose SVG/HTML.
- Software architecture with infra components: choose architecture SVG.
- Science, product, process, concept map, physical object: choose clean SVG.
- Unsure: ask one short question only if output format matters; otherwise choose clean SVG.
Workflow
- Extract nodes, groups, labels, and directed relationships.
- Pick layout first: left-to-right, top-down, hub-spoke, swimlanes, layered stack, sequence.
- Keep labels short. Prefer 5-9 main elements over dense diagrams.
- Generate the file at the requested path, or
./diagram.html/./diagram.excalidraw. - Verify syntax by opening/parsing when feasible.
SVG/HTML rules
- Single standalone
.htmlfile with inline CSS and inline SVG. - No external fonts, JS, images, gradients, glows, decorative blobs, or remote assets.
- Use semantic colors, not rainbow sequences: neutral, input, process, storage, external, risk.
- Draw connectors before nodes so arrows sit behind boxes.
- Every connector path has
fill="none"and a marker arrow when directed. - Leave 24px text padding inside boxes; do not let text touch borders.
- Legend only when symbols/colors are not obvious.
SVG template
Use references/svg-template.md as the wrapper and replace <!-- SVG -->.
Excalidraw rules
- Save
.excalidrawJSON withtype,version,source,elements, andappState. - Use bound text for shape labels. Do not use a nonstandard
labelproperty. - Keep bound text immediately after its container in the elements array.
- Minimum labeled shape: 120x60. Minimum body text: 16px.
- Use roughness
1,fontFamily: 1, and simple fills.
For exact Excalidraw element snippets, read references/excalidraw-patterns.md.
FAQ
Which format should I pick?
Editable or collaborative sketches suit Excalidraw, polished standalone pages suit SVG or HTML, and software architecture suits the architecture SVG style.
Does the diagram need internet access to view?
No. The HTML and SVG files use inline styles and do not load outside fonts, scripts, or images.
How complicated can the diagram be?
It aims for five to nine main elements with short labels, because dense diagrams are harder to read.
Details
Original description by the author
Create SVG/HTML or Excalidraw diagrams for concepts, architecture, flows, and whiteboards.
repo: openclaw/openclaw
Popularity
- GitHub stars
- 394k
- Ranking position
- #52
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
discord-user-post
394kLets your agent post a message you have approved to Discord as you, through the Discord desktop app, after confirming the exact channel.
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
gitcrawl
394kLets your agent search a saved archive of GitHub issues and pull requests, group duplicates, and check their current status on GitHub.
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
Similar skills
prototype
310kBuilds a quick, throwaway prototype to answer one design question, such as whether a logic model feels right or what a screen should look like.
accessibility
280kHelps your agent create interfaces that everyone can use. Ensures websites and apps work well for people with disabilities, like those who are blind or have reduced mobility.
design-system
280kHelps your agent create a design system from existing code. It extracts visual information and checks for consistency, generating a report and an interactive preview.