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 greedychipmunk/agent-skills --skill mermaidgit clone --depth 1 https://github.com/greedychipmunk/agent-skillsWrote 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/greedychipmunk/agent-skills/mermaid)<a href="https://agentmods.dev/skills/greedychipmunk/agent-skills/mermaid"><img src="https://agentmods.dev/badge/skills/greedychipmunk/agent-skills/mermaid/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/greedychipmunk/agent-skills/mermaid"><img src="https://agentmods.dev/badge/skills/greedychipmunk/agent-skills/mermaid.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00088 | $0.04754 |
| Opus 5.5 | $0.00035 | $0.01902 |
| Sonnet 5.5 | $0.00018 | $0.00951 |
| Haiku 4.5 | $0.00009 | $0.00475 |
Grade A, and why
mermaid 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 2mo 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 — 451 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mermaid.js
Generate Mermaid.js diagrams from text descriptions and validate existing Mermaid syntax.
When to Use
- Creating any of the 18 Mermaid diagram types from structured descriptions
- Converting plain-language descriptions into visual diagrams
- Validating existing Mermaid syntax for common errors
- Choosing the right diagram type for a given scenario
- Styling or theming Mermaid diagrams
Diagram Types at a Glance
| Diagram | Keyword | Use For |
|---|---|---|
| Flowchart | flowchart / graph |
Process flows, decision trees, system logic |
| Sequence | sequenceDiagram |
Message passing between actors over time |
| Gantt | gantt |
Project schedules, task timelines |
| Class | classDiagram |
OOP class structure, inheritance, relationships |
| State | stateDiagram-v2 |
State machines, transitions, lifecycle |
| ER | erDiagram |
Database schemas, entity relationships |
| Git Graph | gitGraph |
Git branching and merge strategies |
| User Journey | journey |
User experience across task steps |
| Quadrant | quadrantChart |
2D prioritization (e.g. impact vs. effort) |
| XY Chart | xychart-beta |
Bar charts, line charts with axes |
| Pie | pie |
Proportional data, percentage breakdowns |
| Architecture | architecture-beta |
Cloud/CI-CD service topology |
| Block | block-beta |
Fixed-position block layouts |
| Requirement | requirementDiagram |
SysML requirement traceability |
| Treemap | treemap-beta |
Hierarchical proportional data |
| Mindmap | mindmap |
Brainstorming, concept hierarchy |
| Timeline | timeline |
Chronological events |
| Sankey | sankey-beta |
Flow quantities between nodes |
Universal Syntax
Every diagram begins with a diagram type keyword. Optional frontmatter and directives can configure the diagram before content.
Frontmatter
YAML between --- lines at the very start. Used for layout, look, and theme configuration.
---
config:
layout: elk
look: handDrawn
theme: forest
---
flowchart LR
A --> B
What ships with it
19 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.
- references/architecture.md 3.2 KB
- references/block.md 1.8 KB
- references/class.md 2.3 KB
- references/er.md 2.4 KB
- references/flowchart.md 4.1 KB
- references/gantt.md 3.0 KB
- references/gitgraph.md 2.9 KB
- references/journey.md 1.3 KB
- references/mindmap.md 1.5 KB
- references/pie.md 1.4 KB
- references/quadrant.md 3.3 KB
- references/requirement.md 2.7 KB
- references/sankey.md 2.0 KB
- references/sequence.md 3.3 KB
- references/state.md 2.1 KB
- references/timeline.md 2.1 KB
- references/treemap.md 2.0 KB
- references/xychart.md 3.6 KB
- scripts/validate.py 16 KB runs code
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.
- 2mo ago First seen · 451 lines · 88 tokens per session scan A 244690207e04
mermaid is a skill published in the GitHub repository greedychipmunk/agent-skills (24 stars, last pushed 23d ago), licensed MIT. It adds 88 tokens to every session and 4,754 once invoked, about $0.0004 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-08-30.
mermaid compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mermaidgreedychipmunk/agent-skills | Skill | 24 | 23d ago | MIT | A | 88 | Claude Code, Codex |
| webgl-holographic-foilnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 41 | Claude Code, Codex |
| html-ppt-hermes-cyber-terminalnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 53 | Claude Code, Codex |
| html-ppt-taste-brutalistnexu-io/open-design | Skill | 107k | today | Apache-2.0 | A | 78 | Claude Code, Codex |
| visual-ralphYeachan-Heo/oh-my-codex | Skill | 34k | 2d ago | MIT | A | 52 | Codex |
| glance-canonical-layoutsandroid/skills | Skill | 10k | 2d ago | Apache-2.0 | A | 56 | Claude Code |
| accessibilitymicrosoft/hve-core | Skill | 1.6k | today | MIT | A | 47 | Claude Code |