python-diagrams

python-diagrams is a skill for Claude Code, Codex from jonathan-vella/apex-accelerator. It costs 82 tokens per session (1,472 once invoked), scanned A, original, MIT.

A Python-based toolkit guide for creating architecture diagrams, charts, entity-relationship diagrams, swimlanes, timelines, and wireframes. It uses different diagram libraries depending on the visual being made.

In plain words
What is it for?
Use it to document Azure architectures, visualize cost or compliance data, map databases and processes, and draft interface wireframes.
Why use it?
It gives you a consistent way to produce reviewable diagram files and both raster and scalable image outputs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to document Azure architectures, visualize cost or compliance data, map databases and processes, and draft interface wireframes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jonathan-vella/apex-accelerator/python-diagrams
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 jonathan-vella/apex-accelerator --skill python-diagrams
Clone the repo
git clone --depth 1 https://github.com/jonathan-vella/apex-accelerator

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 python-diagrams

README.md
[![agentmods](https://agentmods.dev/badge/skills/jonathan-vella/apex-accelerator/python-diagrams/github.svg)](https://agentmods.dev/skills/jonathan-vella/apex-accelerator/python-diagrams)
Your own site
<a href="https://agentmods.dev/skills/jonathan-vella/apex-accelerator/python-diagrams"><img src="https://agentmods.dev/badge/skills/jonathan-vella/apex-accelerator/python-diagrams/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 python-diagrams

Your own site · 80×15
<a href="https://agentmods.dev/skills/jonathan-vella/apex-accelerator/python-diagrams"><img src="https://agentmods.dev/badge/skills/jonathan-vella/apex-accelerator/python-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,472 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.00082 $0.01472
Opus 5 $0.00041 $0.00736
Sonnet 5 $0.00016 $0.00294
Haiku 4.5 $0.00008 $0.00147

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

Security

Grade A, and why

python-diagrams 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 7d ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/ascii_to_diagram.py, scripts/diagram_io.py, scripts/generate_diagram.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.github/skills/python-diagrams/SKILL.md · 115 lines

How it starts

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

Python Diagrams & Charts

Skill for generating diagrams and charts using Python libraries: matplotlib for WAF/cost/compliance visualizations, diagrams for architecture diagrams, and graphviz for ERDs, swimlanes, timelines, and wireframes.

Prerequisites

pip install diagrams matplotlib pillow && apt-get install -y graphviz

Routing Guide

Every Python diagram emits both PNG and SVG siblings via the shared scripts/diagram_io.py helper — PNG for raster preview, SVG for scalable / accessible / diff-friendly review.

Diagram type Library Output
WAF bar charts matplotlib .py + .png + .svg
Cost donut / projection charts matplotlib .py + .png + .svg
Compliance gap charts matplotlib .py + .png + .svg
Architecture diagrams diagrams .py + .png + .svg
Swimlane / business process graphviz .py + .png + .svg
Entity-relationship diagrams graphviz .py + .png + .svg
Timeline / Gantt charts matplotlib .py + .png + .svg
UI wireframes graphviz .py + .png + .svg

Required Outputs (Workflow Integration)

Step Python chart files
2 02-waf-scores.py/.png/.svg
3 03-des-cost-distribution.py/.png/.svg, 03-des-cost-projection.py/.png/.svg
4 04-dependency-diagram.py/.png/.svg, 04-runtime-diagram.py/.png/.svg
7 07-ab-cost-*.py/.png/.svg, 07-ab-compliance-gaps.py/.png/.svg

Suffix rules: -des for design (Step 3), -ab for as-built (Step 7).

Read the full file on GitHub · 115 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. 7d ago First seen · 115 lines · 82 tokens per session scan A eb8340c3e932

Subscribe to this mod's changes

python-diagrams is a skill published in the GitHub repository jonathan-vella/apex-accelerator (50 stars, last pushed 3d ago), licensed MIT. It adds 82 tokens to every session and 1,472 once invoked, about $0.0004 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-09-03.

Related

Other skills, from other repositories

tailwind-design-system

Build scalable design systems with Tailwind CSS v4, design tokens, component libraries, and responsive patterns. Use when creating component libraries, implementing design systems, or standardizing UI patterns.

calesthio/OpenMontage · 42 tokens

motion-graphics

Use when the user wants a short, design-led motion graphic where motion is the message: kinetic typography, stat or number count-up, chart/data-viz hit, logo sting, brand lockup, lower-third, callout, social overlay, animated headline/tweet/news item, motion poster, or quick captured-page highlight. Usually under 10s…

calesthio/OpenMontage · 187 tokens

visual-style

Create, extract, and apply portable visual design systems via visual-style.md files. Use when: (1) Creating a visual-style.md design system from scratch, (2) Extracting a visual style from a website URL, video, or PDF brand guide, (3) Applying a visual style to HeyGen videos, HTML slides, Figma, or paper.design, (4)…

calesthio/OpenMontage · 136 tokens

vercel-composition-patterns

React composition patterns that scale. Use when refactoring components with boolean prop proliferation, building flexible component libraries, or designing reusable APIs. Triggers on tasks involving compound components, render props, context providers, or component architecture. Includes React 19 API changes.

calesthio/OpenMontage · 58 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

calesthio/OpenMontage · 44 tokens

dashboard-design

Dashboard layout patterns, KPI card design, filter architecture, narrative flow through panels, and self-contained HTML generation.

fabioc-aloha/Alex_Skill_Mall · 24 tokens