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 agentmods add skills/ranxi2001/zero2agent/drawio-skillnpx skills add ranxi2001/zero2Agent --skill drawio-skillgit clone --depth 1 https://github.com/ranxi2001/zero2AgentWhat 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 | $0.00068 | $0.07301 |
| Opus 5 | $0.00034 | $0.03651 |
| Sonnet 5 | $0.00014 | $0.01460 |
| Haiku 4.5 | $0.00007 | $0.00730 |
Grade A, and why
drawio-skill scanned grade A with 1 finding 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
import zlib, base64, urllib.parse, sys Copies of this mod
1 near-identical copy found in the catalogue:
- drawio-skill — 97% identical, 2 lines differ
How it starts
The opening of the file, as written. The whole thing — 474 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Draw.io Diagrams
Overview
Generate .drawio XML files and export to PNG/SVG/PDF/JPG locally using the native draw.io desktop app CLI.
Supported formats: PNG, SVG, PDF, JPG — no browser automation needed.
PNG, SVG, and PDF exports support --embed-diagram (-e) — the exported file contains the full diagram XML, so opening it in draw.io recovers the editable diagram. Use double extensions (name.drawio.png) to signal embedded XML.
When to Use
Explicit triggers: user says "diagram", "visualize", "flowchart", "draw", "architecture diagram", "process flow", "ER diagram", "UML", "sequence diagram", "class diagram", "neural network", "model architecture"
Proactive triggers:
- Explaining a system with 3+ interacting components
- Describing a multi-step process or decision tree
- Comparing architectures or approaches side by side
Skip when: a simple list or table suffices, or user is in a quick Q&A flow
Prerequisites
The draw.io desktop app must be installed and the CLI accessible:
# macOS (Homebrew — recommended)
brew install --cask drawio
draw.io --version
# macOS (full path if not in PATH)
/Applications/draw.io.app/Contents/MacOS/draw.io --version
# Windows
"C:\Program Files\draw.io\draw.io.exe" --version
# Linux
draw.io --version
Install draw.io desktop if missing:
- macOS:
brew install --cask drawioor download from https://github.com/jgraph/drawio-desktop/releases - Windows: download installer from https://github.com/jgraph/drawio-desktop/releases
- Linux: download
.deb/.rpmfrom https://github.com/jgraph/drawio-desktop/releases
Workflow
Before starting the workflow, assess whether the user's request is specific enough. If key details are missing, ask 1-3 focused questions:
- Diagram type — which preset? (ERD, UML, Sequence, Architecture, ML/DL, Flowchart, or general)
- Output format — PNG (default), SVG, PDF, or JPG?
- Scope/fidelity — how many components? Any specific technologies or labels?
What ships with it
29 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.
- .github/workflows/publish-clawhub.yml 1.1 KB
- agents/openai.yaml 749 B
- assets/demo-erd.drawio 7.1 KB
- assets/demo-layered-cn.drawio 6.5 KB
- assets/demo-layered-cn.png 97 KB
- assets/demo-layered.drawio 6.9 KB
- assets/demo-layered.png 107 KB
- assets/demo-ml.drawio 4.5 KB
- assets/demo-ring-cn.drawio 4.8 KB
- assets/demo-ring-cn.png 79 KB
- assets/demo-ring.drawio 5.2 KB
- assets/demo-ring.png 79 KB
- assets/demo-sequence.drawio 6.2 KB
- assets/demo-star-cn.drawio 4.2 KB
- assets/demo-star-cn.png 88 KB
- assets/demo-star.drawio 4.6 KB
- assets/demo-star.png 95 KB
- assets/demo-uml-class.drawio 5.2 KB
- assets/microservices-example.drawio 12 KB
- assets/microservices-example.png 141 KB
- assets/workflow-cn.drawio 7.0 KB
- assets/workflow-cn.png 147 KB
- assets/workflow.drawio 7.0 KB
- assets/workflow.png 151 KB
- docs/index.html 19 KB
- docs/zh.html 19 KB
- README_CN.md 13 KB
- README.md 14 KB
- scripts/check-update.sh 1.6 KB runs code
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.
- 2d ago First seen · 474 lines · 68 tokens per session scan A b4cd078c78b7
drawio-skill is a skill published in the GitHub repository ranxi2001/zero2Agent (367 stars, last pushed 3d ago), licensed MIT. It adds 68 tokens to every session and 7,301 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
ui-design
Design-quality reference for financial-research visual output: typography, color, composition, and avoiding generic AI aesthetics.
architecture-diagram
Create a professional, dark-themed software/system architecture diagram as a single self-contained HTML file with inline SVG. Use when asked to visualize system components, layers, services, or how parts of a codebase fit together.
anti-slop-frontend
A mechanical, countable anti-slop checklist for AI-generated frontend. Catches the specific signatures an undirected model defaults to: AI-purple glows, Inter-everywhere, em-dashes, div-based fake screenshots, eyebrow-on-every-section, beige+brass "premium" palettes, generic Jane Doe / Acme data. Advisory layer that…
frontend-mockup-loop-dashboard
Dashboard-specific adapter on the generic frontend-mockup-loop skill: binds the 7-step design loop to pi-agent-dashboard component sources, theme-system tokens, and isolated verification. Use when designing/redesigning any pi-agent-dashboard client surface. Triggers: "design a dashboard screen", "mockup a dashboard…
popular-web-designs
54 real design systems (Stripe, Linear, Vercel) as HTML/CSS.
design-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.