drawio-export-tools

drawio-export-tools is a skill for Claude Code, Codex from rlespinasse/agent-skills. It costs 104 tokens per session (2,115 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 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,115 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.00104 $0.02115
Opus 5.5 $0.00042 $0.00846
Sonnet 5.5 $0.00021 $0.00423
Haiku 4.5 $0.00010 $0.00212

Measured 5d ago against content hash d0d8dab07084, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 5d 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 · 305 lines

How it starts

The opening of the file, as written. The whole thing — 305 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 output layout → Provide: [Docker Export Section]
  • Custom processing pipeline → Provide: [Advanced Section]
  • Building a tool → Provide: [Advanced Section] (Rust library part)

Q3: "Any special requirements?" (if relevant)

  • Output layout → Add: output folder and output mode
  • 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 output drawio-export --output exports --output-mode absolute
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)

Read the full file on GitHub · 305 lines

Files

What ships with it

4 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. 5d ago Changed · -91 lines · +15 tokens per session d0d8dab07084
  2. 1mo 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 (13 stars, last pushed today), licensed MIT. It adds 104 tokens to every session and 2,115 once invoked, about $0.0004 per session on Opus 5.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.

Related

Other skills, from other repositories

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.

calesthio/OpenMontage · 42 tokens

motion-graphics

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s…

calesthio/OpenMontage · 187 tokens

visual-style

Create, extract, and apply portable visual design systems via visual-style.md files. Use when: (1) Creating a visual-style.md design system from scratch, (2) Extracting a visual style from a website URL, video, or PDF brand guide, (3) Applying a visual style to HeyGen videos, HTML slides, Figma, or paper.design, (4)…

calesthio/OpenMontage · 136 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

calesthio/OpenMontage · 44 tokens

figma-connect

Figma-to-code bridge combining Figma MCP server tools with the Code Connect CLI for end-to-end design implementation workflows. Use this skill when implementing UI components from Figma design URLs, publishing Code Connect mappings to Figma Dev Mode, extracting design tokens from Figma variables, setting up Figma Code…

anton-abyzov/vskill · 223 tokens