drawio-diagram
Skill by automateyournetwork
Generates network and architecture diagrams for draw.io. It writes native .drawio files, exports them to PNG, SVG or PDF, and opens diagrams in the browser editor. Aimed at network engineers who build topology visuals.
Install drawio-diagram
Built from the published package, never by AI.
git clone --depth 1 https://github.com/automateyournetwork/netclaw /tmp/netclaw && mkdir -p ~/.claude/skills && cp -r /tmp/netclaw/workspace/skills/drawio-diagram ~/.claude/skills/drawio-diagramRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/automateyournetwork/netclaw /tmp/netclaw && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/netclaw/workspace/skills/drawio-diagram ~/.gemini/antigravity-cli/skills/drawio-diagramAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The drawio-diagram skill generates network diagrams for draw.io. It writes native .drawio files from mxGraphModel XML and can export them to PNG, SVG or PDF with the diagram XML embedded, using the draw.io desktop CLI. It can also open diagrams in the draw.io browser editor through the @drawio/mcp MCP server, accepting Mermaid, XML or CSV input.
The skill includes guidance for physical topology, logical topology and security zone diagrams. It names related skills such as pyats-topology and netbox-reconcile for building diagrams from discovery data. It suits network engineers who want topology or architecture visuals saved as files or shared as links. The skill is licensed under Apache-2.0.
Written from the project's SKILL.md and checked against it.
What it can do
- open_drawio_mermaidOpens a Mermaid diagram in the draw.io browser editor and returns a URL.
- open_drawio_xmlOpens an mxGraphModel XML diagram in the draw.io browser editor.
- open_drawio_csvOpens a CSV diagram, useful for device inventories, in the browser editor.
- Native .drawio file generationWrites editable .drawio XML files to the current working directory.
- CLI exportExports diagrams to PNG, SVG or PDF with embedded diagram XML using the draw.io CLI.
What you need
- npx (Node.js) to run the @drawio/mcp server
- draw.io desktop app for CLI export
- Python 3 for the MCP call examples
Try asking
- Draw a network topology diagram for my core and distribution switches
- Export the login flow diagram as a PNG with embedded XML
- Create a security zones diagram with a firewall and DMZ web server
Good to know
- JPG export does not embed diagram XML.
- Mermaid and CSV input need server-side conversion and cannot be saved as native files.
- Browser mode returns a draw.io URL and needs the MCP server.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: workspace/skills/drawio-diagram/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to drawio-diagram
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
drawio-diagram: common questions
Can I still edit an exported PNG, SVG or PDF?
Yes. The skill exports these formats with the diagram XML embedded, so opening the file in draw.io recovers the editable diagram. JPG does not support embedded XML.
Does the skill work offline?
Native file mode works offline and in air-gapped environments because it needs no network. Browser mode uses the @drawio/mcp server and returns a shareable URL.
Can it build diagrams from network discovery data?
The skill suggests using pyats-topology to discover the network and then generating diagrams from that data. It also mentions netbox-reconcile for color-coding links by reconciliation status.
How do I install drawio-diagram?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is drawio-diagram free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is drawio-diagram safe to use?
It scores 72 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to drawio-diagram?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
