web-mermaid-diagrams SKILL.md skillB
web-mermaid-diagrams from tanq16/claudex is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add tanq16/claudex/web-mermaid-diagrams@git:20260827.2da6b8dPins git:20260827.2da6b8d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- tanq16/claudex
- Path
internal/embedded/presets/private/skills/web-mermaid-diagrams/SKILL.md- Versions recorded
- 3
- Latest version
- git:20260827.2da6b8d, committed Aug 27, 2026
- First version recorded
- Aug 18, 2026
- Size
- 8,109 bytes
- Repository stars
- 3
- License
- none declared
Catppuccin Mocha themed Mermaid diagrams in a browser page. Use when a frontend renders flowcharts, sequence diagrams, gantt charts, pie charts, git graphs, state diagrams, timelines, or mindmaps, or when Mermaid output does not match the page theme. Triggers on mermaid.initialize, mermaid.run, themeVariables, startOnLoad, a mermaid code fence, and diagrams rendering with default colors or on the wrong surface.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Web Mermaid Diagrams
**One config object themes every Mermaid diagram type in Catppuccin Mocha.**
Mermaid is vendored and pinned at `mermaid@11.17.2`, served from the page's own origin.
```html
<script src="/static/js/mermaid.min.js"></script>
```
## Rules
`theme: 'base'` is what makes `themeVariables` authoritative. Any built-in theme name ignores most of the overrides and leaves diagrams half-themed, which reads as a rendering bug rather than a config choice.
`startOnLoad: false` with a manual `mermaid.run()` puts rendering under your control. Automatic rendering fires once at load and misses every diagram inserted afterwards, which is all of them on a page that renders Markdown.
```javascript
mermaid.initialize(mermaidConfig);
mermaid.run({ nodes: container.querySelectorAll('.mermaid') });
```
Passing an explicit node list re-renders only the diagrams in the container that changed, rather than rescanning the document.
A `mermaid` code fence becomes a `<div class="mermaid">` during Markdown parsing, and `mermaid.run()` takes over those elements afterwards.
…Read the whole file at its exact version.
How to install
mdr add tanq16/claudex/web-mermaid-diagrams@sha256:63c59087d82a18a6The line at the top of this page pins the label git:20260827.2da6b8d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_crswytrbluuc3hhe)
7 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Aug 18, 2026 and Aug 27, 2026, about one every 5 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260827.2da6b8d latest | 2026-08-27 | 2da6b8d | 8,109 B | B | view · diff |
| git:20260823.82d58cc | 2026-08-23 | 82d58cc | 8,109 B | B | view · diff |
| git:20260818.236909b | 2026-08-18 | 236909b | 6,971 B | B | view |
Audit of the latest version
- fail: No script tag (matched: <script)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8109 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
tanq16/claudex · 3 stars · license none declared · pushed 2026-10-12 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_crswytrbluuc3hhe GET https://markdownregistry.com/api/v1/resolve?ref=tanq16/claudex/web-mermaid-diagrams GET https://markdownregistry.com/api/v1/blob/63c59087d82a18a6afb9b8b17345c629f718aeb84504688d373e4e1ffe98692f
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.