Skip to content
Kitbay
Skill

cli-anything-drawio

Apache-2.0Updated on Sep 22, 202658,588GitHub stars

A CLI-Anything skill for driving draw.io from the command line so an agent can create, edit and export diagrams. It is installed as a Python package and needs draw.io on the system.

What the skill teaches

A CLI-Anything skill for driving draw.io from the command line so an agent can create, edit and export diagrams. It is installed as a Python package and needs draw.io on the system. Commands are grouped into projects, shapes, connectors, pages, export and session: the agent can add, move, resize, label and style shapes, connect them with styled edges, manage pages and render the result to PNG, PDF or SVG. It runs as single commands or as an interactive shell with up to fifty levels of undo, saves project state as JSON, and returns structured JSON output for agents when asked. The skill advises checking that exported files exist.

Capabilities

  • Add and style shapes in a diagram
  • Connect shapes with labelled edges
  • Manage diagram pages
  • Export diagrams to PNG, PDF or SVG