drawio
Skill by juan294
Generates draw.io diagrams as native .drawio files from requests for flowcharts, ER, sequence, class, network diagrams, mockups and wireframes. It can also export to PNG, SVG or PDF with the diagram XML embedded, for designers and developers.
Install drawio
Built from the published package, never by AI.
git clone --depth 1 https://github.com/juan294/summon /tmp/summon && mkdir -p ~/.claude/skills && cp -r /tmp/summon/.agents/skills/drawio ~/.claude/skills/drawioRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/juan294/summon /tmp/summon && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/summon/.agents/skills/drawio ~/.gemini/antigravity-cli/skills/drawioAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This agent skill creates draw.io diagrams. The assistant writes the diagram as mxGraphModel XML into a .drawio file in the current working directory. If the user asks for PNG, SVG or PDF, the skill uses the draw.io desktop command-line interface to export the file with the diagram XML embedded, so the exported file stays editable in draw.io. It then deletes the intermediate .drawio file and opens the result.
The skill covers environment detection for WSL2, macOS, Linux and Windows, and gives the CLI paths and open commands for each. It also includes XML styling rules, edge routing guidance and dark mode support. It is aimed at users who want diagrams, flowcharts, mockups or wireframes made from a text request and saved in an editable draw.io format.
Written from the project's SKILL.md and checked against it.
What it can do
- Create .drawio diagramsWrites native mxGraphModel XML into a .drawio file in the current working directory.
- Export to PNG, SVG or PDFExports with the draw.io CLI and embeds the diagram XML so the file stays editable.
- Open the resultOpens the exported or .drawio file, or prints the path if the open command fails.
- Format-based file namingUses names like name.drawio.png for exports and lowercase hyphenated names for diagrams.
- Edge routing guidanceSets orthogonal connectors, spacing and connection points for clearer diagrams.
- Dark mode supportSets adaptiveColors on the model and supports light-dark color values.
What you need
- draw.io desktop app with its command-line interface, for export
- Write access to the current working directory
- macOS, Linux, Windows or WSL2
Try asking
- Create a flowchart for a user login process.
- Draw an ER diagram for an online shop database and export it as PNG.
- Make a sequence diagram of the checkout flow and save it as an SVG.
Good to know
- Export to PNG, SVG or PDF requires the draw.io desktop CLI.
- JPG export does not embed the diagram XML.
- Mermaid and CSV formats are not used, since they need server-side conversion.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/drawio/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to drawio
All alternatives →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.
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.
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.
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.
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.
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.
Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration
drawio: common questions
What happens if draw.io is not installed?
If the CLI is not found, the skill keeps the .drawio file and tells the user to install the draw.io desktop app for export, or to open the file directly.
Which export formats keep the diagram editable?
PNG, SVG and PDF exports embed the full diagram XML, so opening them in draw.io recovers the editable diagram. JPG does not support embedded XML.
Does the skill use Mermaid or CSV?
No. The source says it always generates draw.io XML directly, because Mermaid and CSV need server-side conversion and cannot be saved as native files.
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 70 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 drawio?
Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.
