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 diillson/chatcli --skill mermaid-diagramsgit clone --depth 1 https://github.com/diillson/chatcliWrote 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/diillson/chatcli/mermaid-diagrams)<a href="https://agentmods.dev/skills/diillson/chatcli/mermaid-diagrams"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/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/diillson/chatcli/mermaid-diagrams"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/mermaid-diagrams.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Data Exfiltration · line 53 Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
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.00074 | $0.00527 |
| Opus 5.5 | $0.00030 | $0.00211 |
| Sonnet 5.5 | $0.00015 | $0.00105 |
| Haiku 4.5 | $0.00007 | $0.00053 |
Grade B, and why
mermaid-diagrams scanned grade B with 2 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.
Sends data to an external URLmediumData exfiltration
A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.
curl -s -X POST https://kroki.io/mermaid/svg -d @diagram.mmd -o diagram.svg Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -s -X POST https://kroki.io/mermaid/svg -d @diagram.mmd -o diagram.svg What it actually says
Mermaid Diagrams
Diagrams-as-code. Author Mermaid markup, then render it. Two render paths — prefer local, fall back to the keyless Kroki HTTP service.
1. Author the Mermaid
Write a .mmd file. Examples:
Flowchart:
flowchart TD
A[Client] --> B{Auth?}
B -- yes --> C[Serve]
B -- no --> D[401]
Sequence:
sequenceDiagram
User->>API: POST /login
API-->>User: 200 + token
Mermaid also covers classDiagram, erDiagram, gantt, stateDiagram-v2, mindmap.
2. Render
Local (preferred) — @mermaid-cli (mmdc):
mmdc -i diagram.mmd -o diagram.svg # or -o diagram.png -t dark -b transparent
Detect: command -v mmdc / Get-Command mmdc. Install: npm i -g @mermaid-js/mermaid-cli.
Keyless service (no install) — Kroki:
curl -s -X POST https://kroki.io/mermaid/svg -d @diagram.mmd -o diagram.svg
(Use @webfetch/curl. For private content prefer local rendering — Kroki receives the source.)
Rules
- Keep the diagram readable: group/label nodes, limit to what answers the question.
- For chat/messaging contexts, you can also just send the fenced ```mermaid block as text — many clients render it. Render to an image when the user wants a file.
- Report the output path after rendering.
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 · 63 lines · 74 tokens per session scan B 2b72f5ca6d00
mermaid-diagrams is a skill published in the GitHub repository diillson/chatcli (94 stars, last pushed 7d ago), licensed Apache-2.0. It adds 74 tokens to every session and 527 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). 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-diagramsdiillson/chatcli | Skill | 94 | 7d ago | Apache-2.0 | B | 74 | Claude Code |
| headroomheadroomlabs-ai/headroom | Skill | 81k | today | Apache-2.0 | A | 76 | Claude Code |
| 01-journeysai-driven-dev/framework | Skill | 589 | today | MIT | A | 58 | Claude Code |
| 02-brandai-driven-dev/framework | Skill | 589 | today | MIT | A | 53 | Claude Code |
| 03-foundationsai-driven-dev/framework | Skill | 589 | today | MIT | A | 64 | Claude Code |
| 04-componentsai-driven-dev/framework | Skill | 589 | today | MIT | A | 57 | Claude Code |
| 01-planai-driven-dev/framework | Skill | 589 | today | MIT | A | 42 | Claude Code |