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 design_layersgit 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/design_layers)<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/design_layers"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/design_layers/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/design_layers"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/design_layers.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.00065 | $0.00967 |
| Opus 5.5 | $0.00026 | $0.00387 |
| Sonnet 5.5 | $0.00013 | $0.00193 |
| Haiku 4.5 | $0.00006 | $0.00097 |
Grade A, and why
design_layers 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.
How it starts
The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
design_layers diagram (uml-mcp plugin diagram-design)
diagram_type: design_layers
Backend: plugin:diagram-design (bundled with uml-mcp, on by default)
Output formats: html, svg
Layer stack in the diagram-design editorial style: Stacked abstraction levels. Source is one hand-drawn SVG; html or svg
Load the workflow skill uml-mcp-diagrams and the house-style guide skill://uml-mcp-guides/diagram-design/SKILL.md (tokens, typography, connector rules, anti-patterns). The type guide below is the upstream diagram-design reference by Cathryn Lavery (MIT).
Source contract
- One
<svg>root withxmlns="http://www.w3.org/2000/svg"and aviewBox; no HTML page around it. The plugin adds the eyebrow, the serif heading and the page. <title>(the heading) and<desc>(one sentence) as direct children of<svg>.- Resolve every role placeholder (
{ink},{accent @ 0.40},{node-name}) to the values in the guide's tokens before sending. - Rejected, with one message per problem:
<script>,<foreignObject>, event handlers,javascript:URLs, remotehref/url()/@import, DOCTYPE or entities, shadows and blur filters, and sources over 400 KB. - Shared classes go in one
<style>element inside the SVG; fonts fall back to local families (Geist, system-ui, sans-serif), because remote stylesheets are not loaded.
Styling
Colours live in the SVG. Use the house tokens from the guide (light paper #f5f5f5, ink #2d3142, one or two #bf4520 accents); theme does not recolour these types.
Example source
Read uml://examples/design_layers: the upstream light example (5 KB), which validates and renders as is. Start a new drawing from uml://templates/design_layers.
Type guide: Layer stack
Layer Stack
Best for: OSI model, CSS cascade, context hierarchy, tech stack, abstraction layers, memory hierarchy.
Layout conventions
- Horizontal bands stacked vertically. Each layer is a full-width rectangle (same x, same width). 4–6 layers total.
- Layer height 56–72px, width typically 800–880px inside a 1000px viewBox.
- Each row contains (left→right):
- Index tag on the far left (
L3,07,APPLICATION) —eyebrowrole, 8–9px. - Layer name slightly right of center-left —
node-namerole, 14–16px 600. - Sublabel / note on the far right —
sublabelrole, 9–10px,muted.
- Index tag on the far left (
- Border between layers: 1px hairline
ink @ 0.12(therulerole). Outer silhouette 1pxinkormuted. - Fills: either alternating subtle shades (paper / paper-2) OR all paper with hairline dividers. Pick one and hold it.
- Direction indicator on the LEFT margin (outside the stack): small up/down arrow +
eyebrow-role label (abstraction ↑,packets ↓). - Coral on one focal layer (stroke + subtle tint fill) — the bottleneck, the pay-rent layer, the one under discussion.
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.
- yesterday First seen · 61 lines · 65 tokens per session scan A 362d06219e63
design_layers is a skill published in the GitHub repository antoinebou12/uml-mcp (111 stars, last pushed today), licensed MIT. It adds 65 tokens to every session and 967 once invoked, about $0.0003 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.
design_layers compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| design_layersantoinebou12/uml-mcp | Skill | 111 | today | MIT | A | 65 | Claude Code, Codex |
| detailed-designpan94u/forge | Skill | 41 | 3d ago | none | A | 27 | Claude Code |
| architecture-diagram-creatorbookforge-ai/bookforge-skills | Skill | 43 | 7mo ago | CC-BY-SA-4.0 | A | 128 | Claude Code |
| webgl-holographic-foilnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 111k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | today | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 11k | today | Apache-2.0 | A | 56 | Claude Code |