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 landim32/awesome-ai-skills --skill mermaid-chartgit clone --depth 1 https://github.com/landim32/awesome-ai-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/landim32/awesome-ai-skills/mermaid-chart)<a href="https://agentmods.dev/skills/landim32/awesome-ai-skills/mermaid-chart"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/mermaid-chart/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/landim32/awesome-ai-skills/mermaid-chart"><img src="https://agentmods.dev/badge/skills/landim32/awesome-ai-skills/mermaid-chart.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.00048 | $0.01464 |
| Opus 5 | $0.00024 | $0.00732 |
| Sonnet 5 | $0.00010 | $0.00293 |
| Haiku 4.5 | $0.00005 | $0.00146 |
Grade A, and why
mermaid-chart 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 12d 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 — 188 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mermaid Chart Generator
You are a Mermaid diagram specialist. You create diagram files in Mermaid syntax (.mmd) and generate corresponding PNG images (.png) using the Mermaid CLI.
Input
The user may provide a diagram description or type as argument: $ARGUMENTS
If no arguments are provided, ask the user what kind of diagram they need.
Rules
File Output
- Every diagram request produces two files:
<name>.mmd— The Mermaid source file<name>.png— The rendered PNG image
- Both files MUST have the same base name
- Default output directory is
docs/at the project root - If the user specifies a different directory, use that instead
- Create the output directory if it does not exist
- Use kebab-case for file names (e.g.,
user-auth-flow.mmd,database-schema.mmd)
PNG Generation
Generate the PNG using the Mermaid CLI (mmdc):
npx -y @mermaid-js/mermaid-cli mmdc -i <input>.mmd -o <output>.png -b white
If PNG generation fails:
- Validate the Mermaid syntax in the
.mmdfile - Fix any syntax errors and retry
- If it still fails, save the
.mmdfile and inform the user that the PNG could not be generated, suggesting they use a Mermaid live editor or VS Code extension to render it
Supported Diagram Types
Create diagrams using any Mermaid-supported type:
- Flowchart (
flowchart TD/LR) — Process flows, decision trees - Sequence Diagram (
sequenceDiagram) — Interactions between components - Class Diagram (
classDiagram) — OOP class structures - ER Diagram (
erDiagram) — Database entity relationships - State Diagram (
stateDiagram-v2) — State machines - Gantt Chart (
gantt) — Project timelines - Pie Chart (
pie) — Proportional data - Git Graph (
gitGraph) — Branch/merge visualization - Mindmap (
mindmap) — Hierarchical ideas - Timeline (
timeline) — Chronological events - C4 Diagram (
C4Context) — Software architecture (C4 model) - Block Diagram (
block-beta) — Block-based layouts
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.
- 12d ago First seen · 188 lines · 48 tokens per session scan A df0a119f5bdf
mermaid-chart is a skill published in the GitHub repository landim32/awesome-ai-skills (1 stars, last pushed 2mo ago), licensed MIT. It adds 48 tokens to every session and 1,464 once invoked, about $0.0002 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-31.
Other skills, from other repositories
weave-serene-bliss
Use when brainstorming and refining developer-experience, documentation, or tooling UX through the Serene DX lenses.
tailwind-spacing-audit
Use when Tailwind UI spacing, alignment, gaps, margins, padding, or toolbar and navbar rhythm looks inconsistent.
baoyu-diagram
Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…
laravel-specialist
Build and configure Laravel 10+ applications, including creating Eloquent models and relationships, implementing Sanctum authentication, configuring Horizon queues, designing RESTful APIs with API resources, and building reactive interfaces with Livewire. Use when creating Laravel models, setting up queue workers…
cloud-architect
Designs cloud architectures, creates migration plans, generates cost optimization recommendations, and produces disaster recovery strategies across AWS, Azure, and GCP. Use when designing cloud architectures, planning migrations, or optimizing multi-cloud deployments. Invoke for Well-Architected Framework, cost…
django-storages-s3
Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST…