mermaid-diagram SKILL.md skillF

mermaid-diagram from wanshuiyin/auto-claude-code-research-in-sleep is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add wanshuiyin/auto-claude-code-research-in-sleep/mermaid-diagram@git:20261007.26b95cf

Pins git:20261007.26b95cf in mdr.lock. Pin the fingerprint instead.

Audit grade
F, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
wanshuiyin/auto-claude-code-research-in-sleep
Path
skills/mermaid-diagram/SKILL.md
Versions recorded
6
Latest version
git:20261007.26b95cf, committed Oct 7, 2026
First version recorded
Mar 18, 2026
Size
16,323 bytes
Repository stars
18,690
License
MIT

Generate Mermaid diagrams from user requirements. Supports flowcharts, sequence diagrams, class diagrams, ER diagrams, Gantt charts, and 18 more diagram types.

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 Generator

Generate high-quality Mermaid diagram code based on user requirements, with file output and verification.

## Constants

- **OUTPUT_DIR = `figures/`** — Output directory for all generated files
- **MAX_ITERATIONS = 3** — Maximum refinement rounds for syntax errors

## Workflow: MUST EXECUTE ALL STEPS

### Step 0: Pre-flight Check

```bash
# Create output directory
mkdir -p figures
```

### Step 1: Understand Requirements & Select Diagram Type

Parse the input: **$ARGUMENTS**

1. Analyze user description to determine the most suitable diagram type
2. Read the corresponding syntax reference documentation (see Step 2 below)
3. **If the diagram involves mathematical notation** (formulas, equations, Greek letters, subscripts, superscripts, fractions, matrices, etc.), apply the math syntax rules from the **Math Formulas in Diagrams** section below
4. Identify all components, connections, and data flow
5. Plan the diagram structure

### Step 2: Read Documentation

Select the appropriate diagram type based on the use case. Use your built-in knowledge of Mermaid syntax, or fetch up-to-date docs via the context7 MCP server if needed.

| Type | Use Cases |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add wanshuiyin/auto-claude-code-research-in-sleep/mermaid-diagram@sha256:8f42b38a1deaa7b9

The line at the top of this page pins the label git:20261007.26b95cf, 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_p5c76h4ipb7s4gmb.svg)](https://markdownregistry.com/a/art_p5c76h4ipb7s4gmb)

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

Versions

The registry has recorded 6 versions of this file, between Mar 18, 2026 and Oct 7, 2026, about one every 41 days.

versioncommittedcommitsizeaudit
git:20261007.26b95cf latest2026-10-07 26b95cf 16,323 BF view · diff
git:20260713.e67ae162026-07-13 e67ae16 16,321 BF view · diff
git:20260601.bc9bfe52026-06-01 bc9bfe5 16,319 BF view · diff
git:20260318.0c5e07a2026-03-18 0c5e07a 16,390 BF view · diff
git:20260318.e7b7f312026-03-18 e7b7f31 16,385 BF view · diff
git:20260318.852062f2026-03-18 852062f 17,479 BF view

Audit of the latest version

F  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • FAIL, critical: No zero-width or bidi control characters (matched: ​)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (16323 bytes)
  • 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
  • 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

wanshuiyin/auto-claude-code-research-in-sleep · 18,690 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_p5c76h4ipb7s4gmb
GET https://markdownregistry.com/api/v1/resolve?ref=wanshuiyin/auto-claude-code-research-in-sleep/mermaid-diagram
GET https://markdownregistry.com/api/v1/blob/8f42b38a1deaa7b98d782136cadbd5142aeb02ed773f08aa8c0df8af0631b5a0

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 wanshuiyin/auto-claude-code-research-in-sleep

ablation-planner SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/ablation-planner/SKILL.md · Use when main results pass result-to-claim (claim_supported=yes or partial) and ablation studies are needed for paper…
git:20260906.0472e53 · audit A · 18,690 stars
alphaxiv SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/alphaxiv/SKILL.md · Quick single-paper lookup via AlphaXiv LLM-optimized summaries with tiered source fallback. Use when user says "explain…
git:20260929.2132036 · audit A · 18,690 stars
analyze-results SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/analyze-results/SKILL.md · Analyze ML experiment results, compute statistics, generate comparison tables and insights. Use when user says "analyze…
git:20260713.e67ae16 · audit A · 18,690 stars
arxiv SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/arxiv/SKILL.md · Search, download, and summarize academic papers from arXiv. Use when user says "search arxiv", "download paper", "fetch…
git:20260714.3c58cac · audit A · 18,690 stars
auto-paper-improvement-loop SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/auto-paper-improvement-loop/SKILL.md · Autonomously improve a generated paper via GPT-6-Astra xhigh review → implement fixes → recompile, for 2 rounds. Use…
git:20261031.d419560 · audit A · 18,690 stars
auto-review-loop-llm SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/auto-review-loop-llm/SKILL.md · Autonomous research review loop using any OpenAI-compatible LLM API. Configure via llm-chat MCP server or environment…
git:20261024.f455879 · audit A · 18,690 stars
auto-review-loop-minimax SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/auto-review-loop-minimax/SKILL.md · Autonomous multi-round research review loop using MiniMax API. Use when you want to use MiniMax instead of Codex MCP…
git:20260713.e67ae16 · audit A · 18,690 stars
auto-review-loop SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/auto-review-loop/SKILL.md · Autonomous multi-round research review loop. In Copilot CLI it defaults to the native complementary rubber-duck…
git:20261024.f455879 · audit A · 18,690 stars
citation-audit SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/citation-audit/SKILL.md · Zero-context verification that every bibliographic entry in the paper is real, correctly attributed, and used in a…
git:20261019.8fdc2d5 · audit A · 18,690 stars
citation-crosscheck SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/citation-crosscheck/SKILL.md · Double-blind bibliographic cross-check: one agent extracts each cited entry verbatim from the local .bib, a second…
git:20261019.19105bb · audit A · 18,690 stars
claims-drafting SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/claims-drafting/SKILL.md · Draft patent claims for an invention. Use when user says "撰写权利要求", "draft claims", "写权利要求书", "claim drafting", or wants…
git:20261019.8fdc2d5 · audit A · 18,690 stars
comm-lit-review SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/comm-lit-review/SKILL.md · Communications-domain literature review with Claude-style knowledge-base-first retrieval. Use when the task is about…
git:20260702.5d6e40a · audit A · 18,690 stars

Every file in wanshuiyin/auto-claude-code-research-in-sleep

Other files named mermaid-diagram

mermaid-diagram SKILL.md skill
wanshuiyin/auto-claude-code-research-in-sleep · skills/skills-codex/mermaid-diagram/SKILL.md · Generate Mermaid diagrams from user requirements. Save .mmd and .md files to figures/ with syntax verification…
git:20261007.26b95cf · audit A · 18,690 stars

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