cli-anything-drawio

Automate Draw.io diagram creation, editing, and export from the command line.

Updated May 7, 2026
One-click install
npx skills add https://github.com/dawsonblock/JUDGE_ATLAS --skill cli-anything-drawio-dawsonblock
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cli-anything-drawio
Source: https://github.com/dawsonblock/JUDGE_ATLAS/tree/main/external/CLI-Anything-main/drawio/agent-harness/cli_anything/drawio/skills
Command: npx skills add https://github.com/dawsonblock/JUDGE_ATLAS --skill cli-anything-drawio-dawsonblock

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It solves the friction of creating, updating, and exporting Draw.io diagrams without relying on a graphical editor workflow.

Core Features & Use Cases

  • Project and session automation: Create, open, save, and inspect diagram projects, with undo/redo and optional REPL-driven editing.
  • Programmatic diagram construction: Add and manage shapes and connectors (including labels and styles) and organize pages.
  • Agent-friendly exports: Render diagrams to common formats (PNG/PDF/SVG) with machine-readable output support for automation.

Quick Start

Run the CLI with JSON output to create a new diagram project file for agent-driven workflows.

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 Draw.io diagram creation and export from the command line?

Yes, you can generate Draw.io diagrams programmatically by running CLI commands to add and manage shapes, connectors, and pages. It supports JSON output for agent-friendly workflows and automation pipelines.

Can I export Draw.io diagrams to PNG, PDF, or SVG using a CLI script?

Yes, this CLI exports Draw.io diagrams to PNG, PDF, and SVG formats with machine-readable output support. It integrates directly into documentation and reporting pipelines for automated rendering.

Do I need a local Draw.io installation to automate diagram exports via CLI?

Yes, a local Draw.io installation is required to use this CLI for diagram automation. The tool drives the local application to create projects, add shapes, and export files.

How do I add shapes and connectors to a Draw.io diagram programmatically?

You use dedicated CLI command groups to add and manage shapes and connectors, including labels and styles. This allows you to programmatically build and organize diagram pages without manual editing.

Does CLI diagram automation support structured JSON output for agent workflows?

Yes, the CLI supports structured JSON output for agent-driven workflows. This allows automation scripts to parse diagram data and execution results for programmatic processing.