dym-diagram-design-import-export-slash-commands

dym-diagram-design-import-export-slash-commands is a skill for Claude Code from Rheinmir/setup. It costs 73 tokens per session (2,554 once invoked), scanned A, original, MIT.

A set of chat commands for importing draw.io or Mermaid diagrams into HTML and exporting diagrams as SVG or PNG files. Mermaid is a text format for describing diagrams, while draw.io is a diagram editor.

In plain words
What is it for?
Use it to diagnose the environment, import diagrams from draw.io or Mermaid, export image files, and manage diagram profiles.
Why use it?
It gives diagram work a defined set of commands instead of requiring users to recreate import and export steps each time.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Good fit Use it to diagnose the environment, import diagrams from draw.io or Mermaid, export image files, and manage diagram profiles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands
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 Rheinmir/setup --skill dym-diagram-design-import-export-slash-commands
Clone the repo
git clone --depth 1 https://github.com/Rheinmir/setup

Made for: Claude Code.

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 dym-diagram-design-import-export-slash-commands

README.md
[![agentmods](https://agentmods.dev/badge/skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands/github.svg)](https://agentmods.dev/skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands)
Your own site
<a href="https://agentmods.dev/skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands/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 dym-diagram-design-import-export-slash-commands

Your own site · 80×15
<a href="https://agentmods.dev/skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-diagram-design-import-export-slash-commands.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,554 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.
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.00073 $0.02554
Opus 5.5 $0.00029 $0.01022
Sonnet 5.5 $0.00015 $0.00511
Haiku 4.5 $0.00007 $0.00255

Measured yesterday against content hash 9b8fc1de4d65, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dym-diagram-design-import-export-slash-commands 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 yesterday.

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.

.overstack/doyourmagic/diagram-design/skills/dym-diagram-design-import-export-slash-commands/SKILL.md · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill: dym-diagram-design-import-export-slash-commands — Slash command: import và export (gõ trong chat)

Vì sao dùng: đây là bề mặt bạn dùng hằng ngày. Năm slash command là wrapper mỏng — mỗi cái ủy quyền cho một file trong references/ làm nguồn chân lý, và tự nhắc "đừng cài lại logic ở đây".

File này sinh ra gì: file .html vẽ lại từ nguồn draw.io/Mermaid, và/hoặc .svg + .png xuất ra cạnh file nguồn.

Toàn bộ file này là câu gõ trong chat. Ở Claude Code có tiền tố /diagram-design:; ở Factory Droid và Pi thì bỏ tiền tố. Phần shell nằm ở 04 và 06.


1. Bản đồ 5 command

Command Ủy quyền cho reference Việc
/diagram-design:doctor references/doctor.md Chẩn đoán môi trường, read-only
/diagram-design:import-drawio references/import-drawio.md + output-spec.md Vẽ lại từ draw.io
/diagram-design:import-mermaid references/import-mermaid.md + output-spec.md Vẽ lại từ Mermaid
/diagram-design:export-diagram references/export.md Xuất .svg / .png
/diagram-design:profile references/profiles.md Quản lý profile (xem 02)

Ở Pi, 4 prompt template (prompts/doctor.md, export-diagram.md, import-mermaid.md, profile.md) là bản rút gọn của cùng những file này. Pi không có import-drawio — chỉ 4 prompt, so với 5 command của Claude Code.


2. /import-drawio — vẽ lại từ draw.io

/diagram-design:import-drawio platform.drawio
/diagram-design:import-drawio platform.drawio --size=slide-16x9 --detail=simplified --audience=executive
/diagram-design:import-drawio platform.drawio --detail=faithful --format=png --page=all

Nhận .drawio, .drawio.xml, .xml, .drawio.png, .drawio.svg.

Cờ đầy đủ

Cờ Giá trị Mặc định
--format html, svg, png, html+png html
--size 9 preset trong output-spec.md §2 doc-inline (viewBox 0 0 960 600)
--detail faithful (≤24 node, zone hoá), balanced (≤12), simplified (≤7) balanced
--audience engineer, mixed, executive mixed
--type ép một trong 39 loại thay vì để suy ra tự suy
--page chỉ số, tên trang, hoặc all (một file mỗi trang) file 1 trang tự chọn; nhiều trang thì hỏi
--variant light, dark, full light
--output đường dẫn gốc; đuôi được nối theo format cạnh file nguồn

Read the full file on GitHub · 193 lines

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. yesterday First seen · 193 lines · 0 tokens per session scan A 9b8fc1de4d65

Subscribe to this mod's changes

dym-diagram-design-import-export-slash-commands is a skill published in the GitHub repository Rheinmir/setup (11 stars, last pushed 20d ago), licensed MIT. It adds 73 tokens to every session and 2,554 once invoked, about $0.0003 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-11-07.

Related

dym-diagram-design-import-export-slash-commands compared with skills from other repositories

dym-diagram-design-import-export-slash-commands next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dym-diagram-design-import-export-slash-commandsRheinmir/setupSkill1120d agoMITA73Claude Code
webgl-holographic-foilnexu-io/open-designSkill107ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill107ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill107ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10k2d agoApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code