c4_model

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

A skill for describing software with a C4 model: the surrounding system, its containers such as applications or databases, and their components. The model can be explored from the broad view down to implementation parts.

In plain words
What is it for?
Use it to model people, external systems, applications, databases, queues, and their relationships, then explore the context, containers, and components.
Why use it?
It gives teams a consistent way to explain system structure without starting with source-code details.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to model people, external systems, applications, databases, queues, and their relationships, then explore the context, containers, and components.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/c4_model"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/c4_model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,500 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.00077 $0.01500
Opus 5.5 $0.00031 $0.00600
Sonnet 5.5 $0.00015 $0.00300
Haiku 4.5 $0.00008 $0.00150

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

Security

Grade A, and why

c4_model 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 today.

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.

.skill/skills/c4_model/SKILL.md · 51 lines

How it starts

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

c4_model diagram (uml-mcp plugin c4)

diagram_type: c4_model
Backend: plugin:c4 (bundled with uml-mcp, on by default)
Output formats: html, svg

C4 model (context, containers, components) from one JSON model: static C4 diagram of a chosen level, or an interactive page that drills from systems into containers and components; html or svg

Load the workflow skill uml-mcp-diagrams and the focused guide skill://uml-mcp-guides/c4-model/SKILL.md. This file is notation only; it does not add an MCP tool.

Example prompt

C4 model of our e-commerce platform: shoppers, the storefront, order and payment services, Postgres, a Kafka topic, Stripe. Let me click into each level.

Notation tips

  • people (id, name, description, external) and systems (id, name, description, external, containers).
  • A container: id, name, technology, description, kind (app, web, db, queue, storage, function), service (aws:lambda, postgres...) for its docs link, and components (id, name, technology, description).
  • relations (from, to, label, technology, async) may join elements at any level; a relation between components shows as a line between their containers in the container view.
  • Ids are unique across the whole model. view (level: context, container, component; focus: a system or container id) picks the level the SVG shows and the page opens on.
  • Use c4plantuml instead when you need PlantUML C4 macros or a deployment view.

Styling

Pass theme (auto, dark or light) to generate_uml / generate_uml_image, or set it in the source. auto follows the reader's system in the HTML page and is dark in static SVG and PNG.

Interactive page

In the HTML page (and the MCP App viewer):

  • drag to pan; Esc closes menus and clears the selection
  • zoom with the − / + buttons, the wheel, a pinch or the + / - keys
  • Fit (or 0) shows the whole drawing; Reset also shows everything again
  • Show ▾ and the legend hide or show a category (aria-pressed); Show all resets
  • the ± button on a group (or its row in Show ▾) collapses it; its edges hide too
  • hovering an item highlights its connections and shows a tooltip
  • Screenshot saves a PNG of the current view
  • Export ▾ saves SVG, PNG or an interactive HTML page that reopens offline with the same state

Read the full file on GitHub · 51 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. today Changed · +13 lines 562233431bec
  2. 26d ago First seen · 38 lines · 77 tokens per session scan A efc9c6af7104

Subscribe to this mod's changes

c4_model is a skill published in the GitHub repository antoinebou12/uml-mcp (111 stars, last pushed today), licensed MIT. It adds 77 tokens to every session and 1,500 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-11-08.

Related

c4_model compared with skills from other repositories

c4_model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
c4_modelantoinebou12/uml-mcpSkill111todayMITA77Claude Code, Codex
detailed-designpan94u/forgeSkill412d agononeA27Claude Code
mem0-oss-to-platformmem0ai/mem0Skill70ktodayApache-2.0A217Claude Code, Codex
tao-run-inference-serviceNVIDIA/skillsSkill4.3ktodayApache-2.0A92Claude Code
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3ktodayMITA78Claude Code
fastapi-router-pymicrosoft/skillsSkill3.3ktodayMITA46Claude Code
api-designericrisco/rsc-harnessSkill7072d agoMITA105Claude Code, Codex