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 bestdeejay-design/agent-skills --skill mermaid-to-imagegit clone --depth 1 https://github.com/bestdeejay-design/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/bestdeejay-design/agent-skills/mermaid-to-image)<a href="https://agentmods.dev/skills/bestdeejay-design/agent-skills/mermaid-to-image"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/mermaid-to-image/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/bestdeejay-design/agent-skills/mermaid-to-image"><img src="https://agentmods.dev/badge/skills/bestdeejay-design/agent-skills/mermaid-to-image.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.00160 | $0.01097 |
| Opus 5.5 | $0.00064 | $0.00439 |
| Sonnet 5.5 | $0.00032 | $0.00219 |
| Haiku 4.5 | $0.00016 | $0.00110 |
Grade A, and why
mermaid-to-image 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 2mo 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 — 79 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mermaid To Image
Рендер Mermaid-диаграмм из текста
.mmdв файлы PNG/SVG.
Загружай этот скилл когда нужно превратить Mermaid-диаграмму в картинку: для README, документации, презентаций, бейджей или вложений в отчёты.
🎯 When to use
Use this skill when:
- Есть
.mmd-файл или текст Mermaid и нужен PNG/SVG-файл - Нужно вставить диаграмму в README/вики/презентацию (у рендер-плагинов GitHub нет PNG)
- Просят «отрендерить диаграмму», «mermaid в png», «схему в картинку»
- Нужна статичная картинка для экспорта (не интерактивная mermaid.live)
Do NOT use when:
- Диаграмма нужна только в Markdown-исходнике — GitHub рендерит Mermaid сам
- Нужны диаграммы из текстового описания без Mermaid-кода — это
diagram-maker - Нужны диаграммы архитектуры AWS/GCP — отдельный рендер в roadmap
📦 Files
SKILL.md— этот файлscripts/mermaid_to_image.py— рендерер .mmd → PNG/SVG (Python 3 stdlib)
🧰 Usage
# Файл → SVG (по умолчанию):
python3 skills/mermaid-to-image/scripts/mermaid_to_image.py -i diagram.mmd -o diagram.svg
# Файл → PNG:
python3 skills/mermaid-to-image/scripts/mermaid_to_image.py -i diagram.mmd -o diagram.png
# Из stdin (текст прямо в пайплайне):
cat diagram.mmd | python3 mermaid_to_image.py --stdin -o out.svg
# С фоном и масштабом:
python3 mermaid_to_image.py -i d.mmd -o d.png --bg white --scale 3
# В stdout (для программного использования):
python3 mermaid_to_image.py -i d.mmd --stdout > d.svg
🧭 Движки рендера
| Движок | Как включить | Когда выбирать |
|---|---|---|
mmdc (mermaid-cli) |
--engine mmdc (npm i -g @mermaid-js/mermaid-cli) |
офлайн, приватные схемы, большие диаграммы, точный контроль |
ink (mermaid.ink) |
--engine ink |
без установки, быстрый старт; PNG отдаётся как JPEG-образ |
По умолчанию --engine auto: используется mmdc, если он установлен, иначе ink.
🔬 Проверка результата
- SVG: файл начинается с
<svg, валиден для вставки в Markdown/HTML. - PNG:
file out.pngпоказывает «JPEG image data» — это нормально для mermaid.ink (API отдаёт JPEG-кодированный образ); визуально проверьте открытием. - При ошибке сети/API скрипт пишет причину в stderr и завершается с кодом 2.
What ships with it
2 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.
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.
- 2mo ago Changed · +8 lines b9b95b598d55
- 3mo ago First seen · 71 lines · 160 tokens per session scan A cd8d8bcaa0b0
mermaid-to-image is a skill published in the GitHub repository bestdeejay-design/agent-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 160 tokens to every session and 1,097 once invoked, about $0.0006 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.
mermaid-to-image compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mermaid-to-imagebestdeejay-design/agent-skills | Skill | 5 | 2mo ago | MIT | A | 160 | Claude Code |
| cmux-custom-sidebarmanaflow-ai/cmux | Skill | 29k | today | none | A | 85 | Claude Code, Codex |
| archifytt-a1i/archify | Skill | 103k | yesterday | Apache-2.0 | A | 205 | Claude Code, Codex |
| diagrambacknotprop/plannotator | Skill | 16k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| refitYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 61 | Claude Code |
| ketchup-videoYeachan-Heo/oh-my-claudecode | Skill | 41k | today | MIT | A | 40 | Claude Code |
| Excalidrawdanielmiessler/LifeOS | Skill | 21k | 14d ago | MIT | A | 131 | Claude Code, Codex |