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 genai-docs

Drawio creates draw.io diagrams as native .drawio files from mxGraphModel XML. It can also export them to PNG, SVG or PDF with the diagram XML embedded, so the file stays editable.

  • Score 56
  • 16 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install drawio

Built from the published package, never by AI.

git clone --depth 1 https://github.com/genai-docs/genai-mkdocs-sample /tmp/genai-mkdocs-sample && mkdir -p ~/.claude/skills && cp -r /tmp/genai-mkdocs-sample/.rulesync/skills/.curated/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 skill generates draw.io XML for requested diagrams such as flowcharts, architecture, ER, sequence, class and network diagrams, mockups, wireframes and UI sketches. It writes the result to a .drawio file in the current working directory. If the user asks for png, svg or pdf, it uses the draw.io desktop CLI to export the file with the diagram XML embedded, then removes the intermediate .drawio file.

The skill is for users who want editable diagrams from an AI assistant. It covers macOS, Linux, Windows and WSL2 for locating the CLI and opening the result. If the CLI is missing, the .drawio file is kept and the user is told how to open it.

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

What it can do

  • Diagram XML generationGenerates native draw.io mxGraphModel XML for the requested diagram type.
  • Native .drawio outputWrites the diagram to a .drawio file in the current working directory.
  • Embedded XML exportExports to PNG, SVG or PDF with the diagram XML embedded so it stays editable.
  • Format selectionReads a format preference such as png, svg or pdf from the user's request.
  • Edge routing post-processingOptionally runs @drawio/postprocess to simplify edge waypoints when it is available.
  • Result openingOpens the exported or .drawio file, or prints its path if opening fails.

What you need

  • draw.io desktop app for PNG, SVG or PDF export
  • Windows, macOS, Linux or WSL2 for the CLI paths listed

Try asking

  • /drawio create a flowchart for the user login process
  • /drawio png ER diagram for an orders database
  • /drawio svg: network diagram of our office setup

Good to know

  • Export needs the draw.io desktop CLI; without it the .drawio file is kept.
  • JPG export does not embed the diagram XML.
  • Mermaid and CSV formats are not used; diagrams are written as native XML.

Security check

A

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

Checked automatically: .rulesync/skills/.curated/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 this export diagrams to PNG, SVG or PDF?

Yes. PNG, SVG and PDF exports use the draw.io CLI with the diagram XML embedded, so the file can be reopened and edited in draw.io.

What happens if draw.io is not installed?

The skill keeps the .drawio file and tells the user they can install the draw.io desktop app to enable export, or open the file directly.

Which export formats keep the diagram editable?

PNG, SVG and PDF embed the diagram XML. JPG is listed as lossy and does not support embedded XML.

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 MIT licence. The service it connects to may have its own pricing.

Is drawio safe to use?

It scores 56 of 100. Grades: maintenance D, licence A, quality C. 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.