uml-diagrams

uml-diagrams is a skill for Claude Code from antoinebou12/uml-mcp. It costs 69 tokens per session (1,447 once invoked), scanned A, original, MIT.

A guide for creating and checking diagrams with the uml-mcp server, using formats such as UML, Mermaid, D2, and Graphviz.

In plain words
What is it for?
Use it for UML diagrams, flowcharts, architecture diagrams, Mermaid or D2 source, Graphviz output, and Kroki URLs.
Why use it?
It helps choose the correct diagram format, validate the source text, and produce a shareable Kroki link.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the uml-mcp plugin — 1 skill shipped together

Good fit Use it for UML diagrams, flowcharts, architecture diagrams, Mermaid or D2 source, Graphviz output, and Kroki URLs.

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

Made for: Claude Code.

Or install uml-mcp, the plugin that ships this one along with the rest of its 1 skill.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/uml-diagrams"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/uml-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,447 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 Agent Snooping · line 10
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
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.00069 $0.01447
Opus 5 $0.00034 $0.00724
Sonnet 5 $0.00014 $0.00289
Haiku 4.5 $0.00007 $0.00145

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

Security

Grade A, and why

uml-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 7d 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/uml-mcp/skills/uml-diagrams/SKILL.md · 98 lines

How it starts

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

Maintainers: Canonical long-form copy also lives in .skill/skills/uml-mcp-diagrams/SKILL.md. Keep tool tables and output_dir wording aligned with the Smithery bundle uml-skill.

UML-MCP in Claude Code

Goal

Produce valid diagram_type and DSL code, call generate_uml (or generate_uml_image to show a picture in chat), and give the user the url (and playground when present). Prefer URL-first output: omit output_dir / use null unless the user wants files on disk (local stdio only).

Do

  • If diagram_type is unclear, use list_diagram_types or read uml://types / uml://formats before generate_uml (~37 types, including goat and umlet).
  • Match diagram_type to the language of code (e.g. Mermaid body → mermaid; @startumlplantuml or the specific Kroki PlantUML subtype when applicable).
  • Use validate_uml before heavy retry loops or on pasted diagram source; use strict: true for Mermaid sequences.
  • Mermaid sequenceDiagram: one statement per line — do not pack with ; on a single line.
  • For inline chat images, call generate_uml_image with png (fetches bytes even when hosted MCP_URL_ONLY is on). generate_uml with png/jpeg also force-fetches; SVG replies include a markdown image URL in the tool text.
  • Return the url, playground (as a markdown link when present), and a short copy of code.
  • Do not link local output/*.png paths in chat; use MCP image content or the HTTPS URL.

Do not

  • Invent diagram_type or output_format; confirm from uml://types / uml://formats or list_diagram_types.
  • Put prose inside code—only valid diagram DSL.
  • Set output_dir unless the user asked for saved files (not applicable to the default HTTP deployment).
  • Pack Mermaid sequence statements with ; on one physical line.
  • Omit playground when the tool returned it — always surface it as Playground: open editor.

Read the full file on GitHub · 98 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. 7d ago Changed · +29 lines · +14 tokens per session 962c3f737411
  2. 12d ago First seen · 69 lines · 55 tokens per session scan A 7ae0ab4d5c0b

Subscribe to this mod's changes

uml-diagrams is a skill published in the GitHub repository antoinebou12/uml-mcp (99 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 1,447 once invoked, about $0.0003 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

detailed-design

Skill for detailed design — class diagrams, sequence diagrams, API contracts, database schema design, and error handling strategy.

pan94u/forge · 27 tokens

architecture-diagram-creator

Create effective architecture diagrams following established diagramming standards (UML, C4, ArchiMate) with proper visual elements and presentation techniques. Use this skill whenever the user needs to create, review, or improve architecture diagrams, wants guidance on which diagramming standard to use, needs help…

bookforge-ai/bookforge-skills · 128 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens