Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
zc277584121 avatar

Video To Gif

  • 2.8k installs
  • Updated July 30, 2026
  • zc277584121/marketing-skills

video-to-gif is an agent skill that Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user c.

About

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 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 bash uv run python 3 12 path to skills video to gif scripts video_to_gif py input mp4 The video to gif agent skill provides documented workflows prerequisites triggers and safety guidance from its SKILL md source Agents load it when user requests match the description and follow step by step instructions without inventing capabilities It integrates with standard agent tooling for the tasks inputs outputs and failure modes

  • description: Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set
  • Convert a video file into multiple GIF variants with different parameters, so the user can visually compare and pick the
  • > **Prerequisite**: FFmpeg and uv must be installed. gifsicle is optional (enables lossy compression variants).
  • Follow video-to-gif SKILL.md steps and documented constraints.
  • Follow video-to-gif SKILL.md steps and documented constraints.

Video To Gif by the numbers

  • 2,825 all-time installs (skills.sh)
  • +219 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #279 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
At a glance

video-to-gif capabilities & compatibility

Capabilities
description: convert a video to multiple gif var · convert a video file into multiple gif variants · > **prerequisite**: ffmpeg and uv must be instal · follow video to gif skill.md steps and documente
Use cases
orchestration
From the docs

What video-to-gif says it does

description: Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.
SKILL.md
Convert a video file into multiple GIF variants with different parameters, so the user can visually compare and pick the best one.
SKILL.md
> **Prerequisite**: FFmpeg and uv must be installed. gifsicle is optional (enables lossy compression variants).
SKILL.md
npx skills add https://github.com/zc277584121/marketing-skills --skill video-to-gif

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs2.8k
Security audit3 / 3 scanners passed
Last updatedJuly 30, 2026
Repositoryzc277584121/marketing-skills

When should an agent use video-to-gif and what problem does it solve?

Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.

Who is it for?

Developers invoking video-to-gif as documented in the skill source.

Skip if: Skip when requirements fall outside video-to-gif documented scope.

When should I use this skill?

Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.

What you get

Outputs aligned with the video-to-gif SKILL.md workflow and stated deliverables.

  • Multiple GIF variant files
  • Visual comparison set
  • Optimized embed-ready animation

Files

SKILL.mdMarkdownGitHub ↗

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.

---

Presets

PresetVariantsBest For
full~18General use — broad exploration of the parameter space
minimal~4Quick comparison — just a few key tradeoff points
lossy~12Smallest files — includes gifsicle lossy compression levels
quality~12Best visuals — higher res, includes bayer dithering
# Quick comparison with fewer variants
uv run --python 3.12 .../video_to_gif.py input.mp4 --presets minimal

# Include lossy compression (requires gifsicle)
uv run --python 3.12 .../video_to_gif.py input.mp4 --presets lossy

# Higher quality focus
uv run --python 3.12 .../video_to_gif.py input.mp4 --presets quality

---

Common Options

FlagDefaultDescription
-o, --output-dir<input>_gifs/Output directory for all GIF variants
--startnoneStart time in seconds (trim source)
--endnoneEnd time in seconds (trim source)
--presetsfullPreset config: full, minimal, lossy, quality
--fpspresetOverride FPS values (e.g., --fps 10 15 20)
--widthpresetOverride width values (e.g., --width 480 640)
--colorspresetOverride color counts (e.g., --colors 128 256)
--lossypresetGifsicle lossy levels (e.g., --lossy 0 30 80)

---

Examples

# Convert first 10 seconds of a video
uv run --python 3.12 .../video_to_gif.py demo.mp4 --end 10

# Extract a specific segment
uv run --python 3.12 .../video_to_gif.py demo.mp4 --start 5 --end 15

# Custom parameter sweep
uv run --python 3.12 .../video_to_gif.py demo.mp4 --fps 12 15 --width 480 800 --colors 256

# Lossy compression comparison (needs gifsicle)
uv run --python 3.12 .../video_to_gif.py demo.mp4 --lossy 0 30 60 100

---

How to Choose

After running, open the output directory and compare:

1. Start with the smallest files — check if quality is acceptable 2. Look for color banding — if visible, try 256 colors or bayer dithering (quality preset) 3. Check smoothness — if too choppy, go up to 15 or 20 FPS 4. Check clarity — if text is unreadable, go up to 640 or 800px width

The sweet spot for most screen recordings is usually around 640px, 15fps, 256 colors.

---

Important Notes

  • Widths larger than the source video resolution are automatically skipped.
  • The script uses FFmpeg's two-pass palette generation for optimal GIF quality (much better than single-pass).
  • Lossy compression via gifsicle can reduce file size by 30-70% with minimal visual impact at level 30-60.
  • For very long clips, consider trimming with --start/--end first — GIFs over 10 seconds can get very large.

Related skills

FAQ

What is video-to-gif?

Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.

When should I use video-to-gif?

Convert a video to multiple GIF variants with different quality/size tradeoffs. Generates a comparison set so the user can visually pick the best result.

Is video-to-gif safe to install?

Review the Security Audits panel on this page before production use.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.