zero2Agent is a tutorial repository that teaches software developers how to build AI agents, covering core concepts, model APIs, tools, memory, frameworks, implementation, and complete projects. It is intended for programmers learning agent engineering and for candidates preparing for agent-related technical interviews.
Borrowing it
Nothing to install: this file belongs to ranxi2001/zero2Agent. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ranxi2001/zero2Agent/main/.agents/skills/drawio-skill/SKILL.mdgit clone --depth 1 https://github.com/ranxi2001/zero2AgentWrote 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/ranxi2001/zero2agent/drawio-skill)<a href="https://agentmods.dev/skills/ranxi2001/zero2agent/drawio-skill"><img src="https://agentmods.dev/badge/skills/ranxi2001/zero2agent/drawio-skill/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/ranxi2001/zero2agent/drawio-skill"><img src="https://agentmods.dev/badge/skills/ranxi2001/zero2agent/drawio-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to high
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 →
- high Prompt Injection · line 135 Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00068 | $0.07301 |
| Opus 5.5 | $0.00027 | $0.02920 |
| Sonnet 5.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 2mo 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.
- 2mo ago First seen · 474 lines · 68 tokens per session scan A b4cd078c78b7
drawio-skill is a skill published in the GitHub repository ranxi2001/zero2Agent (1,026 stars, last pushed yesterday), licensed MIT. It adds 68 tokens to every session and 7,301 once invoked, about $0.0003 per session on Opus 5.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.
drawio-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drawio-skillranxi2001/zero2Agent | Skill | 1.0k | yesterday | MIT | A | 68 | Codex |
| ui-designginlix-ai/LangAlpha | Skill | 2.2k | yesterday | Apache-2.0 | A | 24 | Claude Code, Codex |
| html-artifactslangchain-ai/open-swe | Skill | 11k | today | MIT | A | 52 | Claude Code, Codex |
| browserwing-executorMemTensor/MemOS | Skill | 12k | 2d ago | Apache-2.0 | A | 42 | Claude Code, Codex |
| web-designPrism-Shadow/penguin-harness | Skill | 3.2k | yesterday | Apache-2.0 | A | 51 | Claude Code, Codex |
| a2uiPrism-Shadow/penguin-harness | Skill | 3.2k | yesterday | Apache-2.0 | A | 203 | Claude Code, Codex |
| bento-slidesPrism-Shadow/penguin-harness | Skill | 3.2k | yesterday | Apache-2.0 | A | 48 | Claude Code, Codex |