drawio-export-tools

drawio-export-tools is a skill for Claude Code, Codex from rlespinasse/agent-skills. It costs 89 tokens per session (2,397 once invoked), scanned A, original, MIT.

A decision guide for third-party tools that export diagrams from Draw.io, a diagramming application. It helps choose between Docker-based tools, a Rust-based exporter, and a GitHub Actions option.

In plain words
What is it for?
It helps select an export setup for local scripts, other CI/CD systems, or GitHub Actions, including options for custom names, selected pages, and pre- or post-processing.
Why use it?
The export tools serve different situations, so the guide narrows the choice based on where you work and whether you need a one-off export, batch processing, or a custom pipeline.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps select an export setup for local scripts, other CI/CD systems, or GitHub Actions, including options for custom names, selected pages, and pre- or post-processing.

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

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-export-tools

README.md
[![agentmods](https://agentmods.dev/badge/skills/rlespinasse/agent-skills/drawio-export-tools/github.svg)](https://agentmods.dev/skills/rlespinasse/agent-skills/drawio-export-tools)
Your own site
<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.

agentmods 80×15 button for drawio-export-tools

Your own site · 80×15
<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>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,397 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found 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.00089 $0.02397
Opus 5 $0.00044 $0.01198
Sonnet 5 $0.00018 $0.00479
Haiku 4.5 $0.00009 $0.00240

Measured 10d ago against content hash 2a372f3835e0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

skills/drawio-export-tools/SKILL.md · 396 lines

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

Read the full file on GitHub · 396 lines

Files

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.

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. 10d ago First seen · 396 lines · 89 tokens per session scan A 2a372f3835e0

Subscribe to this mod's changes

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.