This is a Python CLI that wraps Draw.io so you can script diagram creation and editing from the command line or let Claude build diagrams programmatically. It handles the full workflow: creating projects, adding shapes and connectors, styling elements, managing pages, and exporting to PNG, PDF, or SVG. Ships with an interactive REPL mode for manual use and a JSON output flag for agent consumption. The undo/redo support and session state management are nice touches for iterative work. You'll need Draw.io already installed on your system, and it requires Python 3.10 or higher. Honestly most useful when you need to generate diagrams in bulk or let an AI assemble technical diagrams based on structured data rather than clicking through a GUI.
npx skills add https://github.com/hkuds/cli-anything --skill cli-anything-drawio