Install any skill in seconds. Free to start, no credit card required.
Get Started Free →agents365-ai/mermaid-skill
Generate Mermaid diagrams (.mmd) and export to PNG/SVG/PDF using mmdc CLI or Kroki API. USE THIS SKILL when user mentions diagram, flowchart, sequence diagram, class diagram, ER diagram, state machine, architecture, visualize, git graph, 画图, 架构图, 流程图, 时序图, 类图, ER图, 甘特图, 状态机. PROACTIVELY USE when explaining ANY system with 3+ components, API flows, authentication sequences, class hierarchies, database schemas, or state machines. Supports 17+ diagram types with fully automatic layout.
Passed 15 of 18 test cases with the skill, and 7 of 18 without it.
and 7 more in the full report
9 fixed9 passed either way4 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 8 test cases the skill fixed. Same model, same prompt, with and without the skill.
During an interactive feedback loop where the user requests incremental visual edits to a diagram, how many review rounds are permitted before invoking the web editor handoff safety valve?
| Checked | Without skill | With skill |
|---|---|---|
| Triggers the handoff safety valve after 5 review rounds | Missed | Passed |
The instructions your model reads when the skill loads.
Generate .mmd text files and export to PNG/SVG/PDF using mmdc (local) or Kroki API (no install).
Key advantage: Text-based syntax with fully automatic layout — no x/y coordinates needed.
Use this skill for: diagrams-as-code with automatic layout (flowchart, sequence, class, state, ER, gantt, mindmap, architecture) — text source that lives in git and embeds in Markdown.
Do NOT use it — route elsewhere — for:
Option A: Local (mmdc) — also needs a headless Chrome (mmdc renders via Puppeteer)
npm install -g @mermaid-js/mermaid-cli
npx puppeteer browsers install chrome-headless-shell # required — mmdc has no bundled browser
mmdc --version
mmdc --versionsucceeds even with no Chrome installed, but every export then fails withCould not find Chrome. Install the browser above (or setPUPPETEER_EXECUTABLE_PATHto a system Chrome). If you can't, use Kroki (Option B) — it needs no browser.
CI / Docker: mmdc crashes with Running as root without --no-sandbox in containers. Pass the bundled puppeteer config (see scripts/puppeteer-config.json):
mmdc -p scripts/puppeteer-config.json -i diagram.mmd -o diagram.png
Option B: Kroki API (no install)
curl --version # Just need curl
test cases passed, vs 7 / 18 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.