uml-drawing

uml-drawing is a skill for Claude Code, Codex from BESSER-PEARL/uml-drawing-skill. It costs 282 tokens per session (2,656 once invoked), scanned A, original, Apache-2.0.

Sposób tworzenia poprawnych diagramów klas UML jako obrazów do dokumentacji. Diagram klas pokazuje klasy, ich dane oraz zależności między nimi.

In plain words
What is it for?
Służy do dokumentowania modelu danych i struktury systemu na podstawie opisu, kodu albo istniejącego diagramu PlantUML, Draw.io lub makiety.
Why use it?
Usuwa problem diagramów, które wyglądają dobrze, ale mają błędne strzałki, relacje lub liczności. Wynikiem jest obraz możliwy do osadzenia w dokumentach.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: built for cline.

Good fit Służy do dokumentowania modelu danych i struktury systemu na podstawie opisu, kodu albo istniejącego diagramu PlantUML, Draw.io lub makiety.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/besser-pearl/uml-drawing-skill/uml-drawing
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 BESSER-PEARL/uml-drawing-skill --skill uml-drawing
Clone the repo
git clone --depth 1 https://github.com/BESSER-PEARL/uml-drawing-skill

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 uml-drawing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/besser-pearl/uml-drawing-skill/uml-drawing"><img src="https://agentmods.dev/badge/skills/besser-pearl/uml-drawing-skill/uml-drawing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 282 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,656 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00282 $0.02656
Opus 5 $0.00141 $0.01328
Sonnet 5 $0.00056 $0.00531
Haiku 4.5 $0.00028 $0.00266

Measured 12d ago against content hash a817d9313bf9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

uml-drawing scanned grade A with 1 finding 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 12d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://editor.besser-pearl.org/besser_api/get-svg \
uml-drawing/SKILL.md · 242 lines

How it starts

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

Embed a correct UML diagram in your docs

Agents are constantly asked to "add a diagram" to documentation — and they routinely get the modeling subtly wrong (invalid multiplicities, arrows reversed, inheritance backwards) or hand back a code block that never renders as a picture. This skill produces a correct class diagram and a real embeddable image.

Scope

  • Class diagrams only, for now — classes, attributes, associations, multiplicities, inheritance. Other UML diagram types (state machines, object, sequence, activity, …) are out of scope for this skill.
  • Always through BESSER B-UML. Every diagram is built as a B-UML DomainModel first, then delivered. Going through the model is what makes the diagram correct and reusable as code.

Where it can start

  • A description — the user explains the domain; the agent writes the model.
  • Existing code — the agent reads the source and builds the B-UML model from its structure. (There is no automatic code scanner; the agent does the modeling from what it reads — it is not a one-click importer.)
  • A supported into-B-UML path — PlantUML, Draw.io, or a UI mockup.

Two ways to deliver

Model once, then deliver as embedded B-UML code (Deliver A) or a rendered image (Deliver B) — both from the same model, so they never disagree. Pick by context (a design doc that should stay runnable → code; a README that should show a picture → image), or provide both. Details in the Deliver sections below.

Where it lands. If the user names a target document (a README, a design doc), embed into that file. If they name none — or ask for a standalone diagram of a repo/system — default to delivering a new self-contained .md (e.g. docs/<model>.md): the rendered image (Deliver B) and/or the B-UML code (Deliver A), plus a line or two explaining what the diagram shows. That turns a bare "diagram my repo" into a committable document rather than a loose SVG. When you create a new file, say where you put it (and offer the alternative — embed into an existing doc instead — if that may be what they wanted).

Read the full file on GitHub · 242 lines

Files

What ships with it

1 file 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. 12d ago First seen · 242 lines · 282 tokens per session scan A a817d9313bf9

Subscribe to this mod's changes

uml-drawing is a skill published in the GitHub repository BESSER-PEARL/uml-drawing-skill (6 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 282 tokens to every session and 2,656 once invoked, about $0.0014 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

kami-landing

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

nexu-io/open-design · 81 tokens

applying-brand-guidelines

This skill applies consistent corporate branding and styling to all generated documents including colors, fonts, layouts, and messaging.

anthropics/claude-cookbooks · 27 tokens

html-ppt-obsidian-claude-gradient

OpenDesign's enterprise AI-adoption brief: local-first agents at work, the risk controls, the ROI, and the rollout plan. Built as a decision-grade AI literacy deck for leadership, IT, security.

nexu-io/open-design · 53 tokens

kami

A design and typesetting guide for creating professional documents and product landing pages, such as resumes, white papers, portfolios, and slide decks.

tw93/Kami · 157 tokens

read

Reads URLs and PDFs by fetching source content, defaulting to concise summaries for plain read requests and clean Markdown when asked to convert, save, quote, cite, or feed downstream work. Use when users ask in any language to read, fetch, check, summarize, quote, cite, convert, or save a URL or PDF. Not for local…

tw93/Waza · 78 tokens

mermaid-tools

Extracts Mermaid diagrams from markdown files and generates high-quality PNG images using bundled scripts. Activates when working with Mermaid diagrams, converting diagrams to PNG, extracting diagrams from markdown, or processing markdown files with embedded Mermaid code.

daymade/claude-code-skills · 48 tokens