mermaid-diagrams SKILL.md skillB

mermaid-diagrams from ahundt/autorun is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add ahundt/autorun/mermaid-diagrams@git:20260816.82c264e

Pins git:20260816.82c264e in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
ahundt/autorun
Path
plugins/autorun/skills/mermaid-diagrams/SKILL.md
Versions recorded
5
Latest version
git:20260816.82c264e, committed Aug 16, 2026
First version recorded
Feb 21, 2026
Size
3,426 bytes
Repository stars
12
License
a license file GitHub does not identify

Render Mermaid diagrams to SVG using beautiful-mermaid and bun. Use when the user asks to "render mermaid", "generate diagram", "create flowchart", "update diagrams", "render SVG from mermaid", "beautiful-mermaid", "regenerate diagrams", or needs to convert Mermaid diagram syntax into styled SVG files. Supports all Mermaid diagram types with 15 themes including tokyo-night.

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

# Mermaid Diagram Rendering with beautiful-mermaid

<purpose>

Render Mermaid `.mmd` files into styled SVG using [beautiful-mermaid](https://github.com/lukilabs/beautiful-mermaid) v1.0.2 and [bun](https://bun.sh).

## Skill Contents

| File | Purpose |
|------|---------|
| `render-mermaid.ts` | CLI tool: renders `.mmd` files to SVG |
| `gemini-diagram-prompt.md` | Prompt for Gemini image generation |

</purpose>

<setup>

## Installation

Only **bun** is required. The `beautiful-mermaid` dependency is auto-installed by bun on first run.

```bash
# macOS
brew install oven-sh/bun/bun

# Or universal installer
curl -fsSL https://bun.sh/install | bash
```

</setup>

<reference>

## CLI Reference

```
render-mermaid — Render Mermaid .mmd files to themed SVG

Usage:
  bun run render-mermaid.ts [options] <input.mmd...>
  echo 'graph TD; A-->B' | bun run render-mermaid.ts -o out.svg

Options:
  -o, --output <file>   Output file (single input only)
  --outdir <dir>        Output directory for multiple files
  -t, --theme <name>    Theme (default: tokyo-night)
  --list-themes         List available themes
  --help                Show this help
```
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add ahundt/autorun/mermaid-diagrams@sha256:be186c1f3af49c56

The line at the top of this page pins the label git:20260816.82c264e, 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.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_uwpeouad5tqlyscb.svg)](https://markdownregistry.com/a/art_uwpeouad5tqlyscb)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 5 versions of this file, between Feb 21, 2026 and Aug 16, 2026, about one every 44 days.

versioncommittedcommitsizeaudit
git:20260816.82c264e latest2026-08-16 82c264e 3,426 BB view · diff
git:20260815.2807be52026-08-15 2807be5 3,331 BB view · diff
git:20260224.68092382026-02-24 6809238 3,165 BB view · diff
git:20260221.9c0844b2026-02-21 9c0844b 3,158 BB view · diff
git:20260221.1e885ab2026-02-21 1e885ab 3,164 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No curl or wget piped into a shell (matched: curl -fsSL https://bun.sh/install | bash)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3426 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 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
  • pass: No script tag

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

GitHub

ahundt/autorun · 12 stars · license a license file GitHub does not identify · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_uwpeouad5tqlyscb
GET https://markdownregistry.com/api/v1/resolve?ref=ahundt/autorun/mermaid-diagrams
GET https://markdownregistry.com/api/v1/blob/be186c1f3af49c5602f84841cd599b1dbaac10df09cc24fba6ea425e0b623505

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.

More from ahundt/autorun

autorun-maintainer SKILL.md skill
ahundt/autorun · .agents/skills/autorun-maintainer/SKILL.md · Expertise in maintaining, debugging, and deploying the autorun hook system across Claude Code, Codex CLI, Gemini-family…
git:20260816.82c264e · audit A · 12 stars
AGENTS.md AGENTS.md file
ahundt/autorun · AGENTS.md
git:20261014.f772782 · audit A · 12 stars
CLAUDE.md CLAUDE.md file
ahundt/autorun · CLAUDE.md
git:20260727.9b75cd9 · audit B · 12 stars
ar SKILL.md skill
ahundt/autorun · plugins/autorun/.codex-plugin/skills/ar/SKILL.md · autorun control commands, stated as prose after $ar: status; allow/justify/find file-creation policy…
git:20260815.2807be5 · audit A · 12 stars
AGENTS.md@plugins/autorun AGENTS.md file
ahundt/autorun · plugins/autorun/AGENTS.md
git:20260818.85c8a47 · audit A · 12 stars
CLAUDE.md@plugins/autorun CLAUDE.md file
ahundt/autorun · plugins/autorun/CLAUDE.md
git:20260805.124c64e · audit B · 12 stars
ai-skill-builder SKILL.md skill
ahundt/autorun · plugins/autorun/skills/ai-skill-builder/SKILL.md · Guides creation, audit, and improvement of portable Agent Skills using the shared
v1.3.0 · audit A · 12 stars
cache SKILL.md skill
ahundt/autorun · plugins/autorun/skills/cache/SKILL.md · Use this skill when the user asks to "enable cache protection", "block on cache miss", "avoid cache expiration cost"…
git:20260816.82c264e · audit A · 12 stars
cli-demo-recorder SKILL.md skill
ahundt/autorun · plugins/autorun/skills/cli-demo-recorder/SKILL.md · Create demo videos for CLI and TUI tools. Use when user asks to "record a demo",
v5.1.0 · audit A · 12 stars
commit SKILL.md skill
ahundt/autorun · plugins/autorun/skills/commit/SKILL.md · Use before writing any git commit message or reviewing one, and when the user asks for "commit requirements", "commit…
git:20260816.da968ed · audit A · 12 stars
function-signature-and-parameter-guidance SKILL.md skill
ahundt/autorun · plugins/autorun/skills/function-signature-and-parameter-guidance/SKILL.md · Design and review caller-facing names and contracts: functions, tools, commands, CLI flags, parameters, config keys…
git:20260816.05745f8 · audit A · 12 stars
marketplace-test SKILL.md skill
ahundt/autorun · plugins/autorun/skills/marketplace-test/SKILL.md · Use when the user asks to "test the marketplace plugins", "run marketplace tests", "check every installed plugin", or…
git:20260816.640f782 · audit A · 12 stars

Every file in ahundt/autorun

Other files named mermaid-diagrams

mermaid-diagrams SKILL.md skill
nicepkg/ai-workflow · workflows/talk-to-slidev-workflow/.claude/skills/mermaid-diagrams/SKILL.md · Create diagrams and visualizations using Mermaid syntax. Use when generating flowcharts, sequence diagrams, class…
git:20260118.be84779 · audit A · 288 stars
mermaid-diagrams SKILL.md skill
magnus919/agent-skills · mermaid-diagrams/SKILL.md · Author, render, troubleshoot, and review Mermaid diagrams for documentation, architecture, processes, and technical…
git:20260823.b084577 · audit B · 162 stars
mermaid-diagrams SKILL.md skill
desko77/claude-code-skills-1c · skills/mermaid-diagrams/SKILL.md · Practical guide for creating human-readable and agent-parseable diagrams using Mermaid. Includes conservative…
git:20260828.2b87e3e · audit A · 87 stars
mermaid-diagrams SKILL.md skill
desko77/cursor-1c-skills · skills/mermaid-diagrams/SKILL.md · Practical guide for creating human-readable and agent-parseable diagrams using Mermaid. Includes conservative…
git:20260828.e6ca64d · audit A · 70 stars
mermaid-diagrams SKILL.md skill
jjmartres/ai-coding-agents · shared/.ai-agents/skills/mermaid-diagrams/SKILL.md · Comprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or…
git:20260428.dfccef3 · audit A · 48 stars
mermaid-diagrams SKILL.md skill
vecnode/vn-code · packages/dsh-diagrams/skills/mermaid-diagrams/SKILL.md · Author Mermaid diagrams that parse the first time: choose the right diagram type for the question, write syntax the…
git:20260930.b3a6a0d · audit A · 10 stars
mermaid-diagrams SKILL.md skill
vecnode/vncode · packages/dsh-diagrams/skills/mermaid-diagrams/SKILL.md · Author Mermaid diagrams that parse the first time: choose the right diagram type for the question, write syntax the…
git:20260930.b3a6a0d · audit A · 10 stars
mermaid-diagrams SKILL.md skill
pantheon-org/tekhne · skills/documentation/mermaid-diagrams/SKILL.md · Comprehensive guide for creating software diagrams using Mermaid syntax. Use when users need to create, visualize, or…
git:20260710.bdf81d7 · audit A · 10 stars

Browse by kind, by grade B, or by owner.