cli-anything-drawio

Automate Draw.io diagram editing, management, and export via CLI commands.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/xxxxkkkqq/CineWeave --skill cli-anything-drawio-xxxxkkkqq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-drawio
Source: https://github.com/xxxxkkkqq/CineWeave/tree/main/research/upstreams/CLI-Anything/drawio/agent-harness/cli_anything/drawio/skills
Command: npx skills add https://github.com/xxxxkkkqq/CineWeave --skill cli-anything-drawio-xxxxkkkqq

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a command-line interface for creating, editing, and exporting diagrams from Draw.io files, simplifying workflow automation for diagram management.

Core Features & Use Cases

  • Diagram Management: Create new diagrams, open existing files, and save updates efficiently.
  • Shape and Connector Editing: Add, remove, move, resize, and style shapes and connectors on diagrams.
  • Export Capabilities: Render diagrams into various formats such as PNG, PDF, and SVG for presentation or sharing.
  • Use Case: A project manager can programmatically generate flowcharts from text descriptions and export them as PDFs for reports without manual drawing.

Quick Start

To create a new diagram, run the command to initialize a blank project and save it as a JSON file.

Frequently Asked Questions about cli-anything-drawio

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

FAQPage Schema
How do I automate diagram creation and export from the command line?

You can automate diagram creation and export by running CLI commands to initialize projects, edit shapes and connectors, and export diagrams to PNG, PDF, or SVG for batch processing.

Can I edit shapes and connectors across multiple pages using CLI?

Yes, CLI commands support editing shapes and connectors across multiple pages, allowing you to add, remove, move, resize, and style elements with undo and redo capabilities.

Does this tool support exporting drawio flowcharts to PDF and SVG?

Yes, the tool supports exporting drawio flowcharts to various formats including PDF and SVG, enabling you to render diagrams for presentations or sharing without manual drawing.

What is the best way to integrate drawio diagram workflows into automation scripts?

The best way to integrate drawio diagram workflows is using CLI commands to manage diagrams, edit elements, and export files, ensuring compatibility with script-based batch processing and system integrations.

Are there limitations when using CLI for batch processing drawio files?

CLI batch processing relies on script-based commands for editing and exporting drawio files, requiring familiarity with command line operations to manage shapes, connectors, and multiple pages effectively.

How do I programmatically generate flowcharts from text descriptions?

You can programmatically generate flowcharts by using CLI commands to create diagrams from text descriptions, edit shapes and connectors, and export the results as PDFs for reports.