ai-drawio

Generate draw.io diagrams from natural language descriptions.

278|26|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/ninehills/skills --skill ai-drawio-ninehills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-drawio
Source: https://github.com/ninehills/skills/tree/main/skills/diagram-generator
Command: npx skills add https://github.com/ninehills/skills --skill ai-drawio-ninehills

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generate draw.io diagrams from natural language descriptions, turning vague ideas into precise, browser-renderable diagrams.

Core Features & Use Cases

  • Generate draw.io XML (mxCell elements) from natural language specifications following the project's layout rules.
  • Render diagrams in a browser via an embeddable HTML/iframe wrapper for quick visualization.
  • Supports architecture, flowcharts, mind maps, and other diagram types by applying consistent styling rules.

Quick Start

Describe the diagram you want in natural language and the tool will generate and render a draw.io diagram in the browser.

Frequently Asked Questions about ai-drawio

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate draw.io diagrams from natural language text?

The tool generates draw.io XML containing mxCell elements from natural language descriptions, wrapping them in an embeddable HTML structure for immediate browser rendering and visualization.

Can I visualize flowcharts and architecture sketches directly in the browser?

Yes, you can visualize flowcharts and architecture sketches directly in the browser by embedding the generated HTML wrapper, which renders the draw.io mxCell elements without requiring external diagramming software.

What is the best way to convert text specifications into draw.io XML?

The best way to convert text specifications into draw.io XML is using a natural language processing tool that applies consistent layout rules to produce valid mxCell elements under a single parent for browser rendering.

Does draw.io browser rendering work without installing external dependencies?

Yes, draw.io browser rendering works without external dependencies, as the tool produces a self-contained embeddable HTML wrapper that renders the generated mxCell XML directly in your browser.

What diagram types are supported by natural language draw.io generation?

Natural language draw.io generation supports multiple diagram types including architecture sketches, flowcharts, and mind maps by applying consistent styling and layout rules to the generated mxCell elements.

How does draw.io XML generation handle layout and styling for mind maps?

Draw.io XML generation handles layout and styling for mind maps by applying consistent project layout rules to the mxCell elements, ensuring proper hierarchical structure and visualization when rendered in the browser.