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 rlespinasse/agent-skills --skill drawio-export-toolsgit clone --depth 1 https://github.com/rlespinasse/agent-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/rlespinasse/agent-skills/drawio-export-tools)<a href="https://agentmods.dev/skills/rlespinasse/agent-skills/drawio-export-tools"><img src="https://agentmods.dev/badge/skills/rlespinasse/agent-skills/drawio-export-tools/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/rlespinasse/agent-skills/drawio-export-tools"><img src="https://agentmods.dev/badge/skills/rlespinasse/agent-skills/drawio-export-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 8 findings, 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 MCP Rug Pull · line 90 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 120 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 151 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 159 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 237 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 243 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium MCP Rug Pull · line 249 Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.Fix: Pin the image: image:tag or image@sha256:abc123
- medium Tool Misuse · line 249 Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
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.00089 | $0.02397 |
| Opus 5 | $0.00044 | $0.01198 |
| Sonnet 5 | $0.00018 | $0.00479 |
| Haiku 4.5 | $0.00009 | $0.00240 |
Grade A, and why
drawio-export-tools 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.
How it starts
The opening of the file, as written. The whole thing — 396 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Draw.io Export Tools - Optimized Decision Guide
Third-party ecosystem by @rlespinasse - NOT official Draw.io
Response Strategy
ALWAYS start with context questions, then provide ONLY relevant section.
Initial Response Pattern
1. Ask 2-3 targeted questions
2. Provide solution for their specific case (300-500 tokens)
3. Offer: "Need details on [X/Y/Z]? Just ask."
DO NOT dump all options unless explicitly requested.
Quick Decision Flow (USE THIS FIRST)
Ask these questions in order:
Q1: "Where are you exporting diagrams?"
- GitHub Actions → Provide: [GitHub Action Section]
- Local/Scripts → Continue to Q2
- Other CI/CD → Provide: [Docker Export Section]
Q2: "What's your goal?" (if not GitHub Actions)
- Simple one-off export → Provide: [Base Docker Section]
- Batch with custom naming → Provide: [Docker Export Section]
- Custom processing pipeline → Provide: [Advanced Section]
- Building a tool → Provide: [Rust Section]
Q3: "Any special requirements?" (if relevant)
- Custom naming → Add: output templates
- Specific pages → Add: page options
- Pre/post processing → Add: scripting examples
Tool Quick Reference (Keep This Loaded)
| Use Case | Tool | One-Liner |
|---|---|---|
| GitHub Actions | drawio-export-action |
uses: rlespinasse/drawio-export-action@v2 |
| Custom naming | drawio-export |
--output 'path/{basename}.{ext}' |
| Simple export | docker-drawio-desktop-headless |
-x diagram.drawio -f pdf |
| Custom tool | drawio-exporter |
Rust library |
Docs: All tools at https://github.com/rlespinasse/
Response Sections (Provide On-Demand)
[GitHub Action Section]
When to provide: User mentions GitHub Actions, CI/CD, or automated commits
What ships with it
1 file 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.
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 · 396 lines · 89 tokens per session scan A 2a372f3835e0
drawio-export-tools is a skill published in the GitHub repository rlespinasse/agent-skills (10 stars, last pushed 3d ago), licensed MIT. It adds 89 tokens to every session and 2,397 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-31.
Other skills, from other repositories
hig-inputs
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
brand-guidelines-anthropic
To access Anthropic's official brand identity and style resources, use this skill.
enhance-prompt
Transforms vague UI ideas into polished, Stitch-optimized prompts. Enhances specificity, adds UI/UX keywords, injects design system context, and structures output for better generation results.
gpt-taste
Use when generating elite GSAP-heavy frontend pages with strict AIDA structure, wide hero typography, and gapless bento grids.
hig-technologies
Check for .claude/apple-design-context.md before asking questions. Use existing context and only ask for information not already covered.
tailwind-design-system
Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.