uml-mcp: Skill for Claude Code

.github/skills/uml-mcp-mermaid/SKILL.md

uml-mcp-mermaid is a skill for Claude Code, Codex from antoinebou12/uml-mcp. It costs 23 tokens per session (453 once invoked), scanned A, original, MIT.

A diagram-rendering guide for Mermaid, a text format for drawing flowcharts and interaction sequences. It helps turn system relationships and message flows into readable SVG images.

In plain words
What is it for?
Use it to create flowcharts and sequence diagrams with stable labels, themes, links, and separate overview and detail views.
Why use it?
It reduces layout and syntax mistakes when converting architecture details into diagrams, especially when diagrams are large or have branches.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

This is antoinebou12/uml-mcp's own configuration. It tells Claude Code and Codex how to work on uml-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything uml-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to antoinebou12/uml-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/antoinebou12/uml-mcp/main/.github/skills/uml-mcp-mermaid/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/antoinebou12/uml-mcp

Made for: Claude Code, Codex.

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 uml-mcp-mermaid

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/uml-mcp-mermaid"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/uml-mcp-mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 453 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.00023 $0.00453
Opus 5.5 $0.00009 $0.00181
Sonnet 5.5 $0.00005 $0.00091
Haiku 4.5 $0.00002 $0.00045

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

Security

Grade A, and why

uml-mcp-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 5d 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.

.github/skills/uml-mcp-mermaid/SKILL.md · 42 lines

What it actually says

Complex Mermaid

Follow skill://uml-mcp-diagrams/SKILL.md. Confirm Mermaid in the live catalog. Build a component and directed-edge inventory before translating another format. Use short stable IDs and quoted human labels; keep all relationships unless the user explicitly narrows the view. Split large graphs into overview/detail views.

flowchart LR
  web["Frontend Web App"] -->|"REST / JSON"| api["API Gateway"]
  api -->|"API requests"| backend["Backend Services"]
  backend -->|"CRUD"| db[("Primary Database")]

For sequences, put every participant, message, activation and control statement on its own line. Balance activate/deactivate and alt/end. Validate with validate_uml(..., strict=true) before rendering. Label yes/no decision branches; use subgraphs for boundaries rather than duplicating nodes. Escape punctuation inside labels instead of changing the architecture to satisfy the parser.

Use generate_uml_image with diagram_type: mermaid, output_format: svg for MCP Apps. Kroki is the default service; a Mermaid request alone does not select mermaid.ink. Use a catalog-supported theme and replace the previous theme when re-rendering, avoiding conflicting init and frontmatter theme declarations.

Check readable labels and edge endpoints in the actual SVG. When only a compact PNG is initially available, let the App retrieve full SVG rather than enlarging the raster. Inspect the new result after changing format or theme. Use the returned Mermaid Live playground link; never fabricate its encoded state. In plain clients, provide one image and the returned links. In Apps, keep the chat confirmation short and use the viewer's source and download controls.

State diagrams and mindmaps need explicit label checks. Mermaid may encode labels as HTML-backed foreignObject elements. The server and viewer convert these to inert SVG text for portability. Check label strings in the displayed result and exported SVG/PNG; visible shapes without text fail acceptance.

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. 5d ago First seen · 42 lines · 23 tokens per session scan A 351a69b9f9ca

Subscribe to this mod's changes

uml-mcp-mermaid is a skill published in the GitHub repository antoinebou12/uml-mcp (109 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 453 once invoked, about $0.0001 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-11-01.

Related

uml-mcp-mermaid compared with skills from other repositories

uml-mcp-mermaid next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uml-mcp-mermaidantoinebou12/uml-mcpSkill109yesterdayMITA23Claude Code, Codex
detailed-designpan94u/forgeSkill405d agononeA27Claude Code
architecture-diagram-creatorbookforge-ai/bookforge-skillsSkill426mo agoCC-BY-SA-4.0A128Claude 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