Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

drawio-skill: editable draw.io diagrams from text or code

Agents365-ai/drawio-skill

Your AI assistant draws diagrams you can still edit: architecture maps, flowcharts, database charts, org charts and more, saved as draw.io files. It can also read your code, server setup files or database tables and draw them for you. It checks its own picture, fixes overlaps and shows you a draft before the final export.

Pack description by its author: “Your AI assistant draws diagrams you can still edit: architecture maps, flowcharts, database charts, org charts and more, saved as draw.io files. It can also read your code, server setup files or database tables and draw them for you. It checks its own picture, fixes overlaps and shows you a draft before the final export.”

Documents, slides and spreadsheetsGives your assistant new abilities with scriptsKnowledge and rules for your assistant

GitHub

Checked against the pack's files at commit 5727082, on Nov 6, 2026. Tap a verdict to see its source.How we checkedReport an error

The pack has changed since AgentGid checked it on Nov 6, 2026. Some details may be out of date.

Gives your assistant new abilities with scriptsKnowledge and rules for your assistant

Good for you if

  • You want a diagram you can open and change in draw.io, not a flat picture
  • You want a map of an existing project, its servers or its database drawn from the real files
  • You make slides or documents with system diagrams and want real AWS, Kubernetes or AI brand icons
  • You use Claude Code, Cursor, Copilot, Codex or a similar assistant that can run commands

Probably not for you if

  • A simple text diagram in your docs is enough: the author points to Mermaid or PlantUML for that
  • You want a hand-drawn whiteboard look: the author points to its sibling excalidraw-skill or tldraw-skill

What you'll notice

  • A .drawio file plus a PNG in your working folder by default
  • A draft first: the assistant looks at its own picture, fixes overlaps and clipped labels (up to two rounds), then asks you
  • Python helper tools run on your computer; the draw.io desktop app makes the PNG, SVG and PDF files
  • Saved styles of your own live in a folder in your home folder (~/.drawio-skill/styles/)

What you need

  • Claude Code, Cursor, Copilot, OpenClaw, Codex, Autohand Code and 1 more
  • Free, MIT license
  • One command (skills installer) or copy one folder; install the draw.io desktop app for exports
  • Python 3 is required. Graphviz is optional, for automatic layout of large graphs. draw.io 30 or newer unlocks Mermaid conversion.
Words on this page
Skill
A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
CLI
A program you run by typing commands in a terminal.
MCP
A standard way to connect an AI assistant to outside tools and data.
Repository
A project folder on GitHub with its files and history.
RepositoryAgents365-ai/drawio-skill · website
GitHub stars10,895
Skills1 · 1 with scripts
CategoryDocuments, slides and spreadsheets
LicenseMIT
Last updatedNov 22, 2026 · card checked Nov 6, 2026 at commit 5727082
Install countsAgents365-ai/drawio-skill on skills.sh, Vercel's skills directory, which shows installs and security audits per skill

Agents365-ai/drawio-skill popularity over time

Most starred skill packs

Agents365-ai/drawio-skill: GitHub starstotal over time 10,895
Agents365-ai/drawio-skill: new stars per weekGitHub 138

What drawio-skill does

  • Picks a route for the request: hand-written draw.io XML for precise styling, Mermaid conversion for standard charts (draw.io 30+), automatic layout for graphs of about 15+ nodes
  • Imports real sources into diagrams: Python, JS/TS, Go and Rust code, Terraform, Kubernetes, docker-compose, SQL tables, OpenAPI, AsyncAPI, Protobuf, GraphQL and CI pipelines
  • Keeps one model of the system (Diagram IR) and projects executive, system, deployment, data-flow and security views from it
  • Updates a diagram from changed sources without losing your manual layout; removed parts stay as faded, reviewable elements
  • Checks diagrams: a structural linter with a score, architecture rules from a policy file, queries, a written review and failure what-if
  • Searches over 10,000 official draw.io shapes and 321 AI brand logos instead of guessing icon names
  • Exports to PNG, SVG and PDF, and repurposes a diagram as an HTML viewer, slide deck, Mermaid, Markdown, animated SVG or a click-through walkthrough
  • Rebuilds an editable diagram from a screenshot or a whiteboard photo

