diagram-maker

diagram-maker is a skill for Claude Code, Codex from metaspartan/cybara. It costs 47 tokens per session (532 once invoked), scanned A, original, MIT.

A diagram-making tool that creates standalone SVG or self-contained HTML diagrams for architectures, processes, sequences, data models, and whiteboards.

In plain words
What is it for?
Use it to draw flowcharts, architecture diagrams, sequence diagrams, entity-relationship diagrams, and state machines.
Why use it?
It turns a written description into a readable visual while keeping relationships explicit and avoiding invented connections.

Skill for Claude CodeCodex

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

Good fit Use it to draw flowcharts, architecture diagrams, sequence diagrams, entity-relationship diagrams, and state machines.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metaspartan/cybara/diagram-maker
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 metaspartan/cybara --skill diagram-maker
Clone the repo
git clone --depth 1 https://github.com/metaspartan/cybara

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-maker

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/metaspartan/cybara/diagram-maker"><img src="https://agentmods.dev/badge/skills/metaspartan/cybara/diagram-maker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 532 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00047 $0.00532
Opus 5.5 $0.00019 $0.00213
Sonnet 5.5 $0.00009 $0.00106
Haiku 4.5 $0.00005 $0.00053

Measured 1mo ago against content hash a1650f1b4bdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

diagram-maker 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 1mo 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.

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.

skills/diagram-maker/SKILL.md · 53 lines

What it actually says

Diagram Maker

Create clear, correct diagrams as standalone SVG or self-contained HTML files. Default to SVG (inline-able, crisp at any size); use HTML when interactivity or Mermaid/Excalidraw-style rendering is wanted.

When to use (trigger phrases)

  • "draw a diagram of …", "diagram the architecture / flow / sequence"
  • "make an ER diagram", "visualize how these components interact"
  • "I want a schematic / flowchart / state machine"

How to diagram

  1. Pick the right form for the request:
    • Architecture / components → boxes + arrows, grouped by layer.
    • Process / flow → top-to-bottom or left-to-right flowchart with decision diamonds.
    • Sequence → vertical lifelines with horizontal message arrows (ordered top→bottom).
    • Data model → entity boxes with attribute lists + relationship lines.
  2. Prefer Mermaid when the user wants editable/portable output — emit a fenced ```mermaid block (flowchart / sequenceDiagram / erDiagram / stateDiagram-v2). Many tools render it.
  3. For SVG/HTML, write the file with the write tool, then open it. Keep a viewBox, a consistent palette, and readable font sizes (≥12px). Label every arrow.
  4. Never fabricate relationships. If the diagram encodes code, ground every node/edge in actual files you read first.

Output conventions

  • Save to a sensible path (e.g. docs/diagrams/<name>.svg or .html).
  • State the file path clearly after writing.
  • Keep diagrams legible: avoid >8 nodes per row; split into sub-diagrams when dense.

Mermaid quick templates

flowchart TD
  A[Start] --> B{Decision}
  B -- yes --> C[Do thing]
  B -- no --> D[Skip]
  C --> E[(Database)]

sequenceDiagram
  participant U as User
  participant A as API
  participant DB as Database
  U->>A: POST /order
  A->>DB: insert
  DB-->>A: ok
  A-->>U: 201 Created

For ER diagrams use erDiagram; for state use stateDiagram-v2.

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. 1mo ago First seen · 53 lines · 47 tokens per session scan A a1650f1b4bdf

Subscribe to this mod's changes

diagram-maker is a skill published in the GitHub repository metaspartan/cybara (32 stars, last pushed yesterday), licensed MIT. It adds 47 tokens to every session and 532 once invoked, about $0.0002 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-08-30.

Related

Other skills, from other repositories

slop-diagrams

Create branded architecture, architecture delta, IT current-state, flowchart, sequence, state machine, ER/data model, timeline, swimlane, quadrant, radar/spider, polar chart (polar/radial lollipop), loop/flywheel, nested, tree, org chart, layer stack, exploded axonometric, axonometric plan, Venn, pyramid/funnel…

KornLabs/truss · 213 tokens

diagrams-archify

Create validated architecture, workflow, sequence, data-flow, lifecycle/state, ERD, class, tree, timeline, and waterfall diagrams as explorable standalone HTML with dark/light themes, motion and image/SVG/WebM export. Accept requirements or Mermaid; inspect repository evidence for code-backed diagrams. Use when…

KornLabs/truss · 165 tokens

theme-pack-authoring

Build, validate, and install Kiro Crew theme packs -- pack anatomy, the 56-variable palette, role-tagged fonts, the overrides.css allowlist (what installs vs what actually renders), and the install-verify cycle. Use when the user wants to create or edit a theme pack.

kirodotdev/KiroCrew · 64 tokens

image-authoring

Author images and diagrams as code — SVG, Pillow, Excalidraw, mermaid. Load when asked to draw, illustrate, or make an image, icon, logo, poster, or diagram.

kirodotdev/KiroCrew · 45 tokens

frontend-design-workflow

Workflow for frontend features and visual/product design changes — present mockup options before code, build on the project's design system, capture the right evidence (screenshots vs video), run a new-user usability review. Use when building or changing UI, styling, layout or animation.

kirodotdev/KiroCrew · 59 tokens

web-animation-design

Design and implement web animations that feel natural and purposeful. Use this skill proactively whenever the user asks questions about animations, motion, easing, timing, duration, springs, transitions, or animation performance. This includes questions about how to animate specific UI elements, which easing to use…

vercel-labs/open-agents · 177 tokens