drawio

drawio is a skill for Claude Code, Codex from hdu-ailab/EasyResearch. It costs 84 tokens per session (3,545 once invoked), scanned A, a copy of drawio, MIT.

A tool for creating and editing draw.io diagrams, which are visual documents for systems, processes, relationships, and organizational structures. It uses structured YAML files and supports common diagram formats.

In plain words
What is it for?
Use it for architecture diagrams, network maps, flowcharts, UML and entity-relationship diagrams, org charts, and conversions from Mermaid or CSV.
Why use it?
It provides a repeatable way to create, validate, import, and export diagrams instead of editing every shape by hand. It also makes the diagram source easier to maintain.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: names the AskUserQuestion tool.

Good fit Use it for architecture diagrams, network maps, flowcharts, UML and entity-relationship diagrams…

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

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/hdu-ailab/easyresearch/drawio.svg)](https://agentmods.dev/skills/hdu-ailab/easyresearch/drawio)
Your own site
<a href="https://agentmods.dev/skills/hdu-ailab/easyresearch/drawio"><img src="https://agentmods.dev/badge/skills/hdu-ailab/easyresearch/drawio.svg" alt="Measured on agentmods" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,545 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 91% copy Near-identical to another mod 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.00084 $0.03545
Opus 5 $0.00042 $0.01773
Sonnet 5 $0.00017 $0.00709
Haiku 4.5 $0.00008 $0.00354

Measured 6d ago against content hash 912e0c8c115a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

Origin

This is a copy

91% identical to drawio — 7 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

src/skills/drawio/SKILL.md · 158 lines

How it starts

The opening of the file, as written. The whole thing — 158 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 .drawio plus 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.svg on 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 by npx; see references/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.

Read the full file on GitHub · 158 lines

Files

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.

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. 6d ago First seen · 158 lines · 84 tokens per session scan A 912e0c8c115a

Subscribe to this mod's changes

drawio is a skill published in the GitHub repository hdu-ailab/EasyResearch (11 stars, last pushed 2d ago), licensed MIT. It adds 84 tokens to every session and 3,545 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. It is 91% identical to drawio, differing in 7 lines, and is treated as a copy.

Related

Other skills, from other repositories

research-framework-figure

A generator for editable research diagrams that show proposed relationships between concepts, such as one factor affecting another through an intermediate factor. It produces SVG and PowerPoint files, which are vector formats that can be edited without treating the figure as a fixed image.

Nero1688/claude-academic-skills · 546 tokens

ui-ux-pro-max

Use when designing, implementing, reviewing, or improving web and mobile UI/UX. Consults searchable design data for product patterns, styles, palettes, typography, accessibility, charts, icons, and common frontend stacks.

sidiangongyuan/codex-skills-library · 49 tokens

academic-poster

A guide for turning a research paper or abstract into a printable academic conference poster. It covers large single-page layouts, including traditional columns and a design that enlarges the main finding.

Nero1688/claude-academic-skills · 298 tokens

paper-visual-craft

Use when designing, redrawing, or validating research-paper figures and tables, including Matplotlib plots, LaTeX tables, benchmarks, captions, legends, annotations, color, and typography. Preserves exact evidence and checks rendered PDFs for clipping, overlap, and readability.

sidiangongyuan/codex-skills-library · 60 tokens

paper-framework-figure-studio-pro

Use when planning a source-grounded method overview, architecture, pipeline, system/data-flow, mechanism, or agent-workflow figure for a CS or deep-learning paper. Produces an editable figure brief before image generation or manual redrawing; not for plots, tables, or general prose.

sidiangongyuan/codex-skills-library · 65 tokens

report-slides

Use when creating presentations and research reports, especially diagram-heavy decks with architecture, flowcharts, timelines, charts, conceptual illustrations, or editable PPTX output.

zi-yue-1129/research-lab-skills · 35 tokens