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.5 | $0.00037 | $0.01914 |
| Sonnet 5.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 3mo 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.
This is a copy
88% identical to diagram-design — 86 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
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.
- 3mo 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 2mo ago), licensed MIT. It adds 92 tokens to every session and 4,784 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to diagram-design, differing in 86 lines, and is treated as a copy.
diagram-design compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagram-designGlobal-mindee/WAY | Skill | 11 | 2mo ago | MIT | A | 92 | Claude Code, Codex |
| Artdanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 157 | Claude Code, Codex |
| RichFormatdanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 164 | Claude Code, Codex |
| Excalidrawdanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 131 | Claude Code, Codex |
| Webdesigndanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 108 | Claude Code, Codex |
| Visualizedanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 197 | Claude Code, Codex |
| ApertureOscillationdanielmiessler/LifeOS | Skill | 20k | 12d ago | MIT | A | 102 | Claude Code, Codex |