drawio-diagrams

drawio-diagrams is a skill for Codex from stark-ai-de/agent-skills. It costs 46 tokens per session (2,821 once invoked), scanned A, original, Apache-2.0.

A workflow for creating and checking editable diagrams in draw.io, also known as diagrams.net. It supports technical drawings such as flowcharts, architecture diagrams, sequences, data models, state diagrams, and network layouts.

In plain words
What is it for?
Use it to create or edit architecture, process, sequence, ER, UML, BPMN, swimlane, timeline, and similar technical diagrams. The output is an editable .drawio file with optional image or PDF exports.
Why use it?
It provides a way to deliver diagrams that can be opened and changed later instead of only as flat images. It also covers checking and exporting the diagrams as PNG, SVG, or PDF files.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to create or edit architecture, process, sequence, ER, UML, BPMN, swimlane, timeline, and similar technical diagrams. The output is an editable .drawio file with optional image or PDF exports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/stark-ai-de/agent-skills/drawio-diagrams
Install

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.

Any agent
npx skills add stark-ai-de/agent-skills --skill drawio-diagrams
Clone the repo
git clone --depth 1 https://github.com/stark-ai-de/agent-skills

Made for: Codex.

Wrote 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.

agentmods badge for drawio-diagrams

README.md
[![agentmods](https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/drawio-diagrams/github.svg)](https://agentmods.dev/skills/stark-ai-de/agent-skills/drawio-diagrams)
Your own site
<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.

agentmods 80×15 button for drawio-diagrams

Your own site · 80×15
<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>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,821 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 28 Sept 2026
  • Snyk pass 28 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 2mo ago against content hash b26b0cb35aa1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/lib/transactional-render-output.mjs, scripts/open-drawio-url.mjs, scripts/preflight-drawio-xml.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/stark-ai-developer/skills/drawio-diagrams/SKILL.md · 119 lines

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 .drawio file.
  • review: read-only semantic, structural, validation, or visual assessment.
  • export: export an already acceptable .drawio source without redesigning it.

Read the full file on GitHub · 119 lines

Files

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.

Changes

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.

  1. 2mo ago Changed · +2 lines · -46 tokens per session b26b0cb35aa1
  2. 2mo ago Changed 9d52f3051a62
  3. 3mo ago First seen · 117 lines · 92 tokens per session scan A 5bf3605ea2df

Subscribe to this mod's changes

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.

Related

drawio-diagrams compared with skills from other repositories

drawio-diagrams next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
drawio-diagramsstark-ai-de/agent-skillsSkill82d agoApache-2.0A46Codex
xiaobei-skill-rebuild-image-in-powerpointxiao24bei/xiaobei-skillSkill6494d agoApache-2.0A62Codex
polish-sci-figureszhoy0409-debug/polish-sci-figuresSkill1314d agoMITA107Codex
univer-customize-themedream-num/skillsSkill8312d agoApache-2.0A93Codex
setup-architecture-as-codejrjsmrtn/project-orchestration-skillsSkill193d agoMITA43Claude Code
poster-generatorhowardz27/poster-generator-skillSkill442mo agoMITA54Claude Code, Codex
codedrobe-themeCodeDrobe/skillsSkill2523mo agoApache-2.0A181Codex