drawio

drawio is a skill for Claude Code, Codex from AdamBien/airails. It costs 83 tokens per session (1,579 once invoked), scanned A, original, MIT.

A guide for creating draw.io overview diagrams in a consistent visual style. Draw.io is a diagramming tool used to show systems, components, relationships, and boundaries.

In plain words
What is it for?
Generating architecture, component, and system-overview diagrams as editable .drawio files.
Why use it?
It provides rules for valid diagram files, readable connections, consistent shapes, colors, and layout details.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/adambien/airails/drawio
Any agent
npx skills add AdamBien/airails --skill drawio
Clone the repo
git clone --depth 1 https://github.com/AdamBien/airails

Made for: Claude Code, 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/adambien/airails/drawio.svg)](https://agentmods.dev/skills/adambien/airails/drawio)
Your own site
<a href="https://agentmods.dev/skills/adambien/airails/drawio"><img src="https://agentmods.dev/badge/skills/adambien/airails/drawio.svg" alt="Measured on agentmods" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,579 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00083 $0.01579
Opus 5 $0.00042 $0.00790
Sonnet 5 $0.00017 $0.00316
Haiku 4.5 $0.00008 $0.00158

Measured 5d ago against content hash 78fac212f318, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

drawio 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 5d 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.

documentation/drawio/SKILL.md · 126 lines

How it starts

The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Draw.io Overview Diagrams

Generate valid draw.io XML and save as <name>.drawio using the Write tool.

Lines

  • rounded routing: edgeStyle=orthogonalEdgeStyle;rounded=1;
  • black stroke: strokeColor=#000000;
  • arrow at target: endArrow=block;endFill=1;
  • label without shadow: shadow=0; on the label cell
  • when an edge crosses container boundaries (source or target is nested in a container), pin explicit exitX/exitY on the source and entryX/entryY on the target so the orthogonal router does not take ugly paths; when multiple edges share a target, give each a distinct entry point to prevent overlap

Style

  • all nodes: rounded=1;whiteSpace=wrap;html=1;shadow=1;
  • corner radius: arcSize=10;
  • font: fontColor=#000000;fontSize=13;fontStyle=0;

BCE Shape Mapping

Element Shape Fill Border
Business Component (BC) rounded rectangle #dae8fc (light blue) #6c8ebf
Subsystem container container with title bar #f5f5f5 (light gray) #666666
External service rounded rectangle, dashed #fff2cc (light yellow) #d6b656
Boundary layer rounded rectangle #d5e8d4 (light green) #82b366
Control layer rounded rectangle #e1d5e7 (light purple) #9673a6
Entity layer rounded rectangle #fff2cc (light yellow) #d6b656

Color Palette

  • BC blue: fill #dae8fc, border #6c8ebf
  • Subsystem gray: fill #f5f5f5, border #666666
  • External yellow: fill #fff2cc, border #d6b656
  • Boundary green: fill #d5e8d4, border #82b366
  • Control purple: fill #e1d5e7, border #9673a6
  • Entity yellow: fill #fff2cc, border #d6b656

BCE Robustness Icons (built-in)

Drawio ships with the Jacobson BCE icons. Use these — never reconstruct them from primitives (lines + ellipses + triangles).

  • Boundary Object: shape=umlBoundary;whiteSpace=wrap;html=1;
  • Control Object: ellipse;shape=umlControl;whiteSpace=wrap;html=1;
  • Entity Object: ellipse;shape=umlEntity;whiteSpace=wrap;html=1;

Read the full file on GitHub · 126 lines

Files

What ships with it

1 file 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. 5d ago First seen · 126 lines · 83 tokens per session scan A 78fac212f318

Subscribe to this mod's changes

drawio is a skill published in the GitHub repository AdamBien/airails (48 stars, last pushed yesterday), licensed MIT. It adds 83 tokens to every session and 1,579 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

authoring-java-sdk-tasks

Writes Airflow task logic in Java, Kotlin, or any JVM language using the Airflow Java SDK. Use when the user wants to implement Airflow tasks in Java/JVM, asks about @Builder.Dag/@Builder.Task/@Builder.XCom, the Task/BundleBuilder interfaces, reading connections/variables/XComs from Java, the JSON-to-Java type…

astronomer/agents · 152 tokens

configuring-airflow-language-sdks

Configures Airflow to run language SDK tasks (Java, Go, and future native SDKs) — register a coordinator, map a queue to it, ensure the runtime/artifact on workers, and tune coordinator options. Use when the user wants Airflow to route a queue to a native-language coordinator, asks about the [sdk]…

astronomer/agents · 155 tokens

help

OrchestKit help directory with categorized skill listings. Use when discovering skills for a task, finding the right workflow, or browsing capabilities.

yonatangross/orchestkit · 30 tokens

jackson-3-migration

Migrer Jackson 2.x til Jackson 3.x (tools.jackson) i Kotlin/Java-prosjekter — automatisert OpenRewrite-pass pluss manuell Kotlin-spesifikk opprydding og verifisering.

navikt/copilot · 53 tokens

java-to-kotlin

Trinnvis Java-til-Kotlin-migrering med rammeverk-bevisste transformasjoner for Spring, Ktor og Nav-mønstre.

navikt/copilot · 35 tokens

js-gof

Apply Gang of Four and related design patterns in JavaScript and TypeScript. Use when implementing creational, structural, or behavioral patterns, or when the user mentions factories, builder, prototype, flyweight, singleton, object pool, adapter, wrapper, decorator, proxy, bridge, composite, facade, chain of…

metarhia/metaskills · 107 tokens