New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Converts Mermaid diagrams in .mmd and .md files into animated GIFs with four selectable motion styles.

skills.sh installs
3.9K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers single .mmd files, batch conversion of ``mermaid blocks from markdown, and multi-file runs via mermaid_to_gif.py`
  • Offers four styles: progressive, highlight-walk, pulse-flow, and wave, all keeping the full diagram visible from frame one
  • Includes a context-aware selection guide that maps surrounding document text to the most fitting animation style per block
  • Designed for documentation, presentations, and social media, with theme, FPS, duration, and custom CSS options

Install

$ npx -y skills add zc277584121/marketing-skills --skill mermaid-to-gif -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Skill: Mermaid to GIF

Convert Mermaid diagrams into animated GIFs with rich animation effects. Supports .mmd files and extracting ```mermaid code blocks from .md files.

Prerequisites: FFmpeg, Python 3.8+, Playwright (pip install playwright && playwright install chromium)


When to Use

  • The user wants to convert Mermaid diagrams to animated GIFs
  • The user has .mmd files or .md files containing mermaid code blocks
  • The user needs animated visuals for presentations, documentation, or social media
  • The user wants to batch-convert all mermaid blocks in a document

Context-Aware Style Selection

IMPORTANT: When converting mermaid blocks from .md files, read the surrounding markdown context to choose the most appropriate animation style for each diagram. Do NOT blindly apply the same style to all blocks.

Decision Guide

  1. Read the markdown text around each mermaid block — understand what the diagram is illustrating
  2. Match the style to the semantic meaning:

Details

Repository
github.com/zc277584121/marketing-skills
Category
Technical Documentation
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14

Similar to Mermaid To Gif

More Technical Documentation