Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add stark-ai-de/agent-skills --skill drawio-diagramsgit clone --depth 1 https://github.com/stark-ai-de/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/stark-ai-de/agent-skills/drawio-diagrams)<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/drawio-diagrams"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/drawio-diagrams/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/drawio-diagrams"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/drawio-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00046 | $0.02821 |
| Opus 5.5 | $0.00018 | $0.01128 |
| Sonnet 5.5 | $0.00009 | $0.00564 |
| Haiku 4.5 | $0.00005 | $0.00282 |
Grade A, and why
drawio-diagrams scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 119 lines — stays where its author put it; the contents beside it link to each section on GitHub.
drawio-diagrams
Goal
Produce, edit, verify, and deliver high-quality draw.io / diagrams.net diagrams as editable .drawio files. Prefer self-contained diagrams that work in both light and dark mode.
First response contract
For the first substantive response, expose the available presentation choices before authoring: design_profile (technical, operator-grid, isometric-air, neon-hub, aurora-story, or adapted-<short-name>), theme_mode (adaptive, light, or dark), animation (on, off, or preserve), and icon mode (official-first with semantic fallback for unresolved or generic nodes). State the selected profile and styling options, or ask only when the requested outcome is materially ambiguous; do not hide these choices until delivery.
Official icon and logo policy
Use official organization/product/service artwork first when available and supported by the notation; use a semantic glyph only for generic, vendor-neutral, or unresolved nodes. Preserve source artwork, brand colors, proportions, viewBox, and variant. Do not arbitrarily tint, recolor, monochromatize, invert, filter, crop, stretch, or restyle official marks; solve contrast with surrounding neutral surfaces. Record per-node substitutions and disclose any explicitly requested or necessary accessibility recolor.
When to use
Use this skill for requests to create, draw, generate, edit, repair, convert, verify, or export draw.io diagrams, including architecture diagrams, flowcharts, sequence diagrams, ER/UML/state diagrams, BPMN, SysML, ML/DL, swimlanes, timelines, network diagrams, C4-style diagrams, and icon-rich technical visuals.
When not to use
Do not use for bar/line/pie charts, data analysis plots, photo editing, artistic images, or non-editable illustrations unless the user explicitly wants a draw.io diagram.
Workflow selection
When invoked directly, always expose these finite workflows:
create: create a new diagram or convert supplied semantics into editable draw.io.edit-repair: edit, repair, or intentionally restyle an existing.drawiofile.review: read-only semantic, structural, validation, or visual assessment.export: export an already acceptable.drawiosource without redesigning it.
What ships with it
39 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 1.3 KB
- assets/openai-icon.png 56 KB
- references/delivery.md 11 KB
- references/design-profiles.md 14 KB
- references/diagram-type-playbook.md 12 KB
- references/examples/animation-invalid.drawio 1.3 KB
- references/examples/animation-off.drawio 1.3 KB
- references/examples/animation-on.drawio 1.4 KB
- references/examples/animation-static-dependency.drawio 1.3 KB
- references/examples/architecture-icons.drawio 6.7 KB
- references/examples/compressed-page-before.drawio 1.1 KB
- references/examples/crowded-routing-before.drawio 6.3 KB
- references/examples/example-broken.drawio 861 B
- references/examples/example-clean.drawio 2.0 KB
- references/examples/example-comment-broken.drawio 311 B
- references/examples/example-contrast-broken.drawio 1.3 KB
- references/examples/example-doctype-broken.drawio 301 B
- references/examples/example-processing-instruction-broken.drawio 308 B
- references/examples/existing-edit-after.drawio 2.6 KB
- references/examples/existing-edit-before.drawio 1.9 KB
- references/examples/icon-catalog-smoke.drawio 4.2 KB
- references/examples/multi-page.drawio 3.4 KB
- references/icon-catalog.md 26 KB
- references/layout-readability.md 6.6 KB
- references/routing-and-simplification.md 6.9 KB
- references/theming-dark-mode.md 7.0 KB
- references/toolset-setup.md 10 KB
- references/verification-checklist.md 10 KB
- references/workflow-details.md 15 KB
- references/xml-authoring.md 9.3 KB
- scripts/lib/transactional-render-output.mjs 20 KB runs code
- scripts/open-drawio-url.mjs 3.0 KB runs code
- scripts/preflight-drawio-xml.mjs 2.1 KB runs code
- scripts/probe-drawio-toolset.mjs 25 KB runs code
- scripts/rasterize-themed-svg.mjs 20 KB runs code
- scripts/render-drawio.mjs 48 KB runs code
- scripts/search-shapes.mjs 7.0 KB runs code
- scripts/validate_drawio.py 80 KB runs code
- scripts/validate-drawio-diagram-rules.mjs 36 KB runs code
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago Changed · +2 lines · -46 tokens per session b26b0cb35aa1
- 2mo ago Changed 9d52f3051a62
- 3mo ago First seen · 117 lines · 92 tokens per session scan A 5bf3605ea2df
drawio-diagrams is a skill published in the GitHub repository stark-ai-de/agent-skills (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 46 tokens to every session and 2,821 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
drawio-diagrams compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drawio-diagramsstark-ai-de/agent-skills | Skill | 8 | 2d ago | Apache-2.0 | A | 46 | Codex |
| xiaobei-skill-rebuild-image-in-powerpointxiao24bei/xiaobei-skill | Skill | 649 | 4d ago | Apache-2.0 | A | 62 | Codex |
| polish-sci-figureszhoy0409-debug/polish-sci-figures | Skill | 131 | 4d ago | MIT | A | 107 | Codex |
| univer-customize-themedream-num/skills | Skill | 83 | 12d ago | Apache-2.0 | A | 93 | Codex |
| setup-architecture-as-codejrjsmrtn/project-orchestration-skills | Skill | 19 | 3d ago | MIT | A | 43 | Claude Code |
| poster-generatorhowardz27/poster-generator-skill | Skill | 44 | 2mo ago | MIT | A | 54 | Claude Code, Codex |
| codedrobe-themeCodeDrobe/skills | Skill | 252 | 3mo ago | Apache-2.0 | A | 181 | Codex |