
Cli Anything Drawio
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.
- skills.sh installs
- 712
- GitHub stars
- 58.5K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add hkuds/cli-anything --skill cli-anything-drawio --agent claude-codeInstalls into .claude/skills of the current project.
Files
cli-anything-drawio
A CLI harness for Draw.io — create, edit, and export diagrams from the command line.
Installation
This CLI is installed as part of the cli-anything-drawio package:
pip install cli-anything-drawio
Prerequisites:
- Python 3.10+
- drawio must be installed on your system
Usage
Basic Commands
# Show help
cli-anything-drawio --help
# Start interactive REPL mode
cli-anything-drawio
# Create a new project
cli-anything-drawio project new -o project.json
# Run with JSON output (for agent consumption)
cli-anything-drawio --json project info -p project.json
REPL Mode
When invoked without a subcommand, the CLI enters an interactive REPL session:
cli-anything-drawio
# Enter commands interactively with tab-completion and history
Command Groups
Project
Project management: new, open, save, info.
Sponsors
Details
- Repository
- github.com/hkuds/cli-anything
- Category
- CLI & Terminal
- First seen
- Jun 3, 2026
More from hkuds/cli-anything
All 51- Cli Anything Freecad697
- Cli Anything Gimp672
- Cli Anything Inkscape651
- Cli Anything Browser639
- Cli Anything Godot590
- Cli Anything Comfyui586
- Cli Anything Ollama583
- Cli Anything Zotero581
- Cli Anything Kdenlive580
- Cli Anything Qgis575
- Cli Anything Audacity572
- Cli Anything Mermaid559
- Cli Anything N8n559
- Cli Anything Krita550
- Cli Anything Obs Studio546
- Cli Anything Shotcut545
- Cli Anything Musescore541
- Cli Anything Chromadb540
- Cli Anything Videocaptioner537
- Cli Anything Iterm2530
- Cli Anything Openscreen530
- Cli Anything Dify Workflow527
- Cli Anything Pm2527
- Cli Anything Exa526