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 | $0.00037 | $0.00264 |
| Sonnet 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 6d 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.
- 6d ago First seen · 63 lines · 74 tokens per session scan B 2b72f5ca6d00
mermaid-diagrams is a skill published in the GitHub repository diillson/chatcli (90 stars, last pushed today), licensed Apache-2.0. It adds 74 tokens to every session and 527 once invoked, about $0.0004 per session on Opus 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.
Other skills, from other repositories
01-plan
Turn a request, ticket, or file into a phased implementation plan. Use to plan a feature before building, or to turn a ticket into phases. Do NOT use to write code or review a diff.
ui-mockup
Generate HTML/CSS mockups for UI design. Produces browser-previewable mockup files with placeholder data. Use when the user says ui-mockup, mockup, design UI, wireframe, or needs visual reference for a feature.
prototype
Throwaway prototype to answer a design question — terminal logic explorer or multi-variant UI on one route.
design-taste-frontend
Anti-slop frontend skill for landing pages, portfolios, and redesigns. The agent reads the brief, infers the right design direction, and ships interfaces that do not look templated. Real design systems when applicable, audit-first on redesigns, strict pre-flight check.
image-to-code
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards…
minimalist-ui
Clean editorial-style interfaces. Warm monochrome palette, typographic contrast, flat bento grids, muted pastels. No gradients, no heavy shadows.