Converts videos to GIFs by generating multiple variants with different quality and size tradeoffs, then shows you a comparison table so you can pick the best one instead of guessing at parameters. Runs FFmpeg with two-pass palette generation across combinations of FPS (10/15/20), width (480/640/800px), and color depth (128/256). Includes presets for quick comparisons, quality-focused output, or lossy compression via gifsicle if you need smaller files. The workflow is straightforward: point it at a video, get 4-18 GIFs depending on preset, compare them visually, keep the one that balances file size against smoothness and clarity. Honestly the best part is not having to re-encode five times manually when your first attempt is either too choppy or 50MB.

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

Install

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

Installs into .claude/skills of the current project.

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.


Sponsors

Details

Repository
github.com/zc277584121/marketing-skills
Categories
Code Review & Quality, Marketing & SEO
First seen
May 16, 2026

More from zc277584121/marketing-skills

All 14
1github avatareval-driven-devgithub/awesome-copilotImprove AI application with evaluation-driven development. Define eval criteria, instrument the application, build golden datasets, observe and evaluate applica3.9Kskills.sh installs
2dotnet avatarsystem-text-json-net11dotnet/skillsImperative guidance for the System.Text.Json APIs added in .NET 11: the built-in `JsonNamingPolicy.PascalCase` naming policy, and the strongly-typed `JsonSerial3.8Kskills.sh installs
3yaklang avatarrace-conditionyaklang/hack-skillsRace condition and TOCTOU testing for web apps. Use when testing one-time operations, concurrent HTTP abuse, rate-limit bypass, Turbo Intruder gates, HTTP/2 sin3.8Kskills.sh installs
4minimax-ai avatarminimax-xlsxminimax-ai/skillsOpen, create, read, analyze, edit, or validate Excel/spreadsheet files (.xlsx, .xlsm, .csv, .tsv). Use when the user asks to create, build, modify, analyze, rea3.8Kskills.sh installs
5majidmanzarpour avatarthreejs-gameplay-systemsmajidmanzarpour/threejs-game-skillsBuild and iterate playable Three.js game systems. Combines starter scaffold creation, architecture, game design, level design, gameplay implementation, combat/e3.8Kskills.sh installs
6zc277584121 avatarscreenshot-compressionzc277584121/marketing-skillsCompress PNG and JPEG screenshots in place using pngquant and jpegoptim, keeping the original format for maximum compatibility.3.8Kskills.sh installs