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

Multi-variant video-to-GIF converter that generates comparison sets for visually picking the best size and quality tradeoff.

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

What it does

  • Covers converting a video into GIF variants across FPS, width, color count, and optional gifsicle lossy levels
  • Includes 4 presets (full, minimal, lossy, quality) and overrides for --fps, --width, --colors, and --lossy
  • Runs FFmpeg two-pass palette generation for each variant and skips widths larger than the source resolution
  • Designed for trimming clips with --start and --end before converting, with FFmpeg and uv required and gifsicle optional

Install

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

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

Files

Skill: Video to GIF

Convert a video file into multiple GIF variants with different parameters, so the user can visually compare and pick the best one.

Prerequisite: FFmpeg and uv must be installed. gifsicle is optional (enables lossy compression variants).


When to Use

The user wants to create a GIF from a video clip but isn't sure about the right parameters. GIF quality involves tradeoffs between:

  • File size — smaller is better for sharing/embedding
  • Color accuracy — fewer colors = smaller but may cause banding
  • Smoothness — higher FPS = smoother but larger
  • Resolution — wider = sharper detail but larger

Rather than guessing, this skill generates multiple variants and lets the user decide.


Default Workflow

When the user provides a video file:

uv run --python 3.12 /path/to/skills/video-to-gif/scripts/video_to_gif.py <input.mp4>

This generates GIFs in <input>_gifs/ directory with the full preset (18 variants):

  • 3 FPS options: 10, 15, 20
  • 3 widths: 480px, 640px, 800px
  • 2 color counts: 128, 256

Output includes a sorted comparison table showing file size, FPS, width, and colors for each variant.


Details

Repository
github.com/zc277584121/marketing-skills
Category
Video & Audio Editing
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14

Similar to Video To Gif

More Video & Audio Editing