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 bengous/claude-code-plugins --skill mermaid-diagramsgit clone --depth 1 https://github.com/bengous/claude-code-pluginsWrote 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/bengous/claude-code-plugins/mermaid-diagrams)<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/mermaid-diagrams"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/mermaid-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.
<a href="https://agentmods.dev/skills/bengous/claude-code-plugins/mermaid-diagrams"><img src="https://agentmods.dev/badge/skills/bengous/claude-code-plugins/mermaid-diagrams.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.00033 | $0.01287 |
| Opus 5.5 | $0.00013 | $0.00515 |
| Sonnet 5.5 | $0.00007 | $0.00257 |
| Haiku 4.5 | $0.00003 | $0.00129 |
Grade A, and why
mermaid-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.
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 — 202 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mermaid Diagrams Skill
This skill helps create clean, well-organized Mermaid diagrams for software engineering and architecture visualization.
<when_to_use> Use this skill specifically for creating, editing, fixing, or improving Mermaid diagrams:
- Create new Mermaid diagrams
- Edit existing Mermaid diagrams
- Fix broken or incorrect diagram syntax
- Improve diagram organization or readability
- Visualize software architecture or technical concepts in Mermaid, when the user asked for Mermaid
For simply reading or interpreting existing diagrams, proceed directly without this skill. </when_to_use>
<diagram_types>
This skill supports all major Mermaid diagram types for software engineering:
- Flowcharts - Process flows, algorithms, decision trees
- Sequence Diagrams - API interactions, service communication, workflows
- Class Diagrams - Object models, domain design, relationships
- ER Diagrams - Database schemas, data models
- State Diagrams - State machines, workflow states, lifecycle
- C4 Diagrams - Software architecture (context, container, component)
- Git Graphs - Branching strategies, version control workflows </diagram_types>
references/syntax-flowchart.mdreferences/syntax-sequence.mdreferences/syntax-class.mdreferences/syntax-er.mdreferences/syntax-state.mdreferences/syntax-c4.mdreferences/syntax-git.md
Read on demand:
references/styling.md- themes and colors, when the user asks for a look or the diagram needs emphasized elementsreferences/patterns.md- architecture patterns (microservices, hexagonal, CQRS, etc.), when the diagram shows a system design
Pre-built, well-commented templates are available in assets/templates/:
flowchart-template.md- Organized flowchart with sectionssequence-template.md- Sequence diagram with best practicesclass-template.md- Domain model class diagramer-template.md- Database schema ER diagram
Use templates when:
- Starting a new complex diagram
- User wants a well-organized structure
- Creating diagrams that will grow over time
<best_practices>
What ships with it
14 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/templates/class-template.md 4.9 KB
- assets/templates/er-template.md 4.8 KB
- assets/templates/flowchart-template.md 2.6 KB
- assets/templates/sequence-template.md 3.3 KB
- references/gotchas.md 8.6 KB
- references/patterns.md 16 KB
- references/styling.md 11 KB
- references/syntax-c4.md 15 KB
- references/syntax-class.md 14 KB
- references/syntax-er.md 12 KB
- references/syntax-flowchart.md 9.8 KB
- references/syntax-git.md 11 KB
- references/syntax-sequence.md 14 KB
- references/syntax-state.md 12 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.
- 7d ago Changed f7e47162180a
- 1mo ago Changed · -17 lines 6e81feeaa884
- 2mo ago Changed · -136 lines 1f40938d5ff0
- 2mo ago First seen · 355 lines · 33 tokens per session scan A aa9d4b39b902
mermaid-diagrams is a skill published in the GitHub repository bengous/claude-code-plugins (6 stars, last pushed today), licensed MIT. It adds 33 tokens to every session and 1,287 once invoked, about $0.0001 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-09-03.
mermaid-diagrams compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mermaid-diagramsbengous/claude-code-plugins | Skill | 6 | today | MIT | A | 33 | Claude Code |
| ve-terminal-mononexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 45 | Claude Code, Codex |
| frontend-slidesnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 45 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-obsidian-claude-gradientnexu-io/open-design | Skill | 110k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| delightfengshao1227/ccg-workflow | Skill | 6.0k | 12d ago | MIT | A | 56 | Claude Code |
| animatefengshao1227/ccg-workflow | Skill | 6.0k | 12d ago | MIT | A | 53 | Claude Code |