create-mermaid-visualization

create-mermaid-visualization is a skill for Claude Code from tomzx/agents. It costs 129 tokens per session (2,840 once invoked), scanned A, original, MIT.

A diagram-making skill that turns a description, code, data, or process notes into Mermaid diagrams. Mermaid is a text format for diagrams that can render in tools such as GitHub, GitLab, and VS Code.

In plain words
What is it for?
It helps create flowcharts, sequence diagrams, database relationship diagrams, architecture diagrams, timelines, and many other diagrams for documentation or planning.
Why use it?
It removes the need to learn each Mermaid diagram format and helps avoid syntax errors. It also checks the diagram before returning it when validation is available.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions OpenCode.

Good fit It helps create flowcharts, sequence diagrams, database relationship diagrams, architecture diagrams, timelines, and many other diagrams for documentation or planning.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tomzx/agents/create-mermaid-visualization
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 tomzx/agents --skill create-mermaid-visualization
Clone the repo
git clone --depth 1 https://github.com/tomzx/agents

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 create-mermaid-visualization

README.md
[![agentmods](https://agentmods.dev/badge/skills/tomzx/agents/create-mermaid-visualization/github.svg)](https://agentmods.dev/skills/tomzx/agents/create-mermaid-visualization)
Your own site
<a href="https://agentmods.dev/skills/tomzx/agents/create-mermaid-visualization"><img src="https://agentmods.dev/badge/skills/tomzx/agents/create-mermaid-visualization/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 create-mermaid-visualization

Your own site · 80×15
<a href="https://agentmods.dev/skills/tomzx/agents/create-mermaid-visualization"><img src="https://agentmods.dev/badge/skills/tomzx/agents/create-mermaid-visualization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,840 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.00129 $0.02840
Opus 5.5 $0.00052 $0.01136
Sonnet 5.5 $0.00026 $0.00568
Haiku 4.5 $0.00013 $0.00284

Measured 7d ago against content hash 681113a3d192, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-mermaid-visualization 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 7d 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.

skills/create-mermaid-visualization/SKILL.md · 192 lines

How it starts

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

Create Mermaid Visualization

Produces correct, validated Mermaid diagrams for any of the 30+ diagram types Mermaid supports. The skill selects the right diagram type from the user's intent, writes syntactically correct Mermaid using family-specific references, validates before delivering, and returns a diagram that renders in Markdown-aware viewers (GitHub, GitLab, VS Code, Obsidian, Notion).

Prerequisites

  • A subject to visualize: a description from the user, or source material (code, schema, process notes, data).
  • The diagram catalog below and the matching file under references/.
  • Optional: @mermaid-js/mermaid-cli (mmdc) for rendering validation. Check with command -v mmdc; if absent, use npx -y @mermaid-js/mermaid-cli or fall back to careful review.

Steps

1. Gather context

Ask for or infer:

  • What the diagram should show (process, structure, interactions, data, planning).
  • The audience and target (GitHub README, docs site, issue comment, presentation).
  • Any entities, steps, actors, or data values already known.
  • Layout preference if stated (top-down, left-right).

2. Select the diagram type

Match intent to type using the catalog below. When two types fit, prefer the one that renders more reliably in the target (stable types over -beta types) and answers the user's actual question (who interacts when, how things are structured, what the data shows).

3. Load the family reference

Read only the references/ file for the chosen family. Follow its syntax exactly; do not mix syntax between families.

4. Write the diagram

  • Declare the diagram type on the first line.
  • Use the exact keyword from the catalog, including -beta and -v2 suffixes.
  • Keep one concept per diagram; split large subjects into multiple focused diagrams.
  • Label nodes and edges in plain language, so the diagram needs no explanation.

5. Validate

Run validation before delivering. If mmdc is available (or via npx):

mmdc -i diagram.mmd -o /tmp/opencode/diagram.svg

Read the full file on GitHub · 192 lines

Files

What ships with it

7 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.

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. 7d ago Changed · +2 lines 681113a3d192
  2. 17d ago Changed · +1 lines b0d09a7c42f0
  3. 22d ago Changed · +9 lines d436f050ee1b
  4. 25d ago Changed 84a0c4b80e27
  5. 1mo ago First seen · 180 lines · 129 tokens per session scan A 243a0ee6bf02

Subscribe to this mod's changes

create-mermaid-visualization is a skill published in the GitHub repository tomzx/agents (13 stars, last pushed yesterday), licensed MIT. It adds 129 tokens to every session and 2,840 once invoked, about $0.0005 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-09-15.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens