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 LiYu0524

Generates draw.io diagrams as .drawio files and can export them to PNG, SVG or PDF with the diagram XML embedded. Useful for making editable diagrams such as flowcharts from a short request.

  • Score 55
  • 11 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/LiYu0524/Auto-Reasearch-Skills /tmp/Auto-Reasearch-Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Auto-Reasearch-Skills/skills/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 drawio skill generates draw.io diagrams as native .drawio files. The assistant writes mxGraphModel XML directly and saves it to the current working directory with the Write tool. If the user asks for PNG, SVG or PDF, it exports the file with the draw.io command-line interface using the embed-diagram flag, so the exported file stays editable in draw.io. It then deletes the intermediate .drawio file.

The skill requires the draw.io desktop app, since the export step uses its CLI. The source gives paths for macOS, Linux and Windows. Typical requests in the source include flowcharts, ER diagrams and architecture overviews. JPG output is supported, but it cannot embed XML.

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

What it can do

  • Create diagramsGenerates draw.io XML for a requested diagram and saves it as a .drawio file.
  • Export to PNG, SVG or PDFExports the diagram with embedded XML so it can be reopened and edited in draw.io.
  • Export optionsSupports border width, scale, fitting to width and height, and transparent PNG backgrounds.
  • Multi-page PDF exportExports all pages of a diagram to PDF using the all-pages option.
  • Page selectionExports a specific page of a diagram by its 1-based index.
  • Descriptive file namingUses lowercase hyphenated names and double extensions such as name.drawio.png.
  • Open resultsOpens the exported file or the .drawio file using the operating system's open command.

What you need

  • draw.io desktop app with its command-line interface, for exports
  • Bash and Write tool access
  • macOS, Linux or Windows

Try asking

  • /drawio create a flowchart for user login
  • /drawio png flowchart for login
  • /drawio svg: ER diagram of the orders database

Good to know

  • JPG export does not embed diagram XML.
  • The transparent background option applies to PNG only.
  • Multi-page export with all-pages applies to PDF only.
  • The intermediate .drawio file is deleted after a successful export.

Security check

B
  • Allowed to use Bash, Write without limitsIn SKILL.md

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

Inside the skill

Allowed tools: BashWrite

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 still edit an exported PNG, SVG or PDF?

Yes. The source says PNG, SVG and PDF exports embed the full diagram XML, so opening them in draw.io recovers the editable diagram.

Does this skill use Mermaid or CSV?

No. The source says it always generates XML directly, because Mermaid and CSV formats require server-side conversion and cannot be saved as native files.

How does the skill find the draw.io CLI?

It tries the drawio command on PATH first, then falls back to the platform-specific install path for macOS, Linux or Windows.

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 55 of 100. Grades: maintenance D, licence A, quality C. Security check: grade B (allowed to use bash, write without limits). 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.