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 Rheinmir/setup --skill dym-diagram-design-import-export-slash-commandsgit clone --depth 1 https://github.com/Rheinmir/setupWrote 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/rheinmir/setup/dym-diagram-design-import-export-slash-commands)<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.
<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>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.00073 | $0.02554 |
| Opus 5.5 | $0.00029 | $0.01022 |
| Sonnet 5.5 | $0.00015 | $0.00511 |
| Haiku 4.5 | $0.00007 | $0.00255 |
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.
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 ở04và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 |
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.
- yesterday First seen · 193 lines · 0 tokens per session scan A 9b8fc1de4d65
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.
dym-diagram-design-import-export-slash-commands compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dym-diagram-design-import-export-slash-commandsRheinmir/setup | Skill | 11 | 20d ago | MIT | A | 73 | Claude Code |
| webgl-holographic-foilnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | today | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 10k | 2d ago | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.6k | yesterday | MIT | A | 47 | Claude Code |