Never cut, per the skill: Source-backed relationships over guesses; inferred findings are not presented as verified facts; no secrets in diagram properties.

From the pack's SKILL.md files, summarised by AgentGid.

The skill, explained

drawio-skill

Draws, updates, checks and exports editable draw.io diagrams; writes new diagram files, not your code

You give

  • What to draw, in words (or a screenshot or whiteboard photo)
  • Or the source to draw from: a code folder, Terraform, Kubernetes or compose files, SQL, an API schema
  • Optional: a style name (corporate, dark, colorblind-safe, handdrawn or your own)
  • Optional: the output formats you want (PNG, SVG, PDF)

You get

  • An editable .drawio file
  • A PNG by default; SVG or PDF with the diagram embedded on request
  • A validation score and, on request, an architecture review in Markdown
  • Optional extras: linked views, a what-if impact report, an offline HTML walkthrough
Say: “Use drawio-skill to draw a microservices e-commerce architecture with an API gateway, five services, Kafka and three databases”

Its rules, in pictures

Default fill colours by role: services, databases, queues, gateways, errors, external, security

#dae8fc
#d5e8d4
#fff2cc
#ffe6cc
#f8cecc
#f5f5f5
#e1d5e7

Drawn by AgentGid from the values in the skill's files. This is not output of the skill; sample text is ours.

See it in action

Same task, same model, with and without the skill

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

With the skill

The author's rendered result is assets/microservices-example.png, with the editable source in assets/microservices-example.drawio..

Source: README.md. AgentGid did not run it.

When to reach for it

You wantUse
A new diagram from a description/drawio-skill plus what to draw
A map of your codebase or infrastructure"Visualize the module structure of this Python project" (diagramctl.py build)
Update a diagram after the code changed without losing your layoutdiagramctl.py sync
Check a diagram against architecture rulesdiagramctl.py test --rules policy.yml
The same look on every diagram"Learn my style from brand.drawio as mybrand", then name the style
An editable diagram from a whiteboard photoGive the photo and ask for an editable .drawio
Try it. Install the skill and the draw.io desktop app, then ask "Use drawio-skill to draw a three-tier web app: browser, API server, Postgres". You should get a .drawio file and a PNG in your folder, and the assistant should show you a draft before the final export.

Skills in Agents365-ai/drawio-skill

SkillIn plain wordsChanges files?What it does (author)
drawio-skill
/drawio-skill, then describe the diagram (Codex: $drawio-skill)
Draws, updates, checks and exports editable draw.io diagrams; writes new diagram files, not your codeNo Create and edit draw.io/diagrams.net diagrams as editable `.drawio` files. Covers architecture, UML/ERD/sequence, BPMN, network, and swimlane views authored from a description or converted from code, IaC, SQL, and API schemas, plus sync, query, test, review, export, and publish of existing… has scripts
npx skills add Agents365-ai/drawio-skill --skill drawio-skill

The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.

Good to know before you install

  • In Claude Code it does not switch on by itself: the skill file disables automatic loading, so call it by name.
  • Codex may pick it up on its own: its agent file allows implicit invocation.
  • It asks for broad tools: running commands, reading and writing files, and fetching web pages.
  • It writes outside your project: style presets you save go to ~/.drawio-skill/styles/, after you approve a preview.
  • AI brand logos load from a public icon CDN when the diagram is opened, unless you ask for embedded icons.
  • Keep secrets out of diagram labels and properties: they are saved inside the .drawio and HTML files.

Before you start

Works in

  • Claude Code: skills folder
  • Codex: plugin or skills folder
  • OpenCode: skills folder
  • Any agent (Cursor, Copilot and others): skills CLI
  • Claude Desktop, Cursor, VS Code: MCP server (optional)

You will need

  • Python 3: All bundled scripts are Python
  • draw.io desktop app: PNG, SVG and PDF exports; version 30+ for Mermaid conversion
  • Graphviz (optional): Automatic layout of large graphs
  • git: History and PR diff workflows

Steps only you can do

  1. Install the draw.io desktop app (version 30 or newer recommended) for PNG, SVG and PDF exports (https://github.com/jgraph/drawio-desktop/releases)
    Then: The agent exports drafts and final files with the drawio command
  2. For live infrastructure diagrams, export the state yourself (terraform show -json, docker inspect or kubectl ... -o json) and remove secrets (skills/drawio-skill/references/live-infra.md)
    Then: The agent imports the sanitized JSON into a diagram
  3. For the PR diff bot, add the GitHub workflow to your repository and allow it to write pull request comments (skills/drawio-skill/references/pr-bot.md)
    Then: Each pull request that touches a .drawio file gets a rendered before/after comment

Mistakes to avoid

  • Clone the whole repository into the skills folder
    Clone it elsewhere and link or copy only skills/drawio-skill into the skills folder
    The host must find SKILL.md one level down; a nested repository root is not discovered reliably
  • Expect Claude Code to use the skill on its own when you ask for a diagram
    Call /drawio-skill by name
    The skill file turns off automatic invocation
  • Export an AI or data-store logo diagram offline without --embed
    Pass --embed to inline the icons, or use generic local shapes
    Logos are linked from a CDN by default, so an offline render shows empty boxes
  • Use -e on the draft PNG or combine --width with -s in one export
    Draft PNG without -e; final PNG with -e and -s, then run repair_png.py
    The skill's export rules forbid both combinations
  • Sync with --prune to tidy an updated diagram
    Run sync without --prune and review the faded removed elements
    --prune is the only mode that deletes retired parts from the new file

Which one to pick

If you needPick
You want editable draw.io files, imports from code, IaC and SQL, and architecture checksThis pack
You want a self-contained HTML and SVG editorial diagram rather than a draw.io filecathrynlavery/diagram-design
You want an interactive diagram of an idea, plan or codebasett-a1i/archify
You want themed Mermaid diagrams rendered as SVG or terminal ASCIIimxv/Pretty-mermaid-skills

Works well with

  • claude-code: The README shows the Claude Code install and the skill is called as /drawio-skill
  • openai-codex: The repo ships a Codex plugin manifest and a Codex agent file
  • skills: The README installs the skill with npx skills add

May I use it like this?

UseAnswerCondition
In a commercial app YesMIT: keep the license notice
Passing the files on With conditionsMIT notice for the skill; the bundled shape index comes from Apache 2.0 sources, so keep its attribution file
Work for clients With conditionsMIT allows it; brand logos in diagrams are third-party trademarks used for identification only

What leaves your machine

  • Requests for AI and data-store logo SVGs → The icon CDNs on the skill's allow-list (unpkg, simple-icons, the Databricks icons site), When aiicons.py or dbxicons.py runs with --embed. Opt out: Use generic or local shapes, or skip --embed and brand logos
  • Requests for logo images linked inside the diagram → The unpkg CDN, Each time a diagram with linked (not embedded) logos is opened or rendered. Opt out: Pass --embed to inline the icons
  • A comment with rendered before/after diagram images → GitHub, on the pull request, Only if you set up the optional PR diff GitHub Action. Opt out: Do not add the workflow

Install drawio-skill

Official commands from the repository

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

Update with npx skills update drawio-skill -g.

Or with the open-source skills CLI: npx skills add Agents365-ai/drawio-skill. Skills are instructions your agent follows: read them before installing.

What it installs and runs on your machine

Read in the code at commit 5727082, Nov 6, 2026

WhenWhat happens
InstallMarkdown, data files and Python scripts are copied. No hooks, no install scripts.
Every diagramThe assistant runs the bundled Python scripts (diagramctl.py, validate.py and others) and writes .drawio, PNG, HTML or JSON files where you ask, by default in the working folder. Core commands are offline.
Export and layoutLaunches the local draw.io desktop app, Graphviz dot, and git for history or pull-request diffs. Subprocesses use argument lists, not a shell.
Saving a style presetWrites a temp file /tmp/drawio-preset-<name>.json, then ~/.drawio-skill/styles/<name>.json after you approve.
Network: --embed iconsaiicons.py --embed and dbxicons.py --embed download icons only from allow-listed HTTPS hosts (unpkg, simple-icons, the Databricks icons site). Without --embed the diagram links to those URLs.
Network: maintainer refreshdbxicons.py --refresh-manifest calls the GitHub API; the docs say not to run it for normal diagrams.
No draw.io appencode_drawio_url.py puts the diagram into a diagrams.net link fragment; nothing is uploaded until you open it, and the fragment stays in your browser.
Optional MCP serverdiagramctl_mcp.py runs over stdio when you register it; no network, no GUI launch.
Live infrastructureOnly reads JSON you supply from terraform show, docker inspect or kubectl; it does not choose credentials.

The author's numbers, as reported

AgentGid did not run these tests

  • 10,000+ official draw.io shapes searchable for exact icon styles. Source
  • 321 AI/LLM brand logos plus 18 data-store brands. Source
  • Transitive reduction cuts the asyncio import graph from 149 to 46 edges. Source

Quick answers

Is it free?
Yes, MIT license.
Do I need the draw.io app?
For PNG, SVG and PDF exports, yes. Without it the skill can still write the .drawio file or give you a diagrams.net link.
Does it send my code or diagrams anywhere?
Core commands are offline. Network use is limited to downloading icons with --embed, icon links opened when you view a diagram, and a maintainer-only refresh.
Will it overwrite my hand-tuned diagram?
No. Sync writes a separate output and keeps your layout; parts are deleted only with --prune when you ask.
Does it start by itself in Claude Code?
No. The skill file turns off automatic loading, so call /drawio-skill. In Codex it may be used automatically.

Checked by AgentGid on Nov 6, 2026 against commit 5727082 of the pack's own files. Related: Agents365-ai/excalidraw-skill, Agents365-ai/mermaid-skill, Agents365-ai/plantuml-skill, Agents365-ai/tldraw-skill, jgraph/drawio-mcp. agent.md for AI agents · Report a mistake

More documents, slides and spreadsheets skill packs

All documents, slides and spreadsheets skills

# Install
1
anthropics/skills CheckedRuns scripts

Anthropic's own collection of 19 skills for Claude. Four of them make and edit Word, Excel, PowerPoint and PDF files. The others help with design, art, team updates, longer documents, testing web pages and building new skills.

199K +13.9K 19
2
nexu-io/open-design CheckedRuns scripts

OpenDesign is a free design app that uses the AI coding assistant you already have to make web pages, slide decks, documents, images and short videos in your brand's style. Its skills folder holds 169 design playbooks. About half are full workflows and templates; the other half only point to skills in other places. Most skills work best inside the app.

109K +6,718 415
3

You point your AI assistant at a book or a folder of documents you own. It pulls the text out on your computer, then writes a new skill from it: the book's key ideas, a file per chapter, a glossary and a one-page cheat sheet. Later you ask that skill about a topic and the assistant reads the right chapter before it answers.

38.7K +3,002 1
4
zarazhangrui/frontend-slides CheckedRuns scripts

Makes a slide deck as one web page that opens in any browser. It asks about your talk first, shows you three different looks as real title slides, and builds the whole deck in the one you pick. It can also turn a PowerPoint file into such a deck, and share it as a link or a PDF.

32.8K +1,672 1
5

Give your assistant a website address and it checks the site the way an SEO consultant would: speed, indexing, content quality, structured data, local search and AI search. It saves a report and a to-do list sorted from critical to nice-to-have. Separate commands plan a strategy, write content briefs and watch a page for changes.

31.5K +10.5K 35
6

Your assistant builds a slide deck as one web page that you open in a browser and swipe through sideways. You pick one of two looks: an editorial magazine style or a strict Swiss grid style. The deck has a speaker view with notes, timers and rehearsal, and a second window for the audience.

30.2K +1,855 1