drawio

drawio is a skill for Claude Code, Codex from sparklabx/drawio-ai-kit. It costs 102 tokens per session (1,444 once invoked), scanned A, original, MIT.

A skill for creating draw.io diagrams, including cloud architectures and business processes. Draw.io is a diagram format and editor; cloud architecture shows how hosted computing services connect, while a business-process diagram shows steps and roles.

In plain words
What is it for?
It helps make diagrams for AWS, Azure, Google Cloud, Databricks, networks, data pipelines, serverless systems, and role-based workflows such as BPMN or swimlanes.
Why use it?
It turns a described system or workflow into a structured diagram with placed boxes, connected arrows, and checks for a valid result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit It helps make diagrams for AWS, Azure, Google Cloud, Databricks, networks, data pipelines, serverless systems, and role-based workflows such as BPMN or swimlanes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sparklabx/drawio-ai-kit/drawio
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 sparklabx/drawio-ai-kit --skill drawio
Clone the repo
git clone --depth 1 https://github.com/sparklabx/drawio-ai-kit

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/sparklabx/drawio-ai-kit/drawio/github.svg)](https://agentmods.dev/skills/sparklabx/drawio-ai-kit/drawio)
Your own site
<a href="https://agentmods.dev/skills/sparklabx/drawio-ai-kit/drawio"><img src="https://agentmods.dev/badge/skills/sparklabx/drawio-ai-kit/drawio/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/sparklabx/drawio-ai-kit/drawio"><img src="https://agentmods.dev/badge/skills/sparklabx/drawio-ai-kit/drawio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,444 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.00102 $0.01444
Opus 5.5 $0.00041 $0.00578
Sonnet 5.5 $0.00020 $0.00289
Haiku 4.5 $0.00010 $0.00144

Measured 3d ago against content hash ace81e57ac18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3d 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.

skills/drawio/SKILL.md · 103 lines

How it starts

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

draw.io diagrams

You build the diagram by writing a small Node script that uses the drawio-ai engine. The engine places every box and routes every arrow. You only declare what is inside what.

Follow the steps in order. Do not skip a step. Each step names the exact file to read — read only that file, nothing else in the kit.

Step 0 — Check the CLI

command -v drawio-ai >/dev/null 2>&1 && drawio-ai root || echo "MISSING"

If it prints MISSING: stop. Tell the user to install it, then try again:

npm i -g drawio-ai-kit

Never run npm i -g yourself.

Step 1 — Understand the request

You need these 4 facts. Take them from the user's message first.

Fact Example If missing
Domain AWS · Azure · GCP · Databricks · multi-cloud · BPMN Ask.
What to draw "3-tier web app in one VPC, 2 AZs" · "order approval process" Ask.
Output path ./docs/arch.drawio Use <cwd>/<short-name>.drawio. Do not ask. The build script goes in the same folder.
Format .drawio (default) · also .png Use .drawio. Do not ask.

Rules for asking:

  • Ask one short message with all missing questions together. Offer choices, e.g. "Which cloud: AWS, Azure, or GCP?"
  • If the user said "just do it" or the request is already clear, do not ask. Pick the common choice and tell the user what you assumed at the end.
  • The source is a Terraform/Terramate repo? Follow workflows/from-iac.md before Step 2.

Step 2 — Pick the domain reference

Read exactly one row's files from this skill folder:

Domain Read Template to start from (drawio-ai scaffold --list shows all)
AWS references/aws-architecture.md build_vpc.mjs, build_serverless.mjs, build_pipeline.mjs, build_landingzone.mjs
Azure references/azure-architecture.md build_azure_vnet.mjs, build_azure_hub_spoke_lz.mjs
GCP references/gcp-architecture.md build_gcp_vpc.mjs, build_gcp_shared_vpc_landing_zone.mjs
Databricks references/databricks-architecture.md build_lakehouse.mjs, build_data_platform.mjs
Multi-cloud / hybrid the reference of each cloud involved build_multicloud.mjs, build_hybrid.mjs
BPMN / swimlane references/bpmn.md build_bpmn.mjs

Read the full file on GitHub · 103 lines

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 First seen · 103 lines · 102 tokens per session scan A ace81e57ac18

Subscribe to this mod's changes

drawio is a skill published in the GitHub repository sparklabx/drawio-ai-kit (657 stars, last pushed 4d ago), licensed MIT. It adds 102 tokens to every session and 1,444 once invoked, about $0.0004 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-10-13.

Related

Other skills, from other repositories

drawio-aws-reference

Produce AWS architecture diagrams as editable .drawio files using the AWS 2026 shape set (mxgraph.aws4 stencils), with verified stencil names and a validator. Use this whenever an AWS architecture diagram is requested, revised, or reviewed, including when the user only says "draw the architecture", "diagram this"…

patvillarroel/drawio-aws-reference · 119 tokens

architecture-diagrams

Turn a natural-language cloud architecture description into an editable diagram whose nodes are official vendor service icons (Azure, AWS, GCP, Kubernetes), exported as PDF, draw.io, or VSDX (Lucid-importable). Use when the user asks to draw, diagram, or visualize a cloud/system architecture, or to produce a…

bharathgnana/archdiagram · 85 tokens

VisioIntegration

Skill "VisioIntegration" from CloudDaddyZA/VisioIntegration, covering azure visio mcp — skill definition, metadata, when to use, trigger phrases and capabilities.

CloudDaddyZA/VisioIntegration · 0 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

notion

Notion workspace integration for searching pages, managing databases, creating postmortems, and exporting RCA findings.

Arvo-AI/aurora · 23 tokens

datadog

Datadog monitoring integration for querying logs, metrics, monitors, events, traces, hosts, and incidents during RCA investigations.

Arvo-AI/aurora · 28 tokens