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 bahayonghang/drawio-skills --skill drawiogit clone --depth 1 https://github.com/bahayonghang/drawio-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/bahayonghang/drawio-skills/drawio)<a href="https://agentmods.dev/skills/bahayonghang/drawio-skills/drawio"><img src="https://agentmods.dev/badge/skills/bahayonghang/drawio-skills/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.
<a href="https://agentmods.dev/skills/bahayonghang/drawio-skills/drawio"><img src="https://agentmods.dev/badge/skills/bahayonghang/drawio-skills/drawio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Rogue Agent · line 78 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00084 | $0.03739 |
| Opus 5 | $0.00042 | $0.01869 |
| Sonnet 5 | $0.00017 | $0.00748 |
| Haiku 4.5 | $0.00008 | $0.00374 |
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 10d 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- drawio — 91% identical, 7 lines differ
How it starts
The opening of the file, as written. The whole thing — 163 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Draw.io Base Skill
Create, edit, validate, replicate, import, and export draw.io diagrams through a YAML-first offline workflow. It is the single maintained base for sibling overlays and owns the local CLI, schemas, references, themes, palettes, examples, style presets, and export helpers.
Scope
Use this base skill for general draw.io work: software/system architecture; network topologies and infrastructure maps; flowcharts, swimlanes, process maps, and org charts; UML class/sequence/state/ER; Mermaid and CSV conversion; structured redraw and non-academic replication; formula-bearing technical diagrams; .drawio import, sidecar export, and local validation.
For paper, thesis, IEEE, journal, manuscript, or publication-ready figure requests, route to the sibling drawio-academic-skills overlay; the base does not apply academic publication gates. Without the overlay, render the local YAML bundle but report that overlay policy was not applied.
Runtime Stack
Use the lightest path that satisfies the request:
- Offline Authoring Path (default) — the YAML spec generates the final
.drawioplus the default delivered image, a 300dpi PNG via draw.io Desktop (standalone SVG fallback). - Desktop-Enhanced Export — 300dpi PNG default, plus PDF/JPG or embedded
.drawio.svgon explicit request. - Live Refinement Backend (optional) — browser refinement provider only; the offline bundle remains canonical. Provisioned by the tracked
.mcp.json(pinned@next-ai-drawio/[email protected], fetched over the network bynpx; seereferences/docs/mcp-tools.md); offline authoring never reads it. - Direct XML Exception — tiny one-off or raw mxGraph handoff when exact XML control is the real requirement.
The optional MCP/live backend is a refinement provider only. Never required for normal authoring, editing, import, replication, or export.
Task Routing
Choose the route first, then load only that route's references. All paths below live under references/; the reusable YAML example catalog is references/examples/README.md.
What ships with it
60 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.
- .mcp.json 133 B
- agents/interface.yaml 1.5 KB
- agents/openai.yaml 1.5 KB
- assets/catalog/ai-icons.json.gz 241 KB
- assets/catalog/shape-catalog.json.gz 59 KB
- assets/catalog/shape-index.json.gz 426 KB
- assets/examples/login-flow-test.drawio 6.6 KB
- assets/examples/login-flow.drawio 6.6 KB
- assets/examples/microservices.drawio 5.4 KB
- assets/examples/neural-network.drawio 4.7 KB
- assets/licenses/architecture-diagram-generator-MIT.txt 1.3 KB
- assets/licenses/drawio-mcp-shape-index-Apache-2.0.txt 381 B
- assets/licenses/lobe-icons-MIT.txt 1.3 KB
- assets/licenses/lucide-ISC.txt 1.9 KB
- assets/palettes/c4-blue.json 1.4 KB
- assets/palettes/cloud-aws.json 1.0 KB
- assets/palettes/drawio-classic.json 1.2 KB
- assets/palettes/ieee-bw.json 1.1 KB
- assets/palettes/ieee-color.json 601 B
- assets/palettes/journal-jama.json 741 B
- assets/palettes/journal-npg.json 863 B
- assets/palettes/matlab-lines.json 777 B
- assets/palettes/morandi.json 1.2 KB
- assets/palettes/okabe-ito.json 778 B
- assets/palettes/seaborn-colorblind.json 878 B
- assets/palettes/tol-bright.json 704 B
- assets/palettes/tol-high-contrast.json 742 B
- assets/palettes/tol-light-fill.json 1.3 KB
- assets/palettes/tol-muted.json 792 B
- assets/schemas/graph-projection.schema.json 4.5 KB
- assets/schemas/spec.schema.json 20 KB
- assets/themes/academic-color.json 6.4 KB
- assets/themes/academic.json 5.2 KB
- assets/themes/arch-dark.json 5.6 KB
- assets/themes/blueprint.json 5.6 KB
- assets/themes/dark-luxury.json 5.6 KB
- assets/themes/dark-terminal.json 5.5 KB
- assets/themes/dark.json 4.8 KB
- assets/themes/high-contrast.json 4.8 KB
- assets/themes/nature.json 4.8 KB
- assets/themes/notion-clean.json 5.5 KB
- assets/themes/tech-blue.json 4.8 KB
- CHANGELOG.md 13 KB
- evals/ai-icon-catalog-cases.json 3.0 KB
- evals/baseline-prompts.json 5.8 KB
- evals/darwin-results.tsv 1.4 KB
- evals/evals.json 13 KB
- evals/evidence/ai-icon-catalog-desktop.json 3.8 KB
- evals/fixtures/ai-icons-advanced-svg.yaml 587 B
- evals/fixtures/ai-icons-cjk-agent-rag.yaml 1.2 KB
- evals/fixtures/ai-icons-core-aliases.yaml 1.2 KB
- evals/fixtures/ai-icons-current-color.yaml 575 B
- evals/fixtures/ai-icons-gradients.yaml 573 B
- evals/fixtures/import-simple-compressed.drawio 1.0 KB
- evals/fixtures/import-simple.drawio 1.8 KB
- evals/fixtures/industrial-architecture.yaml 6.8 KB
- evals/fixtures/replicate-academic-highlight.svg 1.1 KB
- evals/fixtures/replicate-brand-architecture.svg 1.2 KB
- evals/fixtures/replicate-warm-approval.svg 1.1 KB
- evals/fixtures/vision-tall-workflow.yaml 1.0 KB
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.
- 10d ago First seen · 163 lines · 84 tokens per session scan A 8f81c64e5bfe
drawio is a skill published in the GitHub repository bahayonghang/drawio-skills (281 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 3,739 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.
Other skills, from other repositories
oci-drawio-icon-native
Build and validate OCI draw.io diagrams in icon-native mode so they never depend on mxgraph.oci. runtime libraries. Use when authoring or fixing Oracle Cloud architecture diagrams in draw.io that must render portably.
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.
visual-plan
Turn ordinary text plans into rich interactive visual plans with diagrams, file maps, annotated code, open questions, and UI/prototype review when useful.
visual-edit
Open a running local app in Design overview mode as URL-backed iframe screens for visual editing, flow review, duplication, and route-state exploration. Use when the user asks to inspect, compare, or edit a real local app visually in Design.
display-glasses-with-jetpack-compose-glimmer
Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…
baseline-ui
Quickly deslop UI code by fixing spacing, hierarchy, typography, and small layout issues. Use when the interface needs a fast cleanup or polish pass.