Mermaid Tools
Extracts Mermaid diagrams from markdown and renders them as validated, size-adjusted PNG images.
- CCM score
- 61 of 100
- skills.sh installs
- 1.5K
- GitHub stars
- 1.6K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers the full pipeline: extracting code blocks, numbering them in order, writing
.mmdfiles, and rendering PNGs - Includes
extract-and-generate.sh,extract_diagrams.py, andpuppeteer-config.json, which must run from thescripts/directory - Adjusts output dimensions by diagram name, with wide sizes for timeline, workflow, and sequence diagrams and large sizes for architecture diagrams
- Designed for WSL2 environments where Chrome and mermaid-cli dependencies need manual setup and environment overrides like
MERMAID_SCALE
Install
$ npx -y skills add daymade/claude-code-skills --skill mermaid-tools -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Mermaid Tools
Overview
This skill enables extraction of Mermaid diagrams from markdown files and generation of high-quality PNG images. The skill bundles all necessary scripts (extract-and-generate.sh, extract_diagrams.py, and puppeteer-config.json) in the scripts/ directory for portability and reliability.
Core Workflow
Standard Diagram Extraction and Generation
Extract Mermaid diagrams from a markdown file and generate PNG images using the bundled extract-and-generate.sh script:
cd "${CLAUDE_SKILL_DIR}/scripts"
./extract-and-generate.sh "<markdown_file>" "<output_directory>"
Parameters:
<markdown_file>: Path to the markdown file containing Mermaid diagrams<output_directory>: (Optional) Directory for output files. Defaults to<markdown_file_directory>/diagrams
Example:
cd "${CLAUDE_SKILL_DIR}/scripts"
./extract-and-generate.sh "<markdown_file>" "<output_directory>"
What the Script Does
Details
- Repository
- github.com/daymade/claude-code-skills
- Categories
- Technical Documentation, Workflow Automation
- First seen
- Jun 3, 2026
More from daymade/claude-code-skills
All 50- Statusline Generator1.5K
- Skills Search1.5K
- Capture Screen1.1K
- Pdf Creator1.1K
- Docs Cleaner1.1K
- Claude Md Progressive Disclosurer1.1K
- Video Comparer1K
- Github Contributor1K
- Llm Icon Finder1K
- Cli Demo Generator1K
- Cloudflare Troubleshooting1K
- Teams Channel Post Writer1K
- Claude Skills Troubleshooting997
- Repomix Safe Mixer980
- Financial Data Collector953
- Doc To Markdown952
- Repomix Unmixer951
- Product Analysis946
- Windows Remote Desktop Connection Doctor883
- Scrapling Skill863
- Fixing Claude Export Conversations832
- Douban Skill823
- Skill Creator805
- Terraform Skill782
Similar to Mermaid Tools
More Technical Documentationdraw.ioMCP serverjgraph5.9K starsTurns Mermaid, PlantUML, CSV, or draw.io XML into editable diagrams inline in chat.
mermaid-cliPlugindashed/claude-marketplace27 starsGenerate, validate, and fix diagrams from Mermaid markup using mmdc. Use when creating flowcharts, sequence diagrams, class diagrams, converting .mmd files to i
pretty-mermaidSkillimxv/pretty-mermaid-skills4.8K installsRenders Mermaid diagrams to themed SVG, PNG, or ASCII/Unicode with local, browser-free processing.
mermaid-diagramSkillwanshuiyin/auto-claude-code-research-in-sleep575 installsGenerates Mermaid diagrams from plain-language requirements, writing both raw .mmd and markdown-embedded files.
diagram-to-imageSkillsugarforever/01coder-agent-skills516 installsConvert Mermaid diagrams and Markdown tables into styled PNG images via an external rendering API.
archifySkilltt-a1i/archify195.8K installsCreate validated architecture, workflow, sequence, ERD, and timeline diagrams as standalone HTML with native exports.