/mikefluff-skills:gif-makerfrom Mikefluff Skills
Creates short looping GIFs from existing MP4s with 2-pass palette optimization, or generates 1-3s clips via Veo/Sora/Kling/Runway/fal-video and converts them.
Ships in Mikefluff Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Distinct from reel-builder:
Distinct from video-prompt:
video-prompt --execute for generation mode, then convertsThis skill does NOT:
reel-builderTwo modes:
Mode A — convert MP4 to GIF: Read an existing MP4 → apply optional aspect crop + trim → run 2-pass palette generation (palettegen + paletteuse) for high-quality color → save GIF.
Mode B — generate then convert: Read prompt + provider → call video provider for a short clip → save intermediate MP4 → run conversion pipeline → save GIF.
gif-maker --input <mp4>--aspect 1:1|9:16|16:9|4:5|2:1|1:2.--start <s> --duration <s>.palettegen → palette.png (256 colors, stats_mode=diff)paletteuse with bayer dithering → output GIF./generated/gif/<stem>.gif (or --output <path>).gif-maker --prompt "..." --model <video-slug>veo-3-1-fast for cheapest, kling-3 for best motion)../generated/gif/_source/../generated/gif/<slug>.gif.gif-maker --input <path.mp4> (required)gif-maker --prompt "<text>" --model <video-slug> (both required)--prompt-file <path> — alternative to --prompt--duration <seconds> — target generation length (default depends on model, typically 3-5s; we trim down to keep GIF small)--output <path> — explicit output GIF path--aspect 1:1|9:16|16:9|4:5|2:1|1:2 — center-crop to ratio--fps N — GIF frame rate (default 12; range 6-24)--width N — output width in px (default by aspect: 720 for landscape, 540 for portrait/square)--start <s> — trim start--duration <s> — trim length (Mode A) / target generation (Mode B)--yes — skip cost confirmation (Mode B)--timeout <s> — poll timeout for async video gen (default 600)| File | When to load |
|---|---|
| references/quality-tuning.md | When GIF is too large, colors look banded, or motion is choppy |
| references/model-picker.md | Mode B — which video provider for which kind of clip (motion / talking head / abstract loop) |
| references/troubleshoot.md | When ffmpeg fails, palette breaks, source is too long, etc. |
See examples/before-after.md — 3 calibration runs: convert existing reel to social GIF, generate abstract loop from prompt, convert long video to short looping GIF with trim.
GIFs should be SHORT. 1-3 seconds is the sweet spot. 5+ seconds creates huge files (>10MB), losing the "lightweight" advantage of GIF over MP4.
GIFs are large by nature. Even with palette optimization, expect 500KB-3MB for 2-3 second clips. For smaller files: lower --fps (8-10), lower --width (480 or smaller), shorter --duration.
Lossy color via 256-color palette. GIF max is 256 colors. Photoreal video → noticeable banding. Animated motion / illustrations / cartoons → great. Cue this in Mode B prompt: "flat illustration / animated / cartoon aesthetic" works better than "photoreal".
Aspect crop is center-crop. Source aspect 16:9, target 1:1 → loses left+right portions.
Looping is implicit. GIFs always loop by default (loop=0 = infinite). Source video should naturally loop or close-to-loop for best effect.
No audio. GIFs don't support audio. If user needs audio + animation, that's MP4 territory (use reel-builder or video-prompt --execute).
ffmpeg required. Install via brew install ffmpeg (Mac) / apt-get install ffmpeg (Debian). Without it, skill prints the manual ffmpeg command for the user to run.
Default fps 12. 12fps is the GIF sweet spot. Higher fps = bigger file. Lower fps = choppy motion. Override only when needed.
Cost in Mode B depends on the chosen video provider. Veo 3.1 Fast ~$0.40/sec; Kling 3 ~$0.50/sec; Sora 2 ~$1.00/sec. A 3-second clip = $1.20-$3.00.
No frame interpolation. This skill doesn't upsample frame rates — it samples the existing video at --fps. For smoother motion, generate at higher native fps in Mode B.
Never print API keys (Mode B). Mask in errors.
When the user says any of:
Mode A is the default when --input is provided. Mode B requires both --prompt and --model.
Defaults: --fps 12 --width <by-aspect>. Mode B model default suggestion: veo-3-1-fast (cheapest, fast). For best motion: kling-3. For abstract / artistic: fal-video with hosted model id.
This skill is distinct from:
reel-builder — full reels with script + music + captions, MP4 outputvideo-prompt — single-clip MP4 generationsubtitle-burner — captions on video (no animation)bg-remover — image utility, not videoIf the user wants to add captions to the GIF: not supported in v1. Workaround: use subtitle-burner --inline "<text>" on the intermediate MP4 (Mode B) BEFORE conversion, then GIF the result.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mikefluff/skills --plugin mikefluff-skills46 skills in this plugin
/audio-mix-makerMix music/audio onto an existing video via ffmpeg. Modes: replace, overlay, duck (sidechain compressor lowers music under speech). Volume + fade controls. Pure ffmpeg, no API. Use when: 'mix this music onto the video', 'add background music to video', 'duck the music under voiceover', 'смешай музыку с видео', 'фоновая музыка для видео'./avatar-makerTurn a user photo into N profile-pic / headshot / avatar variants in a consistent style. Identity-preserve focused, defaults to nano-banana-pro. Multi-aspect (square, square-tight, cover 4:5, story 9:16). Use when: 'make me an avatar', 'profile picture from this photo', 'headshot variants', 'LinkedIn profile pic', 'аватарка', 'портрет', 'хедшот'./banner-makerOther plugins' skills for the same job