diagram-creator

diagram-creator is a skill for Claude Code, Codex from ferdinandobons/diagram-creator-skill. It costs 191 tokens per session (2,504 once invoked), scanned A, original, MIT.

A tool for turning descriptions, documents, code, configuration, API definitions, and database schemas into self-contained HTML diagrams. The diagrams show relationships such as services, dependencies, classes, and data structures.

In plain words
What is it for?
Use it to create architecture diagrams, flowcharts, network maps, timelines, organization charts, and visual explanations of software systems.
Why use it?
It removes the need to draw technical structures by hand when explaining how a system is organized or how parts connect.

Skill for Claude CodeCodex

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

Good fit Use it to create architecture diagrams, flowcharts, network maps, timelines, organization charts, and visual explanations of software systems.

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

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin diagram-creator/plugin install diagram-creator after adding the marketplace above.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ferdinandobons/diagram-creator-skill/diagram-creator"><img src="https://agentmods.dev/badge/skills/ferdinandobons/diagram-creator-skill/diagram-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,504 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.00191 $0.02504
Opus 5 $0.00096 $0.01252
Sonnet 5 $0.00038 $0.00501
Haiku 4.5 $0.00019 $0.00250

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

Security

Grade A, and why

diagram-creator 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 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.

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-creator/SKILL.md · 158 lines

How it starts

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

Diagram Creator

Generate stunning, self-contained HTML diagrams with professional typography, smooth animations, and an infinite canvas you can pan and zoom like Miro. Output is always a single .html file that opens directly in any browser — zero dependencies. Supports 5 themes and 8 topology layouts.

Input Handling

Accept any of these inputs and auto-process them:

Input type How to handle
Topic/description "Docker networking", "OAuth 2.0 flow" — use directly
Markdown (.md, .mdx) Extract structure from headings, lists, tables, relationships
JSON / YAML (.json, .yaml, .yml, .jsonl) Parse structure — keys become nodes, nesting becomes layers
Code files (.py, .ts, .js, .go, .rs, .java, .rb, .php, .swift, .kt, .c, .cpp, .cs, .scala, etc.) Extract classes, functions, imports, inheritance — diagram the architecture
Config / Infra (.toml, .ini, .env, .tf, .hcl, Dockerfile, docker-compose.yml, Makefile, nginx.conf) Map services, variables, dependencies, infrastructure
API specs (.openapi.yaml, .swagger.json, .graphql, .proto) Extract endpoints, types, service relationships
Database schemas (.sql, .prisma, .dbml) Map tables, columns, foreign keys, relationships
CI/CD pipelines (.github/workflows/*.yml, .gitlab-ci.yml, Jenkinsfile) Visualize pipeline stages and deployment flows
Data files (.csv, .tsv) Identify columns as entities, rows as relationships
Microsoft Office (.xlsx, .xls, .docx, .doc, .pptx, .ppt) Extract tables, headings, slide structure, org charts, SmartArt
Package manifests (package.json, requirements.txt, Cargo.toml, go.mod, pom.xml) Map dependency trees
Existing diagrams (.drawio, .puml, .mermaid) Read spec and re-render with this design system
PDF / Docs (.pdf, .txt, .rst, .adoc) Read content, extract core structure
Notebooks (.ipynb) Extract code cells, data flow, library dependencies

If it's a file, this skill can diagram it. For formats not listed, read the content and extract whatever structure exists.

Read the full file on GitHub · 158 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. 12d ago First seen · 158 lines · 191 tokens per session scan A 555b71416433

Subscribe to this mod's changes

diagram-creator is a skill published in the GitHub repository ferdinandobons/diagram-creator-skill (16 stars, last pushed 6mo ago), licensed MIT. It adds 191 tokens to every session and 2,504 once invoked, about $0.0010 per session on Opus 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.