Generates native draw.io diagrams as editable .drawio files, with optional export to PNG, SVG, or PDF with embedded XML so they stay editable. Handles the full workflow: creates mxGraphModel XML, writes it to disk, locates the draw.io CLI across platforms (including WSL2 quirks), runs the export with the right flags, and opens the result. Works for flowcharts, architecture diagrams, ER diagrams, wireframes, whatever. The source includes detailed CLI paths for each platform and a proper XML reference link. If you regularly sketch diagrams in conversations and want actual files you can keep editing instead of disposable screenshots, this does that.
npx skills add https://github.com/jgraph/drawio-mcp --skill drawio