Skip to main content
ClaudeWave
ES, Spanish
Agents365-ai / MCP Servers

drawio-skill

Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports.

  • 10.3k estrellas
  • 712 forks
  • 1 issues abiertos
  • Lenguaje: Python
  • Licencia: MIT
  • actualizado

Instalación

local · npx
Claude Code CLI
claude mcp add drawio-skill -- npx -y skills
  1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
  2. Replace any <placeholder> values with your API keys or paths.
  3. Restart Claude. The MCP server and its tools appear automatically.

Nota editorial

This Claude Code skill converts natural-language prompts into draw.io XML diagrams and exports them to PNG, SVG, PDF, or JPG by invoking the native draw.io desktop CLI. It ships with six diagram type presets covering ERD, UML Class, Sequence, Architecture, ML/Deep Learning, and Flowchart, and includes a codebase-to-diagram feature that parses Python, JavaScript/TypeScript, Go, and Rust projects into auto-laid-out import graphs or class hierarchies using Graphviz placement and transitive reduction. A built-in shape search covers 10,000-plus official AWS, Azure, GCP, Kubernetes, and UML icons, while a separate library adds 321 AI and LLM brand logos absent from draw.io by default. After generating a diagram, the skill reads its own PNG output and performs up to two self-correction rounds to fix overlaps, clipped labels, and stacked edges, with additional user-driven refinement possible across up to five total rounds. Installation requires no MCP server or background daemon, relying on a single SKILL.md file, and the skill is compatible with Claude Code, Cursor, Copilot, and other Agent Skills-format agents.

Items instalables

2 items en este repositorio

docsSkill
Instalar

Create, edit, synchronize, inspect, test, and publish editable draw.io diagrams. Use when the user explicitly requests draw.io/diagrams.net, needs a polished architecture, ERD, UML, sequence, C4, SysML, BPMN, network, swimlane, ML, or infrastructure diagram, wants code/IaC/SQL/OpenAPI converted into a diagram, or wants an existing diagram queried, reviewed, diffed, restyled, kept in sync, or made interactive. Prefer Mermaid/PlantUML elsewhere when the requested artifact is diagrams-as-code rather than an editable draw.io file.

Instalar
README

Resumen de MCP Servers

README completo en GitHub

drawio-skill — From Text to Professional Diagrams

License: MIT GitHub stars GitHub forks Latest Release Last Commit

SkillsMP Agent Skills

English · 中文 · 📖 Online Docs

A skill that turns natural language and real system sources into maintainable .drawio architecture models. Beyond generation and export, it incrementally synchronizes without discarding manual layout, projects multiple views from one model, enforces architecture contracts, queries dependencies, simulates failure propagation, and publishes dependency-free interactive walkthroughs. Works with Claude Code, Cursor, Copilot, OpenClaw, Codex, Autohand Code, Hermes, and any agent compatible with the Agent Skills format.

✨ Highlights

From a prompt

  • Describe it, get an editable .drawio — the skill plans the layout, writes the XML, exports, then self-checks its own PNG and auto-fixes overlaps, clipped labels, and stacked edges (up to 2 rounds), with up to 5 rounds of your feedback

  • Mermaid → native .drawio (draw.io ≥ 30) — author 28 standard types as Mermaid text (mindmap, gantt, timeline, journey, pie, sankey, kanban…) and the CLI converts them into a laid-out, editable .drawio: structure in, layout free

  • Whiteboard photo / screenshot → editable diagram — snap a legacy PNG or a physical whiteboard, let vision extract the graph, and raster2drawio.py rebuilds it as a real, editable .drawio honouring the original layout

  • 11 diagram type presets — ERD, UML Class, Sequence, C4, Architecture, ML/Deep Learning, Flowchart, SysML, BPMN, Network Topology, Cross-Functional Swimlane

