mermaid-diagrams

mermaid-diagrams is a skill for Claude Code from matteotitta/genesys-skills. It costs 110 tokens per session (1,873 once invoked), scanned A, original, MIT.

A diagram-making workflow based on Mermaid, a text format for describing diagrams. It supports flowcharts, architecture maps, timelines, sequence diagrams, and other process visualizations.

In plain words
What is it for?
Use it to map processes, show system architecture, illustrate interactions between components, create timelines, and visualize priorities.
Why use it?
It turns written descriptions of systems and workflows into diagrams that can be checked and exported.

Skill for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: mentions CLAUDE.md.

Good fit Use it to map processes, show system architecture, illustrate interactions between components, create timelines, and visualize priorities.

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

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 mermaid-diagrams

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/matteotitta/genesys-skills/mermaid-diagrams"><img src="https://agentmods.dev/badge/skills/matteotitta/genesys-skills/mermaid-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 110 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,873 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 208
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
How audits are shown
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.00110 $0.01873
Opus 5 $0.00055 $0.00937
Sonnet 5 $0.00022 $0.00375
Haiku 4.5 $0.00011 $0.00187

Measured 12d ago against content hash 9117fe8ae77e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

mermaid-diagrams 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 12d 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/meta/infra/mermaid-diagrams/SKILL.md · 268 lines

How it starts

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

Mermaid diagrams

Create, validate, and export Mermaid diagrams for B2B SaaS workflows, architectures, and process visualizations.


Triggers

Invoke when user says:

  • "Create a diagram for [process]"
  • "Flowchart for [workflow]"
  • "Mermaid diagram of [system]"
  • "Architecture map for [product]"
  • "Process map for [workflow]"
  • "Visualize [process/system]"
  • "Export diagram to Figma"

Do NOT invoke when:

  • User wants a text-only process description (just write it)
  • User wants a Google Slides presentation (use create-gdrive)
  • User wants an infographic (use linkedin-infographics)

Supported diagram types

Type Mermaid syntax Best for
Flowchart graph TD / graph LR Processes, decision trees, user flows
Sequence sequenceDiagram API flows, user interactions, handoffs
Class classDiagram Data models, system architecture
State stateDiagram-v2 Status workflows, lifecycle stages
Gantt gantt Timelines, project plans, launch schedules
Mindmap mindmap Brainstorming, topic clustering
Quadrant quadrantChart Positioning maps, priority matrices

Process

Step 1: Identify diagram type

Match the user's need to the best Mermaid type:

  • "How does X flow?" → Flowchart
  • "What happens between A and B?" → Sequence diagram
  • "What are the states of X?" → State diagram
  • "Show the timeline for X" → Gantt chart
  • "Map out the concepts" → Mindmap
  • "Plot X vs Y" → Quadrant chart

Step 2: Draft the diagram

Write valid Mermaid syntax. Follow these rules:

  • Use descriptive node IDs (not single letters)
  • Keep labels concise (under 40 characters)
  • Use subgraphs to group related nodes
  • Apply consistent direction (TD for vertical, LR for horizontal)
  • Use appropriate link styles (solid for primary flow, dotted for optional)

Step 3: Validate

Before delivery:

  • Syntax renders without errors
  • All nodes are connected (no orphans)
  • Labels are readable at normal zoom
  • Direction is logical (top-to-bottom or left-to-right)
  • Subgraphs are labeled

Read the full file on GitHub · 268 lines

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. 12d ago First seen · 268 lines · 110 tokens per session scan A 9117fe8ae77e

Subscribe to this mod's changes

mermaid-diagrams is a skill published in the GitHub repository matteotitta/genesys-skills (36 stars, last pushed 1mo ago), licensed MIT. It adds 110 tokens to every session and 1,873 once invoked, about $0.0006 per session on Opus 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-30.

Related

Other skills, from other repositories

gingiris-b2b-growth

🇺🇸 B2B SaaS Growth — PLG vs SLG Playbook — Diagnose whether your problem is distribution, pricing, or PMF. PLG/SLG selection by ACV and sales cycle, the 5-stage path from $0 to $10M ARR, NRR discipline, affiliate & channel motion, enterprise tiering. Built from HeyGen, Deel, Vercel, Supabase, Snowflake patterns.…

Gingiris-1031/gingiris-skills · 484 tokens

gr-b2b-growth

A guide to growing a business-to-business software product from early user research to large-scale sales. B2B software is sold to companies rather than individual consumers.

Gingiris-1031/gingiris-skills · 83 tokens

go-to-market-playbook

A reusable Go-to-Market strategy template for both B2B and B2C launches. Covers positioning, messaging, ICP definition, channel selection, and competitive analysis frameworks. By @WeiYipei.

Gingiris-1031/gingiris-skills · 48 tokens

ui-ux-gtm

Design GTM UI/UX patterns — landing pages (hero, proof, CTA), forms (progressive disclosure, inline validation), signup flows (activation, time-to-value), dashboards (KPI hierarchy, trend indicators), and accessibility (WCAG 2.2 AA). Use when designing or auditing GTM tool interfaces, landing pages, conversion flows…

LeadMagic/gtm-skills · 96 tokens

design-system-gtm

Define brand-context for AI agents — visual identity systems, voice/tone guides, color palettes with hex/RGB/HSL, typography systems with font stacks and type scales, logo usage rules, asset templates, and brand guardrails. Use when creating a design system for AI-generated GTM content, ensuring brand consistency…

LeadMagic/gtm-skills · 90 tokens

graphic-design-gtm

Create GTM visual assets — social graphics, ad creatives, pitch deck design, one-pager layouts, email images, data visualization, and brand-consistent templates. Use when creating visual content for GTM, designing social media graphics, building ad creatives, or establishing visual identity for campaigns. Triggers on…

LeadMagic/gtm-skills · 115 tokens