mermaid

mermaid is a skill for Claude Code from ulises-jeremias/agent-toolkit. It costs 61 tokens per session (475 once invoked), scanned A, original, MIT.

A text-based diagram tool for creating flowcharts, sequence diagrams, class diagrams, database relationship diagrams, timelines, and Git graphs.

In plain words
What is it for?
Use it to document software architecture, data flows, threats, processes, and project timelines, then render diagrams as SVG or PNG.
Why use it?
It keeps diagrams as editable text in Markdown and Git, so they can be reviewed and updated with the codebase.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the agent-toolkit-complete plugin — 106 skills shipped together

Good fit Use it to document software architecture, data flows, threats, processes, and project timelines, then render diagrams as SVG or PNG.

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

Made for: Claude Code.

Or install agent-toolkit-complete, the plugin that ships this one along with the rest of its 106 skills.

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/ulises-jeremias/agent-toolkit/mermaid/github.svg)](https://agentmods.dev/skills/ulises-jeremias/agent-toolkit/mermaid)
Your own site
<a href="https://agentmods.dev/skills/ulises-jeremias/agent-toolkit/mermaid"><img src="https://agentmods.dev/badge/skills/ulises-jeremias/agent-toolkit/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/ulises-jeremias/agent-toolkit/mermaid"><img src="https://agentmods.dev/badge/skills/ulises-jeremias/agent-toolkit/mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 475 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 pass 7 Sept 2026
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.00061 $0.00475
Opus 5.5 $0.00024 $0.00190
Sonnet 5.5 $0.00012 $0.00095
Haiku 4.5 $0.00006 $0.00047

Measured 1mo ago against content hash bd9c1c623d0c, 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 1mo 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.

plugins/agent-toolkit-complete/.github/skills/mermaid/SKILL.md · 37 lines

What it actually says

Mermaid — Primary Diagram Renderer (WHAT)

Sources (2026-08-12): mermaid-js/mermaid https://github.com/mermaid-js/mermaid MIT (Mermaid live editor https://mermaid.live); NPM mermaid 10.x MIT + @mermaid-js/mermaid 10.9.7-preview.41 MIT; docs/ARCHITECTURE.md already authors Mermaid natively.

Pack: architecture core (architect + ADR + TRD + threat-model + mermaid (+ C4)) — vendor-neutral. cloud-architecture optional composes cloud-design-patterns + aws-well-architected-review + mermaid. See docs/architecture/research-385-diagram.md for Mermaid vs C4 vs PlantUML/Structurizr/Excalidraw decision per §44.

When to use

  • Need flowchart, sequence, class, ER, gantt, gitGraph — text → SVG/PNG.
  • Threat-model data-flow / sequence diagrams.

Instructions

  1. Author Mermaid block in Markdown: ```mermaid + flowchart TD / sequenceDiagram / classDiagram etc.
  2. Render via GitHub native or mmdc -i diagram.mmd -o diagram.svg (mermaid CLI).
  3. Collaborate with architect + threat-model (data-flow) and c4-model (C4-inspired via Mermaid).

Anti-patterns

  • Do not add Excalidraw/draw.io binary — use Mermaid text.
  • Do not require PlantUML infra for basic diagrams.
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. 1mo ago First seen · 37 lines · 61 tokens per session scan A bd9c1c623d0c

Subscribe to this mod's changes

mermaid is a skill published in the GitHub repository ulises-jeremias/agent-toolkit (19 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 475 once invoked, about $0.0002 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-04.

Related

Other skills, from other repositories

ui-ux-design

Create production-grade frontend interfaces with strong UX and visual craft. Use when building web components, pages, dashboards, forms, landing pages, modals, or any UI. Use when user says 'build a form', 'create a dashboard', 'design a component', 'make a landing page', or asks for UI/UX work. Use even when the user…

arvindand/agent-skills · 98 tokens

vibe-to-ui

Design systems, motion, mood boards, spatial layout, visual assets, Design Context profiles, and a global Inspiration Library from screenshots, website URLs, inspiration images, music, or fuzzy aesthetic intent. Classifies page archetype, explores 3 product-aware directions before locking tokens (unless exact…

MonkeyUI-dev/vibe-to-ui · 122 tokens

ndv-perceptual

Perceptual cognition module. Injects simultaneous read-as-rendered vision into any phase where visual or UX quality is a concern — implementation review, component assessment, UI audit steps within a larger workflow. Source: ndv-design (Pixel).

emb715/neurodiveragents · 54 tokens

design-logo

Generate a commercial-grade SVG logo for a project by reading its codebase and iterating with the user.

mcpware/logoloom · 0 tokens

figma

Read Figma design files, nodes, rendered images and comments via the Figma REST API. Use when the user mentions Figma, a figma.com file link, implementing a design as code, extracting design tokens / colors / spacing, or summarizing comments on a design.

AceDataCloud/Skills · 59 tokens

margaret-design

Figma bridge, both directions: generate a new Figma design or diagram from a prompt/spec, or pull an existing Figma file/selection into this codebase (as code, a design-context summary, a Code Connect link, or a motion implementation). Use when the user asks to create/generate something in Figma or FigJam, wants a…

sofiahernandes/margaret · 181 tokens