aio-mermaid

aio-mermaid is a skill for Claude Code from aiocean/claude-plugins. It costs 97 tokens per session (1,575 once invoked), scanned A, original, MIT.

A tool for turning Mermaid diagrams into shareable links. Mermaid is a text-based way to describe flowcharts, architecture diagrams, timelines, and other visuals.

In plain words
What is it for?
It helps create links for flowcharts, sequence diagrams, mind maps, timelines, git graphs, and other Mermaid 11 diagrams.
Why use it?
It removes the need to export diagrams as files or manually recreate them when you want to send one to someone.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the aio-diagramming plugin — 2 skills shipped together

Good fit It helps create links for flowcharts, sequence diagrams, mind maps, timelines, git graphs, and other Mermaid 11 diagrams.

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

Made for: Claude Code.

Or install aio-diagramming, the plugin that ships this one along with the rest of its 2 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 aio-mermaid

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/aiocean/claude-plugins/aio-mermaid"><img src="https://agentmods.dev/badge/skills/aiocean/claude-plugins/aio-mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,575 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.00097 $0.01575
Opus 5.5 $0.00039 $0.00630
Sonnet 5.5 $0.00019 $0.00315
Haiku 4.5 $0.00010 $0.00158

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

Security

Grade A, and why

aio-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 3mo 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/aio-diagramming/skills/aio-mermaid/SKILL.md · 179 lines

How it starts

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

MinimalMermaid URL Generator

Environment

  • bun: !which bun 2>/dev/null || echo "NOT INSTALLED"
  • node: !which node 2>/dev/null || echo "NOT INSTALLED"

Base URL: https://mimaid.aiocean.dev/

🚨 CRITICAL: NO MARKDOWN IN MERMAID CODE

Mermaid is NOT markdown. These will BREAK your diagram:

❌ **bold** - NEVER use double asterisks ❌ *italic* - NEVER use single asterisks ❌ _underscore_ - NEVER use underscores for emphasis ❌ [link](url) - NEVER use markdown links ❌ `code` - NEVER use backticks inside labels ❌ # headers - NEVER use hash headers

✅ CORRECT: A[User clicks button] ❌ WRONG: A[User **clicks** button] ❌ WRONG: A[User _clicks_ button] ❌ WRONG: A[See [docs](url)]

Use Mermaid v11 Syntax

Use flowchart NOT graph:

flowchart TD
    A[Start] --> B[End]

Use v11 shape syntax:

flowchart TD
    A@{ shape: stadium, label: "Terminal" }
    B@{ shape: diamond, label: "Decision" }
    C@{ shape: cyl, label: "Database" }
    A --> B --> C

Available shapes: rect, rounded, stadium, diamond, hex, cyl, doc, docs, delay, trap-t, trap-b, fork, cloud, odd

Use styling instead of markdown:

flowchart TD
    A[Important] --> B[Step]
    style A fill:#ff6b6b,stroke:#c92a2a,color:#fff

How It Works

MinimalMermaid stores diagram code in the URL hash using LZ-String compression:

  • Compression: LZString.compressToEncodedURIComponent(code)
  • Decompression: LZString.decompressFromEncodedURIComponent(hash)

Generating URLs

Use JavaScript to generate shareable URLs:

// Using lz-string library
const LZString = require("lz-string");

const mermaidCode = `flowchart TD
    A[Start] --> B{Decision}
    B -->|Yes| C[Do Something]
    B -->|No| D[Do Nothing]
    C --> E[End]
    D --> E`;

const compressed = LZString.compressToEncodedURIComponent(mermaidCode);
const url = `https://mimaid.aiocean.dev/#${compressed}`;
console.log(url);

Quick Generation (Bash)

Read the full file on GitHub · 179 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. 3mo ago First seen · 179 lines · 97 tokens per session scan A 9c40a75fe0bb

Subscribe to this mod's changes

aio-mermaid is a skill published in the GitHub repository aiocean/claude-plugins (4 stars, last pushed 4d ago), licensed MIT. It adds 97 tokens to every session and 1,575 once invoked, about $0.0004 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-08-31.

Related

aio-mermaid compared with skills from other repositories

aio-mermaid next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
aio-mermaidaiocean/claude-pluginsSkill44d agoMITA97Claude Code
plan-review-experienceduthaho/claudekitSkill984mo agoMITA121Claude Code
vellum-workspace-themevellum-ai/vellum-assistantSkill1.5k5d agoMITA72Claude Code, Codex
vellum-avatarvellum-ai/vellum-assistantSkill1.5k5d agoMITA24Claude Code, Codex
screen-annotationvellum-ai/vellum-assistantSkill1.5k5d agoMITA15Claude Code, Codex
check-cache-bugsFlorianBruniaux/claude-code-ultimate-guideSkill7.5ktodayCC-BY-SA-4.0A38Claude Code
eval-rulesFlorianBruniaux/claude-code-ultimate-guideSkill7.5ktodayCC-BY-SA-4.0A82Claude Code