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 db_schemagit 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/db_schema)<a href="https://agentmods.dev/skills/antoinebou12/uml-mcp/db_schema"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/db_schema/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/db_schema"><img src="https://agentmods.dev/badge/skills/antoinebou12/uml-mcp/db_schema.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.00077 | $0.01195 |
| Opus 5.5 | $0.00031 | $0.00478 |
| Sonnet 5.5 | $0.00015 | $0.00239 |
| Haiku 4.5 | $0.00008 | $0.00120 |
Grade A, and why
db_schema 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.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
db_schema diagram (uml-mcp plugin schema)
diagram_type: db_schema
Backend: plugin:schema (bundled with uml-mcp, on by default)
Output formats: html, svg
Database schema (ER) from SQL DDL (CREATE TABLE; Postgres, MySQL, SQLite) or JSON tables: column cards with PK/FK/null/unique markers, crow's-foot relationships at the column rows, groups; html or svg
Load the workflow skill uml-mcp-diagrams and the focused guide skill://uml-mcp-guides/db-schema/SKILL.md. This file is notation only; it does not add an MCP tool.
Example prompt
Draw the schema of my shop database from this CREATE TABLE script.
Notation tips
- Paste SQL DDL as is:
CREATE TABLEwithPRIMARY KEY,REFERENCES,FOREIGN KEY,UNIQUE,NOT NULL,DEFAULT(Postgres, MySQL, SQLite); other statements are skipped. - Comment directives:
-- title: Shop,-- theme: dark,-- group: Billing(tables below it go in a tinted container;-- group:ends it). - Or JSON:
tables(name,group,note,columns:name,type,pk,fk{"table","column"}or"table.column",nullable,unique,note) and optionalrelations(from,to,kind:one-to-one,one-to-many,many-to-many,label). - A unique or primary-key foreign key draws one-to-one; a table keyed by two foreign keys is marked as an M:N join table.
validate_umllists every bad reference with its line.
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;
Esccloses 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
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.
- today Changed · +13 lines 9239574ae179
- 26d ago First seen · 101 lines · 77 tokens per session scan A 6afc0659856d
db_schema 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,195 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.
db_schema compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| db_schemaantoinebou12/uml-mcp | Skill | 111 | today | MIT | A | 77 | Claude Code, Codex |
| detailed-designpan94u/forge | Skill | 41 | 2d ago | none | A | 27 | Claude Code |
| create-prprisma/orm | Skill | 48k | today | Apache-2.0 | A | 47 | Claude Code, Codex |
| schema-explorationlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 57 | Claude Code, Codex |
| atlas-mssqlariga/atlas | Skill | 8.9k | 3d ago | Apache-2.0 | A | 163 | Claude Code |
| ha-data-storesshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 115 | Claude Code, Codex |
| bex-keyvaluebex-co/bex | Skill | 1.6k | today | Apache-2.0 | A | 117 | Claude Code, Codex |