diagram-design

diagram-design is a skill for Claude Code, Codex from antoinebou12/uml-mcp. It costs 249 tokens per session (8,578 once invoked), scanned A, original, MIT.

A diagram-making guide for producing branded architecture, flow, data, process, and planning diagrams as standalone HTML files with inline SVG.

In plain words
What is it for?
Use it to create architecture maps, flowcharts, sequence diagrams, entity-relationship diagrams, timelines, org charts, and many other diagram types.
Why use it?
It gives diagrams a consistent visual style and prevents default styling from being used unknowingly in a branded project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it to create architecture maps, flowcharts, sequence diagrams, entity-relationship diagrams, timelines, org charts, and many other diagram types.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/antoinebou12/uml-mcp/upstream
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 upstream
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 diagram-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/upstream"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/upstream.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 249 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,578 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.00249 $0.08578
Opus 5.5 $0.00100 $0.03431
Sonnet 5.5 $0.00050 $0.01716
Haiku 4.5 $0.00025 $0.00858

Measured yesterday against content hash 51e98798ce8a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagram-design 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 yesterday.

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.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

examples/plugins/uml-mcp-plugin-diagram-design/upstream/SKILL.md · 404 lines

How it starts

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

Diagram Design

Create diagrams as self-contained HTML files with inline SVG and an editorial design system.

Fifty-four visual types. Semantic patterns describe behavior; type references describe layout.


0. First-time setup — style guide gate

Before generating your first diagram in a new project, verify the style guide has been customized.

Do not silently ship default-skinned diagrams into a branded project.

First resolve any project .diagram-design marker per references/profiles.md; a successfully resolved marker selects its profile and bypasses this gate. That reference owns failures, the protected default, and save behavior.

Open references/style-guide.md and check the default tokens. If they are still the shipped defaults (paper #f5f5f5, ink #2d3142, accent #bf4520), pause and ask the user:

"This is your first diagram in this project and the style guide is still default. Customize now? Options: (a) website URL, (b) installed skill, (c) local folder/design-system, (d) paste tokens, (e) keep default, (f) load saved profile."

Then branch per the matching section of references/onboarding.md; for (f) follow references/profiles.md.

Once the style guide has been customized (or the user explicitly chose default), skip this gate on later runs. A leading profile header names the copied-in active profile. Without a header, any semantic-role value or typography family differing from shipped defaults means custom-unsaved: skip the gate and offer to save it as a profile. All-default tokens with no marker/header trigger the gate. After onboarding, offer to save as a named client profile per references/profiles.md.


1. Philosophy

The highest-quality move is usually deletion.

Applied to schematics:

  • Every node represents a distinct idea. Two nodes that always travel together are one node.
  • Every connection carries information. If the relationship is obvious from layout, remove the line.
  • Coral is editorial, not a flag. 1–2 focal nodes per diagram. Using it on 5 nodes erases the signal.
  • The schematic isn't done when everything is added. It's done when nothing can be removed.

Read the full file on GitHub · 404 lines

Files

What ships with it

56 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 404 lines · 249 tokens per session scan A 51e98798ce8a

Subscribe to this mod's changes

diagram-design is a skill published in the GitHub repository antoinebou12/uml-mcp (111 stars, last pushed today), licensed MIT. It adds 249 tokens to every session and 8,578 once invoked, about $0.0010 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-12-04.

Related

diagram-design compared with skills from other repositories

diagram-design next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
diagram-designantoinebou12/uml-mcpSkill111todayMITA249Claude Code, Codex
detailed-designpan94u/forgeSkill413d agononeA27Claude Code
architecture-diagram-creatorbookforge-ai/bookforge-skillsSkill437mo agoCC-BY-SA-4.0A128Claude Code
webgl-holographic-foilnexu-io/open-designSkill111ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill111ktodayApache-2.0A53Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11ktodayApache-2.0A56Claude Code