Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

diagram-generator

Skill by luongnv89

Routes diagram requests to either a draw.io XML engine or an Excalidraw JSON engine. It is for users who need flowcharts, architecture, ER, sequence or mind map diagrams. It does not handle Mermaid or slides.

  • Score 61
  • 150 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install diagram-generator

Built from the published package, never by AI.

git clone --depth 1 https://github.com/luongnv89/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/diagram-generator ~/.claude/skills/diagram-generator

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install diagram-generator in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Diagram Generator is an umbrella skill that handles requests to make a diagram. It picks one of two engines: drawio-generator, which writes precise, editable .drawio XML files with official C4 styling, swimlanes and multi-page support, or excalidraw-generator, which writes hand-drawn style .excalidraw JSON files for sketches and wireframes. Both engines cover flowcharts, architecture, C4, ER, sequence and mind maps. The umbrella applies ordered routing rules, asks one question when no format is given, and runs a dependency preflight for the routed engine only.

The umbrella writes no file itself. It hands the request to the chosen engine, which handles its own questions, file naming, repo sync, validation and confirmation before overwriting files. The closing output is the engine's Final Report, relayed unchanged. The skill is aimed at people who want a diagram from a text request and need to choose between an editable draw.io file and a sketch-style Excalidraw file.

Written from the project's SKILL.md and checked against it.

What it can do

  • Engine routingChooses draw.io or Excalidraw based on the requested tool, file extension or aesthetic words.
  • Format questionAsks one question about precise draw.io output or hand-drawn Excalidraw output when no format is given.
  • Dependency preflightChecks for the routed engine skill and acquires it through asm deps, without substituting the other engine.
  • Both formatsRuns the second engine on the same content when the user asks for both draw.io and Excalidraw files.
  • Final report relayPasses the engine's four-line Final Report through unchanged as the closing output.
  • Optional self-improveProposes small edits to its own instructions after a run, only when the user approves.

What you need

  • npm package agent-skill-manager (asm) for the dependency commands
  • drawio-generator skill, if draw.io output is routed
  • excalidraw-generator skill, if Excalidraw output is routed

Try asking

  • Draw a sketchy onboarding wireframe for mobile.
  • Make an editable draw.io architecture diagram of my services.
  • Create an ER diagram for my database schema.

Good to know

  • The umbrella writes no file itself; the routed engine writes the output.
  • Mermaid and slide decks are out of scope.
  • Image files such as PNG or SVG are not written directly; the editor can export them.
  • If the routed engine is missing, the run stops and the other engine is not used without an explicit request.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/diagram-generator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to diagram-generator

All alternatives →
paperbananadwzhu-pku
94

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.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

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.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

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.

AAA Skill 50k
code-slice-heroheygen-com
94

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.

AAA Skill 92k
patentfigdavila7
94

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.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

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.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

diagram-generator: common questions

Which diagram types does it support?

The source says both engines cover flowcharts, architecture, C4, ER, sequence and mind maps. Wireframes and swimlanes are also mentioned for the engines.

Can it create a diagram in Mermaid?

No. The source says requests for Mermaid, slide decks or brand graphics are not routed and get an out-of-scope report.

Does it overwrite existing files?

The engine asks for confirmation before it overwrites an existing file, and the umbrella does not skip that step.

How do I install diagram-generator?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is diagram-generator free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is diagram-generator safe to use?

It scores 61 of 100. Grades: maintenance A, licence A, quality B. 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 diagram-generator?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

diagram-generator Install

Add to stack

Loading.