From real sources

  • Visualize a codebase — import graphs for Python / JS-TS / Go / Rust and Python class hierarchies, with Graphviz placement, transitive reduction, and nested module containers

  • IaC and live infrastructure — Terraform, Kubernetes, and docker-compose configs become diagrams with official AWS / Azure / GCP / K8s icons; snapshot what's actually deployed from terraform show -json, docker inspect, or kubectl get -o json

  • Schemas and pipelines — SQL DDL → ER diagram, OpenAPI/Swagger → API diagram coloured by HTTP method, AsyncAPI → event-driven architecture diagram, Protocol Buffers → message/service diagram, GraphQL SDL → entity type diagram, GitHub Actions / GitLab CI → pipeline DAG

  • Deterministic engines — sequence diagrams with computed lifelines and activation bars; multi-page C4 models with click-to-drill-down

Keep it true over time

  • Architecture digital twin / Diagram IR — separate meaning, provenance, and geometry; project executive, system, deployment, data-flow, and security views from one model

  • Incremental sync without losing manual layout — diagramctl sync updates changed nodes/relations while preserving tuned coordinates, styles, and annotations; removals stay reviewable by default

  • Diagram-as-Test, in CI — YAML/JSON architecture rules (Internet-to-database access, cycles, orphans, trust boundaries, contrast…) plus an official GitHub Action that enforces them on every PR, and a PR action that renders visual diffs

  • Query, review, what-if — query components/owners/paths, spot articulation points and high coupling, simulate failure propagation, publish an accessible Story walkthrough

  • Drift and history — colour-coded diffs between two diagrams or two live snapshots; a time-lapse player of how a codebase's architecture grew

Share and restyle

  • Repurpose with one command — interactive HTML viewer (pan/zoom/search), PowerPoint deck, animated data-flow SVG, Mermaid or Markdown export, click-through runbook, exec-summary compression

  • Restyle and enrich — style presets (yours or built-in dark/corporate/…), bilingual label variants with layout untouched, data-driven heat maps, white-to-metro tubemap mode

  • 10,000+ official shapes + 321 AI/LLM logos — resolve exact AWS / Cisco / K8s / UML icon styles instead of guessing, plus brand logos draw.io itself lacks

  • One CLI, optional MCP server — diagramctl doctor/build/sync/views/query/test/review/whatif/story/publish/transform, core workflows stdlib-only and offline; the MCP server exposes them to Claude Desktop, Cursor, VS Code, Codex, and any MCP host. Portable to any Agent Skills-compatible agent, no daemon

🗺️ Feature Map

A bird's-eye view of everything the skill does — diagram types, import sources, layout engines, styling, export formats, and repurposing — in one map. Fittingly, this map was itself drawn with drawio-skill.

🚀 Installation

1. Install the draw.io desktop CLI
PlatformCommand
macOSbrew install --cask drawio
WindowsDownload installer
Linux.deb/.rpm from releases; sudo apt install xvfb for headless

Verify with drawio --version. Version ≥ 30 recommended — it unlocks Mermaid → .drawio conversion and the ELK --layout pass (both unavailable on ≤ 29). On WSL2 the CLI is the Windows desktop exe reached via /mnt/c — the skill detects this automatically (see troubleshooting). Full recipes in docs/INSTALL_CLI.md.

2. Install the skill
# Any agent (Claude Code, Cursor, Copilot, ...)
npx skills add Agents365-ai/drawio-skill -g

Manual install: clone once to a persistent path, then link the skill subdirectory (Claude Code shown). Use cp -R instead of ln -s on hosts that do not follow symlinks. The destination must not exist yet, so move an existing drawio-skill entry aside first.

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

# Copy alternative, for hosts that do not follow symlinks
# mkdir -p ~/.claude/skills
# cp -R ~/src/drawio-skill/skills/drawio-skill ~/.claude/skills/drawio-skill

The skill is the skills/drawio-skill/ subdirectory, so SKILL.md must sit directly under the host entry: /drawio-skill/SKILL.md. Do not clone the repository root into a skills directory. Other host roots (Opencode, OpenClaw, Codex, Autohand Code global and project): docs/INSTALL_SKILL.md.

