# drawio-skill

Source: https://trendhub.net/skills/agents365-ai-drawio-skill
Repository: https://github.com/Agents365-ai/drawio-skill
Author: Agents365.ai (https://github.com/Agents365-ai)
License: MIT
GitHub stars: 11,130

drawio-skill from Agents365-ai lets a coding agent produce editable draw.io diagrams from a description or from real sources such as code imports, Terraform, Kubernetes, SQL DDL and OpenAPI files. A bundled Python toolset lays out, validates, syncs, tests and exports the diagrams, and the agent checks its own PNG draft before showing you. It suits engineers who keep architecture diagrams that must stay editable and accurate.

## What problems it solves

- **Generated diagrams are flat images**: Every result is a .drawio file you can open and edit, with PNG, SVG or PDF exports made from it.
- **Diagrams drift from the real system**: Importers build diagrams from code, IaC and schemas, and a sync command updates changed parts while keeping your manual layout.
- **Overlapping shapes and edges through boxes**: The agent exports a draft, inspects it and repairs overlaps, clipped labels and stacked edges for up to two rounds.
- **Guessed vendor icons render as blanks**: A shape search resolves exact style strings from the official draw.io libraries instead of guessing names.

## Install

### Claude Code, Cursor, Copilot and other agents

Global install through the skills CLI; update later with npx skills update drawio-skill -g.

```
npx skills add Agents365-ai/drawio-skill -g
```

### Claude Code (manual link)

Links only the skills/drawio-skill subfolder; use cp -R instead of ln -s if your host ignores symlinks.

```
mkdir -p ~/src
git clone https://github.com/Agents365-ai/drawio-skill.git ~/src/drawio-skill
mkdir -p ~/.claude/skills
ln -s ~/src/drawio-skill/skills/drawio-skill ~/.claude/skills/drawio-skill
```

Install the draw.io desktop app first (version 30 or later is recommended for Mermaid conversion and ELK layout) and have Python 3 available; Graphviz is optional and only needed for automatic layout.

## Skills

Skill names are shown as /name. Depending on the agent, a skill runs when it is relevant or when you call it by name; plugin installs may add a prefix.

- `/drawio-skill`: Creates and maintains editable .drawio diagrams from prompts, code, IaC and schemas, then validates, syncs, tests and exports them. (https://trendhub.net/skills/agents365-ai-drawio-skill/drawio-skill.markdown)

## Questions

### Is drawio-skill free?

Yes, it is released under the MIT licence.

### What do I need installed?

Python 3 for the core tools and the draw.io desktop CLI for native exports; Graphviz is optional for automatic layout.

### Which agents does it support?

The README lists Claude Code, Codex, Cursor, Copilot, OpenClaw, Hermes and Autohand Code, plus any agent that reads the Agent Skills format, and an optional MCP server for MCP hosts.

### How does it relate to the official draw.io plugin?

The README calls it complementary to jgraph's drawio-mcp plugin, adding the importers, sequence and C4 generators, the review loop and the HTML viewer.

## Before you install

The skill runs bundled Python scripts and the draw.io CLI, reads source trees, IaC files and schemas, and writes .drawio and export files. Live-infrastructure modes read output from terraform show, docker inspect or kubectl, and AI logo icons load from a CDN unless embedded.
