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 Global-mindee/WAY --skill diagram-designgit clone --depth 1 https://github.com/Global-mindee/WAYWrote 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/global-mindee/way/diagram-design)<a href="https://agentmods.dev/skills/global-mindee/way/diagram-design"><img src="https://agentmods.dev/badge/skills/global-mindee/way/diagram-design/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/global-mindee/way/diagram-design"><img src="https://agentmods.dev/badge/skills/global-mindee/way/diagram-design.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.00092 | $0.04784 |
| Opus 5 | $0.00046 | $0.02392 |
| Sonnet 5 | $0.00018 | $0.00957 |
| Haiku 4.5 | $0.00009 | $0.00478 |
Grade A, and why
diagram-design 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 390 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagram Design
Create visual diagrams as self-contained HTML files with inline SVG and CSS, following an opinionated editorial design system.
Thirteen diagram types. One shared design system, complexity budget, and taste gate. Type-specific conventions live in references/ and are loaded only when you pick a type.
0. First-time setup — style guide gate
Before generating your first diagram in a new project, verify the style guide has been customized.
Open references/style-guide.md and check the default tokens. If they're still the shipped defaults (paper #faf7f2, ink #1c1917, accent #b5523a rust), pause and ask the user:
"This is your first diagram in this project. The style guide is still at the default (neutral stone + rust). Do you want to customize it to match your brand first? Options: (a) run onboarding — I'll pull colors and fonts from your website, (b) paste your tokens manually, (c) proceed with the default for now."
Then branch:
- (a) → follow
references/onboarding.mdto fetch the site, extract palette + fonts, propose a diff, and writestyle-guide.md. - (b) → accept the user's tokens and write them into
style-guide.mdunder a new "Custom tokens" section. - (c) → proceed; optionally remind the user they can run onboarding later.
Once the style guide has been customized (or the user explicitly opted for default), skip this gate on subsequent runs. A simple way to detect customization: if the accent value in style-guide.md differs from #b5523a, assume custom.
Don't silently ship default-skinned diagrams into a branded project — that's the failure mode this gate exists to prevent.
1. Philosophy
The highest-quality move is usually deletion.
From .impeccable.md: "Confident restraint. Earn every element. One color accent, two families, a small spacing vocabulary. If removing it wouldn't hurt the page, remove it."
Applied to diagrams:
- Every node represents a distinct idea. Two nodes that always travel together are one node.
- Every connection carries information. If the relationship is obvious from layout, remove the line.
- Coral is editorial, not a flag. 1–2 focal nodes per diagram. Using it on 5 nodes erases the signal.
- The diagram isn't done when everything is added. It's done when nothing can be removed.
What ships with it
60 files 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.
- assets/example-architecture-dark.html 10 KB
- assets/example-architecture-full.html 13 KB
- assets/example-architecture.html 10 KB
- assets/example-er-dark.html 14 KB
- assets/example-er-full.html 16 KB
- assets/example-er.html 14 KB
- assets/example-flowchart-dark.html 8.7 KB
- assets/example-flowchart-full.html 12 KB
- assets/example-flowchart.html 8.7 KB
- assets/example-layers-dark.html 6.4 KB
- assets/example-layers-full.html 9.5 KB
- assets/example-layers.html 6.4 KB
- assets/example-nested-dark.html 6.3 KB
- assets/example-nested-full.html 9.3 KB
- assets/example-nested.html 6.4 KB
- assets/example-pyramid-dark.html 6.2 KB
- assets/example-pyramid-full.html 9.1 KB
- assets/example-pyramid.html 6.1 KB
- assets/example-quadrant-dark.html 6.1 KB
- assets/example-quadrant-full.html 9.1 KB
- assets/example-quadrant.html 6.1 KB
- assets/example-sequence-dark.html 13 KB
- assets/example-sequence-full.html 17 KB
- assets/example-sequence.html 13 KB
- assets/example-state-dark.html 8.2 KB
- assets/example-state-full.html 11 KB
- assets/example-state.html 8.2 KB
- assets/example-swimlane-dark.html 10.0 KB
- assets/example-swimlane-full.html 13 KB
- assets/example-swimlane.html 9.9 KB
- assets/example-timeline-dark.html 6.9 KB
- assets/example-timeline-full.html 9.8 KB
- assets/example-timeline.html 6.9 KB
- assets/example-tree-dark.html 10 KB
- assets/example-tree-full.html 13 KB
- assets/example-tree.html 10 KB
- assets/example-venn-dark.html 6.3 KB
- assets/example-venn-full.html 9.4 KB
- assets/example-venn.html 6.7 KB
- assets/index.html 6.5 KB
- assets/template-dark.html 2.7 KB
- assets/template-full.html 21 KB
- assets/template.html 2.6 KB
- docs/screenshots/architecture.png 56 KB
- docs/screenshots/er.png 68 KB
- docs/screenshots/flowchart.png 74 KB
- docs/screenshots/layers.png 59 KB
- docs/screenshots/nested.png 50 KB
- docs/screenshots/pyramid.png 65 KB
- docs/screenshots/quadrant.png 55 KB
- docs/screenshots/sequence.png 61 KB
- docs/screenshots/state.png 44 KB
- docs/screenshots/swimlane.png 55 KB
- docs/screenshots/timeline.png 51 KB
- docs/screenshots/tree.png 54 KB
- docs/screenshots/venn.png 86 KB
- LICENSE-THIRD-PARTY.md 1.5 KB
- README.md 11 KB
- references/onboarding.md 4.7 KB
- references/primitive-annotation.md 1.7 KB
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.
- 10d ago First seen · 390 lines · 92 tokens per session scan A 0474012e1fec
diagram-design is a skill published in the GitHub repository Global-mindee/WAY (11 stars, last pushed 2d ago), licensed MIT. It adds 92 tokens to every session and 4,784 once invoked, about $0.0005 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.
Other skills, from other repositories
Art
Static visual content across 20+ formats — diagrams, mermaid, infographics, D3 dashboards, comics, icons, wallpaper — via Nano Banana Pro (default), Nano Banana, and Flux. USE WHEN art, illustration, diagram, flowchart, infographic, header image, blog social thumbnail, visualize, generate image, mermaid, architecture…
Webdesign
Design and integrate web interfaces via three paths: DirectDesign (write design inline with Anthropic frontend-design philosophy — the default workhorse), native /design + /design-sync Claude Code commands (preferred for code integration and design-system sync), or ClaudeDesign (drive claude.ai/design through…
ApertureOscillation
3-pass scope oscillation that holds a question constant while shifting zoom — narrow/tactical, wide/strategic, then synthesis — to surface design tensions, scope recommendations, and coherence assessments invisible at any single zoom level. USE WHEN aperture oscillation, oscillate scope, zoom in and out, tactical vs…
Tldraw
Read, create, and edit tldraw .tldr canvas files deterministically — sketch hand-drawn-register diagrams (boxes, arrows, sticky notes, frames, text) directly into a canvas file the user opens in any tldraw surface, and read a rough canvas back as structured data to organize it. USE WHEN tldraw, .tldr file, whiteboard…
figma-to-coded-html
Convert Figma designs into self-contained, shareable single-file HTML with all UI elements coded in HTML/CSS/SVG and only actual photographs embedded as inline base64. Use this skill whenever the user asks to convert a Figma file/URL to HTML, export Figma designs as code, create HTML from Figma, turn a Figma mockup…
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…