Skip to content

Drawio skill

Create editable draw.io diagrams, synchronize source-backed models and inspect architecture relationships.

Community · Agents365-ai
AuthorAgents365-ai
LicenceMIT
SourceAgents365-ai/drawio-skill · SKILL.md on GitHub
Project websiteagents365-ai.github.io/drawio-skill
Works inClaude Code · Codex, Gemini CLI, Cursor, Copilot
Read from the source on

The drawio-skill authors and edits native .drawio diagrams with a shared model workflow.

Its Python tools support generation, sync, semantic queries, policy checks and interactive walkthroughs. A source-derived relationship or failure simulation remains model evidence, not proof of a running system.

From the skill's SKILL.md: # Draw.io Architecture Studio

This is a community skill by Agents365-ai, not checked by us or by Anthropic. Skills can tell the agent to run code, read files or call the network. Before installing, read its SKILL.md and every script in the folder, and look for anything that does not match what it says it does.

What it does

  1. Choose direct XML, source import or the shared diagram model.
  2. Build or synchronize the diagram while preserving manual geometry.
  3. Validate structure and inspect a rendered draft before final export.

What you get

  • Editable .drawio files, optional image/PDF exports, model reports and HTML walkthroughs.

When to use it

  • Maintain architecture diagrams or convert supplied schemas and code into editable views.

When not to use it

  • Treating inferred architecture as live state or expecting native exports without the required renderer.

What it needs

  • Python 3 for core offline workflows. Native export needs draw.io Desktop; Graphviz layout and MCP integration are optional and separately configured.

Files in the skill

File or folderWhat it is for
SKILL.mdWorkflow selection, diagram identity, editing rules and export requirements.
scripts/Python scripts and focused references implement model, XML, sync, review and export workflows; optional external tools remain separate.
references/Python scripts and focused references implement model, XML, sync, review and export workflows; optional external tools remain separate.

Licence as found in the repository on 2026-11-23: MIT.

Example prompts

Type one of these after installing; naming the skill makes sure it is used.

  • Build an editable diagram from this OpenAPI schema and preserve provenance.
  • Synchronize these source changes without deleting my manual layout.
  • Review this diagram's policy rules and distinguish inference from observed facts.

How to install drawio-skill

Copy the nested skill folder

Install skills/drawio-skill, not the repository root. Keep scripts and references together. The skill disables automatic model invocation; invoke it explicitly in hosts that respect that setting.

Python scripts and focused references implement model, XML, sync, review and export workflows; optional external tools remain separate.

A skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:

Claude Code: copy the folder into your skills folder

Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).

git clone --depth 1 https://github.com/Agents365-ai/drawio-skill.git
mkdir -p ~/.claude/skills
cp -R drawio-skill/skills/drawio-skill ~/.claude/skills/

Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /drawio-skill or just describe the task.

On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.

Codex, Gemini CLI, Cursor and GitHub Copilot

These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:

git clone --depth 1 https://github.com/Agents365-ai/drawio-skill.git
mkdir -p .agents/skills
cp -R drawio-skill/skills/drawio-skill .agents/skills/
AgentProject folderYour user folderNotes
OpenAI Codex
.agents/skills/
~/.agents/skills/
Type $ or run /skills to pick a skill; Codex also chooses one when your task matches.
Gemini CLI
.agents/skills/
.gemini/skills/
~/.agents/skills/
~/.gemini/skills/
Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you.
Cursor
.agents/skills/
.cursor/skills/
~/.agents/skills/
~/.cursor/skills/
Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders.
GitHub Copilot
.github/skills/
.agents/skills/
.claude/skills/
~/.copilot/skills/
~/.agents/skills/
Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later).
Only install skills you trust. Anthropic's advice is to use skills only from trusted sources, and to read every file of any other skill before using it: a skill can direct the agent to run commands, read files or send data in ways its description does not mention.

Sources for these steps

Checked against each vendor's documentation on 2026-11-14:

Preserve diagram identity

Stable semantic identifiers, source provenance and manual geometry make later updates reviewable. Treat removed elements conservatively and inspect the resulting diagram before accepting a sync.

Check structure and appearance

XML validation cannot detect every overlap or unreadable label. Inspect rendered output as well; check the actual export tool and retain the editable source alongside flattened images.

Questions about drawio-skill

Does every workflow need draw.io Desktop?

No. Core model/XML and semantic workflows use Python; native rendering/export needs the desktop CLI.

Can it keep manual layout?

Its sync workflow is designed to preserve geometry and styles; review removals and only prune when deletion is intended.

Does it need an MCP server?

Not for the core CLI. A bundled MCP wrapper is optional for compatible hosts.

Is a failure simulation a production test?

No. It explores relationships encoded in the model and cannot establish actual runtime resilience.

More AI skills

Related skills

Skill categories

Buy me a coffee