drawio-diagrams

drawio-diagrams is a skill for Codex from stark-ai-de/agent-skills. It costs 92 tokens per session (2,787 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 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,787 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.
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.00092 $0.02787
Opus 5 $0.00046 $0.01393
Sonnet 5 $0.00018 $0.00557
Haiku 4.5 $0.00009 $0.00279

Measured 3d ago against content hash 9d52f3051a62, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 3d 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 · 117 lines

How it starts

The opening of the file, as written. The whole thing — 117 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 · 117 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. 3d ago Changed 9d52f3051a62
  2. 12d 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 (5 stars, last pushed 2d ago), licensed Apache-2.0. It adds 92 tokens to every session and 2,787 once invoked, about $0.0005 per session on Opus 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

Other skills, from other repositories

design-token-component-contract

Repo-scoped workflow for mapping visual product specs into token and component contracts. Use only when this repository opts into docs-to-production harness execution.

ryne2010/harness-engineering-audit · 33 tokens

visual-target-ingest

Repo-scoped workflow for turning generated PNG/SVG visual targets into reviewable screen contracts. Use only when this repository opts into docs-to-production harness execution.

ryne2010/harness-engineering-audit · 36 tokens

product-usability

Repo-scoped workflow for product usability checks in docs-to-production implementation. Use only when this repository opts into docs-to-production harness execution.

ryne2010/harness-engineering-audit · 31 tokens

create-codex-theme

Create, customize, validate, locally install, and test theme packs for Codex Desktop from generated background artwork, a landscape image, brand palette, or style brief. Use when a user asks to make a Codex theme, generate or convert artwork into a Codex background/theme pack, prepare free or branded theme assets…

ViisOpen/get-codex-theme · 83 tokens

fd

Frontend design mode for strong visual direction, UI polish, redesigns, landing pages, and production-grade interface work, including shadcn-based surfaces. Use when the user says /fd or explicitly asks for better design, styling, layout, visual quality, or UX polish.

dgk-dev/dgk-gpt · 58 tokens

manage-codex-theme

Install, list, switch, pause, resume, diagnose, visually verify, restore, or uninstall published and local release-candidate themes for Codex Desktop with the Get Codex Theme CLI. Use when a user asks to manage an existing Codex theme, test an exact local pack before publishing, troubleshoot why a theme is not active…

ViisOpen/get-codex-theme · 92 tokens