AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Drawio

skill-ikkeseb-skills-drawio · by ikkeseb

Generate a native `.drawio` (mxGraphModel XML) diagram — flowcharts, architectures, ER/sequence/class diagrams, network topologies, process flows — that opens directly in app.diagrams.net. Invoke ONLY when the user explicitly asks for a draw.io / drawio / `.drawio` diagram or types `/drawio`; do NOT auto-invoke from soft cues like "show me" or "walk me through". For `.excalidraw` use the excalidr…

No reviews yet
0 installs
49 views
0.0% view→install

Install

$ agentstack add skill-ikkeseb-skills-drawio

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-ikkeseb-skills-drawio)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Drawio? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Draw.io Diagram Creator

Produce a native .drawio file (mxGraphModel XML) that opens directly in app.diagrams.net, fully editable. XML-only by design — no PNG/SVG/PDF export (that needs draw.io Desktop, intentionally unused here; export from the app via File → Export as).

> XML reference adapted from jgraph/drawio-mcp (Apache-2.0), fetched at runtime — not vendored.

Steps

  1. Fetch the reference first (WebFetch) — it carries the reasoning budget, rigid grid, styles, edge routing, swimlanes, layers, and dark mode, so you don't re-derive mechanics from memory (URL pinned to a commit so upstream drift can't silently change the skill): https://raw.githubusercontent.com/jgraph/drawio-mcp/2e49443f5109590aeebd30bd9ccd2e4c10c9ee44/shared/xml-reference.md
  2. Generate uncompressed mxGraphModel XML (raw XML opens fine — no base64/deflate packing needed).
  3. Write it to .drawio (lowercase-with-hyphens), in the cwd unless told otherwise.
  4. Report the absolute path and how to open it: drag the file onto app.diagrams.net, or File → Open from → Device.

Design quality

A diagram should argue, not just label boxes — strip the text and the structure alone should still carry the concept. Every real relationship gets an edge; position alone doesn't show a connection, so if A depends on B, draw the line. Build hierarchy through size and whitespace — make the important node bigger and give it room — not through decorative color or borders. And if an edge needs tortured routing (hand-placed waypoints, a curve bent around an obstacle) to reach its target, the layout is wrong, not the edge: move the node so the line runs straight.

Required skeleton


  
    
    
  

Both id="0" and id="1" are mandatory — a missing layer renders blank. Diagram cells use parent="1".

Well-formedness (any of these → blank or corrupt diagram)

  • No XML comments (``) anywhere in the file.
  • Escape & < > " in attribute values.
  • Unique id on every mxCell.
  • Every edge cell needs a child `` — a self-closing edge renders nothing.

Label placement on edges (common silent defect)

Two labelled edges leaving the same node (e.g. Yes/No off a decision) default to mid-edge labels that can stack and collide. Anchor each label along its edge instead: set x on the edge's own mxGeometry (relative="1"), where x runs -1 (at source) → 0 (middle) → 1 (at target) — e.g. ` pins the label near the source node. Add labelBackgroundColor=#ffffff;` to the edge style so labels stay legible where they cross lines.

Visual verification (optional — catches what XML review can't)

The well-formedness checks above are the cheap tier (no browser). Routing and label defects, though, never show up in the XML — only in the render — and rendering costs a Chromium cold-start, so reach for it on complex or edge-label-heavy diagrams, not every file. When Playwright + Chromium are available, render with the official viewer (same engine as app.diagrams.net):

  • Build an HTML page with

","page":N,"resize":true,"nav":false}'> and ``. Escape the XML for a JSON string inside a single-quoted attribute (double quotes and single quotes especially).

  • Load it via Playwright page.setContent(html, {waitUntil: 'networkidle'}) so the CDN script

loads, wait for .mxgraph svg, screenshot that svg element, then LOOK at the PNG.

  • Gotchas: don't give the div display:inline-block (zero-width container → viewer renders

nothing); a transparent body + omitBackground yields a transparent PNG; deviceScaleFactor sets the export resolution. The viewer JS loads from the CDN at runtime — pin a version (or vendor the file / add Subresource Integrity) if you need reproducibility, offline runs, or supply-chain safety.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.