Gif preview
This skill should be used when the user asks to "make a GIF", "convert a video clip to GIF", "create an animated preview", "turn this clip into a gif", or wants a short looping preview of a video. Produces an optimized GIF using ffmpeg's two-pass palette method.From its SKILL.md
npx -y skills add danrigoli/claude-mediakit --skill gif-previewAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.7 KB, as published. Nobody here has run it
GIF Preview
Turn a slice of a video into a high-quality, size-optimized animated GIF — ideal for previews in READMEs, issues, chat, or social posts.
When to use
Use this skill when a user wants a short looping GIF from a video clip, or an animated preview of a moment in a longer video.
Workflow
- Confirm
ffmpegis available. - Pick the segment: start time and duration (keep GIFs short — 2–6s — to control size).
- Run the bundled script (defaults: start 0, 4s, 480px wide, 12fps):
"${CLAUDE_PLUGIN_ROOT}/skills/gif-preview/scripts/make-gif.sh" INPUT preview.gif 5 4 480 12 # input output start dur width fps - Report the output path and file size. If too large, reduce width, fps, or duration; if colors look banded, raise fps slightly or widen.
Key details
- Uses the two-pass palette method (
palettegen→paletteuse): generate an optimal 256-color palette for the clip, then apply it with dithering. This is dramatically smaller and better-looking than a naive single-pass GIF. stats_mode=diffanddiff_mode=rectangleoptimize for the parts of the frame that actually change, keeping motion crisp while shrinking size.- GIF size scales with width × fps × duration — these are the three knobs to tune.
Resources
scripts/make-gif.sh— two-pass palette GIF generation with tunable clip/size/fps.