diillson/chatcli/mermaid-diagrams

Claude Code and agent skill by diillson/chatcli

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create diagrams as code — flowcharts, sequence, class, ER, gantt, architecture — using Mermaid, and render them to SVG/PNG locally (mermaid-cli) or via the keyless Kroki service. Use when asked to "draw a diagram", "make a flowchart", "diagram this architecture", "sequence diagram of".

Install

npx vskill@latest install diillson/chatcli/mermaid-diagrams

SKILL.md

Mermaid Diagrams

Diagrams-as-code. Author Mermaid markup, then render it. Two render paths — prefer local, fall back to the keyless Kroki HTTP service.

1. Author the Mermaid

Write a .mmd file. Examples:

Flowchart:

flowchart TD
A[Client] --> B{Auth?}
B -- yes --> C[Serve]
B -- no --> D[401]

Sequence:

sequenceDiagram
User->>API: POST /login
API-->>User: 200 + token

Mermaid also covers classDiagram, erDiagram, gantt, stateDiagram-v2, mindmap.

2. Render

Local (preferred) — @mermaid-cli (mmdc):

mmdc -i diagram.mmd -o diagram.svg # or -o diagram.png -t dark -b transparent

Detect: command -v mmdc / Get-Command mmdc. Install: npm i -g @mermaid-js/mermaid-cli.

Keyless service (no install) — Kroki:

curl -s -X POST https://kroki.io/mermaid/svg -d @diagram.mmd -o diagram.svg

(Use @webfetch/curl. For private content prefer local rendering — Kroki receives the source.)

Rules

  • Keep the diagram readable: group/label nodes, limit to what answers the question.
  • For chat/messaging contexts, you can also just send the fenced ```mermaid block as text — many

clients render it. Render to an image when the user wants a file.

  • Report the output path after rendering.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/diillson/chatcli/mermaid-diagrams/badge)](https://verified-skill.com/skills/diillson/chatcli/mermaid-diagrams)

Something wrong with this skill or its page? Tell us.