drawio

Generate native draw.io diagrams as editable .drawio files from natural language prompts.

2.5k|134|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/compozy/compozy --skill drawio-compozy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drawio
Source: https://github.com/compozy/compozy/tree/main/.agents/skills/drawio
Command: npx skills add https://github.com/compozy/compozy --skill drawio-compozy

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Generating diagrams manually can be time-consuming and error-prone; this skill automates diagram creation by producing native draw.io XML and saving editable .drawio files from natural language requests.

Core Features & Use Cases

  • Generate native draw.io XML in mxGraphModel format for a requested diagram
  • Write the XML to a .drawio file in the current working directory
  • Optional export to PNG, SVG, or PDF with embedded diagram XML
  • Open or present the result for quick sharing and editing

Quick Start

Describe the diagram you want and any export format, and the system will generate a .drawio file in the current directory and export to PNG, SVG, or PDF if requested.

Frequently Asked Questions about drawio

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

FAQPage Schema
How do I generate a draw.io diagram from a text prompt?

You can generate a draw.io diagram by providing a natural language description of your desired flowchart or architecture. The system translates your prompt into native mxGraphModel XML and saves it as an editable .drawio file in your current directory.

What is native mxGraphModel XML used for in diagram generation?

Native mxGraphModel XML is the underlying structured format used by draw.io to render and store diagrams. Generating diagrams directly in this XML format ensures the output remains fully editable within the draw.io ecosystem rather than producing static images.

Can I export my generated draw.io diagram to PNG, SVG, or PDF?

Yes, you can optionally export the generated draw.io diagram to PNG, SVG, or PDF formats. The exported files contain the embedded diagram XML, allowing for quick sharing while preserving the source structure for future editing.

What types of diagrams can I create using automated natural language generation?

Automated diagram generation supports various visual design tasks including flowcharts, system architectures, ER models, and UI mockups. You simply describe the structural requirements of these diagram types in natural language to produce editable files.

Do I need local write capabilities to save generated .drawio files?

Yes, local write and export capabilities are required because the system needs to save the generated XML directly to a .drawio file in your current working directory. Without local write access, the automated file creation and export process cannot complete.