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

ai-drawio

Skill by GBSOSS

Generates draw.io diagrams from natural language and renders them in a browser. It suits users who want flowcharts or architecture diagrams created from a text request and viewed as a screenshot.

  • Score 63
  • 81 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install ai-drawio

Built from the published package, never by AI.

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

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

Step-by-step: install ai-drawio in Claude Code

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

About

Ai-drawio is a skill that tells an AI assistant to turn a natural language request into draw.io diagram XML. The skill sets rules for IDs, layout, colors, edge routing and AWS architecture shapes. Its layout rules limit the canvas to 800 by 600 pixels. It covers flowchart, architecture and mindmap requests, with triggers in English and Chinese.

The assistant writes the XML, saves an HTML file that embeds it in a diagrams.net viewer iframe, starts a local Python HTTP server, and uses browser automation to open the page and take a screenshot. Users who want diagrams generated from text and viewed in a browser are the intended audience.

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

What it can do

  • Diagram XML generationWrites draw.io mxCell XML from a natural language description of a diagram.
  • FlowchartsBuilds start, process, decision and end shapes with connectors and a fixed color palette.
  • AWS architecture shapesUses mxgraph.aws4 shape styles for EC2, S3, RDS, Lambda, API Gateway and other services.
  • Edge routing rulesApplies connection points and routing rules so connectors avoid overlaps and intermediate shapes.
  • Animated connectorsAdds flow animation to connectors for emphasis.
  • Browser renderingEmbeds the diagram in an HTML page via a diagrams.net viewer iframe and opens it for a screenshot.

What you need

  • Python, to run a local HTTP server
  • Browser automation tools

Try asking

  • Draw a simple login flow diagram with success and failure paths
  • Create an AWS architecture diagram with API Gateway, Lambda and DynamoDB
  • Make a flowchart for an order approval process with a decision step

Good to know

  • Canvas is limited to 0-800px width and 0-600px height in the layout rules.
  • The iframe approach depends on the external viewer.diagrams.net service.
  • Rendering needs a local HTTP server started on port 8765.

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 ai-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

ai-drawio: common questions

What does ai-drawio produce?

The source describes generating draw.io XML and an HTML file that embeds the diagram in a diagrams.net viewer iframe. The result is shown in a browser.

Which diagram types does it support?

The triggers mention drawing, diagrams, flowcharts, architecture and mindmaps. The source includes flowchart and AWS architecture examples.

How is the diagram shown to the user?

The assistant starts a local Python HTTP server, opens the HTML page with browser automation and takes a screenshot.

How do I install ai-drawio?

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

Is ai-drawio free?

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

Is ai-drawio safe to use?

It scores 63 of 100. Grades: maintenance D, 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 ai-drawio?

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

ai-drawio Install

Add to stack

Loading.