mermaid

mermaid is a skill for Claude Code from quantumentangled-dev/ai-docs-plugin. It costs 34 tokens per session (868 once invoked), scanned A, a copy of mermaid, MIT.

A tool that turns written requirements into Mermaid diagram code. Mermaid is a text-based format for diagrams such as flowcharts, timelines, database relationships, and message sequences.

In plain words
What is it for?
Use it to create flowcharts, sequence, class, state, entity-relationship, Gantt, pie, mind-map, timeline, and other supported diagrams.
Why use it?
It removes the need to manually work out diagram syntax when you already know what relationships or steps you want to show.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the ai-docs plugin — 7 skills, 2 agents, 2 hooks shipped together

Good fit Use it to create flowcharts, sequence, class, state, entity-relationship, Gantt, pie, mind-map, timeline, and other supported diagrams.

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

Made for: Claude Code.

Or install ai-docs, the plugin that ships this one along with the rest of its 7 skills, 2 agents, 2 hooks.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/quantumentangled-dev/ai-docs-plugin/mermaid"><img src="https://agentmods.dev/badge/skills/quantumentangled-dev/ai-docs-plugin/mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 868 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 100% copy Near-identical to another mod 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.00034 $0.00868
Opus 5.5 $0.00014 $0.00347
Sonnet 5.5 $0.00007 $0.00174
Haiku 4.5 $0.00003 $0.00087

Measured 2mo ago against content hash 30ab197feb48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

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

Origin

This is a copy

100% identical to mermaid — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/mermaid/SKILL.md · 81 lines

How it starts

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

Mermaid Diagram Generator

Generate high-quality Mermaid diagram code based on user requirements.

Workflow

  1. Understand Requirements: Analyze user description to determine the most suitable diagram type
  2. Read Documentation: Read the corresponding syntax reference for the diagram type
  3. Generate Code: Generate Mermaid code following the specification
  4. Apply Styling: Apply appropriate themes and style configurations

Diagram Type Reference

Select the appropriate diagram type and read the corresponding documentation:

Type Documentation Use Cases
Flowchart flowchart.md Processes, decisions, steps
Sequence Diagram sequenceDiagram.md Interactions, messaging, API calls
Class Diagram classDiagram.md Class structure, inheritance, associations
State Diagram stateDiagram.md State machines, state transitions
ER Diagram entityRelationshipDiagram.md Database design, entity relationships
Gantt Chart gantt.md Project planning, timelines
Pie Chart pie.md Proportions, distributions
Mindmap mindmap.md Hierarchical structures, knowledge graphs
Timeline timeline.md Historical events, milestones
Git Graph gitgraph.md Branches, merges, versions
Quadrant Chart quadrantChart.md Four-quadrant analysis
Requirement Diagram requirementDiagram.md Requirements traceability
C4 Diagram c4.md System architecture (C4 model)
Sankey Diagram sankey.md Flow, conversions
XY Chart xyChart.md Line charts, bar charts
Block Diagram block.md System components, modules
Packet Diagram packet.md Network protocols, data structures
Kanban kanban.md Task management, workflows
Architecture Diagram architecture.md System architecture
Radar Chart radar.md Multi-dimensional comparison
Treemap treemap.md Hierarchical data visualization
User Journey userJourney.md User experience flows
ZenUML zenuml.md Sequence diagrams (code style)

Read the full file on GitHub · 81 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. 2mo ago First seen · 81 lines · 34 tokens per session scan A 30ab197feb48

Subscribe to this mod's changes

mermaid is a skill published in the GitHub repository quantumentangled-dev/ai-docs-plugin (6 stars, last pushed 5mo ago), licensed MIT. It adds 34 tokens to every session and 868 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to mermaid, differing in 0 lines, and is treated as a copy.

Related

mermaid compared with skills from other repositories

mermaid next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mermaidquantumentangled-dev/ai-docs-pluginSkill65mo agoMITA34Claude Code
webgl-holographic-foilnexu-io/open-designSkill106kyesterdayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill106kyesterdayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill106kyesterdayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k3d agoMITA52Codex
glance-canonical-layoutsandroid/skillsSkill10kyesterdayApache-2.0A56Claude Code
accessibilitymicrosoft/hve-coreSkill1.6kyesterdayMITA47Claude Code