uml-mcp: Skill for Claude Code

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

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

A batch diagram guide for rendering and checking several architecture diagrams at once. It also covers C4 diagrams, a way to show software systems from broad context down to code-level detail.

In plain words
What is it for?
Use it to generate diagram batches, compare them with a shared component inventory, and create the four C4 levels.
Why use it?
It avoids inconsistent names and relationships when the same architecture is converted into multiple diagram types or formats.

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-batch/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-batch

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/uml-mcp-batch"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/uml-mcp-batch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 493 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.00024 $0.00493
Opus 5.5 $0.00010 $0.00197
Sonnet 5.5 $0.00005 $0.00099
Haiku 4.5 $0.00002 $0.00049

Measured 5d ago against content hash af7223fc567c, 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-batch 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-batch/SKILL.md · 46 lines

What it actually says

Diagram batches

Follow skill://uml-mcp-diagrams/SKILL.md. Build one inventory of named components, boundaries and directed labelled edges before converting formats. Keep IDs stable where possible. Compare each source against that inventory; record deliberate scope changes between C4 levels. Discover all requested types and formats, then read the appropriate focused skill.

Call generate_uml_batch with an items array. Each item uses the documented generate_uml fields: diagram_type, code, output_format, optional theme and scale. Keep transport fields such as user_intent out of items.

{"items":[{"diagram_type":"mermaid","output_format":"svg","code":"flowchart LR
  web[Frontend] -->|HTTPS| api[Backend]"},{"diagram_type":"d2","output_format":"svg","code":"direction: right
web: Frontend
api: Backend
web -> api: HTTPS"}]}

Validate complex or unfamiliar sources before the batch. Validation checks syntax, while rendering checks the actual backend; neither proves that the host has displayed a readable preview. For four C4 levels, use context/container/ component libraries and ordinary UML for code detail, as the C4 guide explains.

Inspect every returned index for errors, MIME type, bytes or a usable render link. Check each gallery entry, including labels and fit, when the host supports visual inspection. Partial success remains partial success. Retry failed items individually with corrected source and preserve successful results. Never call all items successful based only on HTTP status or valid: true.

Prefer SVG per item for Apps. Initial thumbnails share a response-size budget; selecting an item retrieves full vectors on demand. Do not treat a tiny thumbnail or a Link placeholder as proof of a full-resolution image. If full retrieval fails, report the affected item and offer its fresh link only if returned.

In an App host, confirm how many items rendered and identify failures briefly; avoid duplicating every diagram, URL and source in chat. For plain clients, provide a compact list of named, returned render/playground links and one image per requested view where supported. Do not reuse URLs from earlier failed runs.

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 · 46 lines · 24 tokens per session scan A af7223fc567c

Subscribe to this mod's changes

uml-mcp-batch is a skill published in the GitHub repository antoinebou12/uml-mcp (109 stars, last pushed yesterday), licensed MIT. It adds 24 tokens to every session and 493 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-batch compared with skills from other repositories

uml-mcp-batch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uml-mcp-batchantoinebou12/uml-mcpSkill109yesterdayMITA24Claude 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