Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By gao-hongnanv1.4.0Apache-2.0In 1 marketplace
Generate native .drawio diagrams from Claude Code — author as Mermaid or XML with optional ELK auto-layout, export PNG/SVG/PDF with embedded XML, or open via app.diagrams.net URL.
Claude loads one when your task matches it, or you run it by name.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A Claude Code plugin that generates native .drawio files. Claude authors each
diagram as Mermaid (converted and laid out by the draw.io desktop CLI) or as
draw.io XML directly — with optional ELK auto-layout for XML, export to
PNG/SVG/PDF (with embedded XML so the file remains editable in draw.io), or a
browser URL that opens the diagram directly in app.diagrams.net. No MCP setup
required.
When you ask Claude Code to create a diagram, it will:
.drawio file — convert the Mermaid with the desktop CLI,
or write the XML directly (optionally running an ELK --layout pass so you
don't hand-place cells)url — compress the XML with Node.js's built-in zlib and open
https://app.diagrams.net/#create=... in your browser (keeps the
.drawio file as a local copy).drawio file as-is.drawio or url output, which Claude can produce with
no desktop appInside Claude Code, add this repository as a plugin marketplace, then install:
/plugin marketplace add jgraph/drawio-mcp
/plugin install drawio@drawio
The marketplace manifest lives at
.claude-plugin/marketplace.json at
the repo root and points at this directory.
To load the plugin directly from a local clone (e.g. while iterating on the skill):
claude --plugin-dir ./plugins/claude-code
The plugin loads the drawio skill from skills/drawio/SKILL.md — nothing else
needs to be copied into your ~/.claude/skills/ directory.
In most cases you don't type a command at all — just ask Claude Code for a
diagram ("draw a flowchart for user login") and the skill triggers automatically
from its description. To invoke it explicitly, Claude Code namespaces plugin
skills as /<plugin>:<skill>, so the command is /drawio:drawio:
/drawio:drawio create a flowchart for user login
(The first drawio is the plugin name, the second is the skill folder. Any
skills added to this plugin later — e.g. /drawio:search-shapes — share the
same prefix.)
By default, this writes a .drawio file and opens it in draw.io. To export to
an image format or open the diagram in the browser, mention the format in your
request:
/drawio:drawio png flowchart for user login → login-flow.drawio.png
/drawio:drawio svg: ER diagram for e-commerce → er-diagram.drawio.svg
/drawio:drawio pdf architecture overview → architecture-overview.drawio.pdf
/drawio:drawio url flowchart for user login → opens app.diagrams.net in browser, keeps login-flow.drawio locally
More examples:
/drawio:drawio sequence diagram for API auth
/drawio:drawio png class diagram for the models in src/
/drawio:drawio url architecture overview
| Format | Output | Editor | Dependency |
|---|---|---|---|
| (default) | .drawio file | draw.io Desktop, or the browser app | None |
png | .drawio.png (embedded XML) | draw.io Desktop, or any viewer | draw.io Desktop (for export) |
svg | .drawio.svg (embedded XML) | draw.io Desktop, or any viewer | draw.io Desktop (for export) |
pdf | .drawio.pdf (embedded XML) | draw.io Desktop, or any PDF viewer | draw.io Desktop (for export) |
url | Browser tab at app.diagrams.net + .drawio file kept locally | draw.io editor in browser | Node.js (bundled with Claude Code) |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub gao-hongnan/omniagents --plugin drawioPlugins from other owners that cover similar ground