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

drawio

Skill by MGdaasLab

Generates draw.io diagrams as native .drawio files and can export them to PNG, SVG or PDF with the diagram XML embedded. It suits users who want flowcharts, ER diagrams or architecture overviews made from an AI assistant.

  • Score 76
  • 1.1k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install drawio

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MGdaasLab/WHartTest /tmp/WHartTest && mkdir -p ~/.claude/skills && cp -r /tmp/WHartTest/WHartTest_Skills/draw-skill/drawio ~/.claude/skills/drawio

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

Step-by-step: install drawio in Claude Code

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

About

The Draw.io Diagram skill tells an AI assistant how to generate draw.io diagrams as native .drawio files. The assistant writes mxGraphModel XML to a file in the current working directory, then can optionally export the result to PNG, SVG or PDF using the draw.io command-line interface. Exports keep the diagram XML embedded, so the file stays editable in draw.io.

The skill includes guidance on edge routing, grid alignment, and nested containers such as swimlanes and groups. It also gives rules for valid XML, such as always including the mxGeometry child on edges. It suits users who want diagrams such as flowcharts, ER diagrams or architecture overviews created from a text request inside an AI assistant.

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

What it can do

  • Generate .drawio filesWrites native mxGraphModel XML diagrams to .drawio files in the working directory.
  • Export to PNG, SVG or PDFUses the draw.io CLI with embedded XML so exported files stay editable in draw.io.
  • Format-based file namingNames exports with double extensions such as name.drawio.png to flag embedded XML.
  • Containers and groupsBuilds nested elements using swimlanes, invisible groups and container styles.
  • Edge routing guidanceCovers orthogonal edges, waypoints, spacing and room for arrowheads.
  • Page selection for exportExports all pages or a single page for PDF, or a chosen page with the page index flag.
  • Cleanup after exportDeletes the intermediate .drawio file after a successful export.

What you need

  • draw.io desktop app with its command-line interface
  • Write tool access to save files in the working directory
  • macOS, Linux or Windows

Try asking

  • Create a flowchart for the user login process
  • Export an architecture overview diagram as a PNG with embedded XML
  • Make an ER diagram for a database schema and save it as SVG

Good to know

  • JPG export does not embed diagram XML, so the file is not editable in draw.io.
  • draw.io has no built-in collision detection for edges, so layout must be planned.
  • Mermaid and CSV formats are not saved as native files; the skill generates XML directly.
  • Exporting requires the draw.io desktop app and its CLI.

Security check

A

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

Checked automatically: WHartTest_Skills/draw-skill/drawio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to drawio

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

drawio: common questions

Can I export a draw.io diagram to PNG and still edit it?

Yes. PNG, SVG and PDF exports use the embed diagram flag, so the file contains the full diagram XML and opens back in draw.io.

Does the skill support JPG export?

JPG is listed as a supported format, but it has no embedded XML support, so the exported file cannot be edited in draw.io.

What is needed to export diagrams?

The source requires the draw.io desktop app with its command-line interface, found on PATH or at the platform-specific install path.

How do I install drawio?

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

Is drawio free?

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

Is drawio safe to use?

It scores 76 of 100. Grades: maintenance A, licence F, 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 drawio?

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

drawio Install

Add to stack

Loading.