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.
npx skills add antoinebou12/uml-mcp --skill d2git clone --depth 1 https://github.com/antoinebou12/uml-mcpWrote 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.
[](https://agentmods.dev/skills/antoinebou12/uml-mcp/d2)<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/d2"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/d2/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.
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/d2"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/d2.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.00494 |
| Opus 5.5 | $0.00020 | $0.00198 |
| Sonnet 5.5 | $0.00010 | $0.00099 |
| Haiku 4.5 | $0.00005 | $0.00049 |
Grade A, and why
d2 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 14d 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.
What it actually says
d2 diagram (uml-mcp)
diagram_type: d2
Backend: d2
Output formats: svg
A modern diagram scripting language
Load the workflow skill uml-mcp-diagrams for URL-first replies, progressive discovery, and which MCP tool to call. This file is notation only; it does not add an MCP tool.
Themes
Pass theme to generate_uml / generate_uml_image as default / 0 or dark / 103
(or another numeric D2 theme-id). The server prefixes:
vars: {
d2-config: {
theme-id: 103
}
}
when the source has no d2-config / theme-id yet. You can also set theme-id yourself.
Match the page background (MCP prompt diagram_theme):
- light / white / B&W:
default(0) - dark / black:
dark(103)
Starter template
User -> System: Request
System -> User: Response
Example
title: Request flow
User -> API: HTTP Request
API -> Database: Query
Database -> API: Result
API -> User: JSON Response
Render with uml-mcp
- Set
diagram_typetod2exactly. - Call
validate_umlwhen the source is untrusted (preferstrict: truefor Mermaid sequence). - Call
generate_uml,generate_uml_image(chat PNG), orgenerate_uml_batch. - Pass
themewhen this skill's Themes section lists supported values. - Surface the returned
url/playground(see the workflow skill).
Confirm formats with uml://formats or list_diagram_types when unsure.
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.
- 14d ago First seen · 62 lines · 51 tokens per session scan A 354d11ff3bbe
d2 is a skill published in the GitHub repository antoinebou12/uml-mcp (109 stars, last pushed yesterday), licensed MIT. It adds 51 tokens to every session and 494 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-10-24.
d2 compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| d2antoinebou12/uml-mcp | Skill | 109 | yesterday | MIT | A | 51 | Claude Code, Codex |
| detailed-designpan94u/forge | Skill | 40 | 5d ago | none | A | 27 | Claude Code |
| architecture-diagram-creatorbookforge-ai/bookforge-skills | Skill | 42 | 6mo ago | CC-BY-SA-4.0 | A | 128 | Claude Code |
| webgl-holographic-foilnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 106k | yesterday | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 3d ago | MIT | A | 52 | Codex |