Autohand Code also supports autohand --skill-install for cataloged skills, with --project for workspace-level installs. Until this skill is listed there, use the manual recipe above with the Autohand Code skills root: ~/.autohand/skills/ (global) or /.autohand/skills/ (project).

Also indexed on SkillsMP.

Updating: npx skills update drawio-skill -g (skills CLI) for installer installs; link installs update with git -C ~/src/drawio-skill pull, and copy installs need a manual refresh. See docs/INSTALL_SKILL.md#updates. Release history in CHANGELOG.md.

⚡ Quick Start

After installation, just describe what you want. For example, an ML model:

Draw a Transformer encoder-decoder for machine translation: 6-layer encoder
with self-attention, 6-layer decoder with cross-attention, input embeddings
(batch × 512 × 768), positional encoding, and a final output projection.
Annotate tensor shapes between layers and color-code by layer type.

The skill plans the layout, generates the .drawio XML, exports to your chosen format, self-checks the result, and lets you iterate.

🖼️ Examples

Tip

The diagram above was generated from this single prompt:

Create a microservices e-commerce architecture with Mobile/Web/Admin clients,
API Gateway (auth + rate limiting + routing), Auth/User/Order/Product/Payment
services, Kafka message queue, Notification service, and User DB / Order DB /
Product DB / Redis Cache / Stripe API

The maintained Architecture Studio showcase covers code → IR → .drawio, conflict-aware synchronization that preserves a manually tuned layout, and architecture → policy/views/what-if/accessible Story. Every artifact is regenerated by one script and verified in the test suite.

Topics
agent-skillsarchitecturearchitecture-diagramasyncapibpmnc4-modelclaude-codediagramdiagrams-as-codedrawioflowchartgithub-actionsgraphqlimage-to-diagramkubernetesmcp-serverprotobufsysmlterraformuml
Preguntas frecuentes

Lo que la gente pregunta sobre drawio-skill

¿Qué es Agents365-ai/drawio-skill?

Agents365-ai/drawio-skill es mcp servers para el ecosistema de Claude AI. Agent skill that turns natural language, code, Terraform/K8s, SQL, OpenAPI, AsyncAPI, Protobuf and GraphQL sources into editable, tested draw.io architecture diagrams: incremental sync, multi-view projection, drift diff, CI architecture tests, whiteboard derasterize, interactive HTML/PPTX/Mermaid exports. Tiene 10.3k estrellas en GitHub y su última actualización registrada es del 2026-10-11.

¿Cómo se instala drawio-skill?

Puedes instalar drawio-skill clonando el repositorio (https://github.com/Agents365-ai/drawio-skill) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar Agents365-ai/drawio-skill?

Nuestro agente de seguridad ha analizado Agents365-ai/drawio-skill y le ha asignado un Trust Score de 100/100 (tier: Verified). Revisa el desglose completo de comprobaciones superadas y flags en esta página.

¿Quién mantiene Agents365-ai/drawio-skill?

Agents365-ai/drawio-skill es mantenido por Agents365-ai. La última actividad registrada en GitHub es del 2026-10-11, con 1 issues abiertos.

¿Hay alternativas a drawio-skill?

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Deploy en 1 click

Despliega drawio-skill en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Muestra su Trust Score en tu README

La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.

ClaudeWave Trust Score for Agents365-ai/drawio-skill
Markdown (README)
[![ClaudeWave Trust Score for Agents365-ai/drawio-skill](https://claudewave.com/api/badge/agents365-ai-drawio-skill)](https://claudewave.com/en/repo/agents365-ai-drawio-skill)
HTML
<a href="https://claudewave.com/en/repo/agents365-ai-drawio-skill"><img src="https://claudewave.com/api/badge/agents365-ai-drawio-skill" alt="ClaudeWave Trust Score for Agents365-ai/drawio-skill" width="320" height="64"></a>

Qué significa la insignia y cómo se calcula la puntuación

Alternativas

Ver todas