claude-gif-convert
Convert video files, image sequences, and animated SVGs to optimized GIFs. Mode A: Video to GIF (FFmpeg two-pass palette). Mode…
Programmatic GIF creation using Remotion (React-based). Generates text animations, loading spinners, logo reveals, meme templates, data visualizations, typewriter effects, and motion graphics as GIFs. Claude writes React components, Remotion renders frames, FFmpeg assembles with
$ npx -y skills add AgriciDaniel/claude-gif --skill claude-gif-create --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/claude-gif-createContext preview
The summary Claude sees to decide when to auto-load this skill.
Programmatic GIF creation using Remotion (React-based). Generates text animations, loading spinners, logo reveals, meme templates, data visualizations, typewriter effects, and motion graphics as GIFs. Claude writes React components, Remotion renders frames, FFmpeg assembles with
name: claude-gif-create description: > Programmatic GIF creation using Remotion (React-based). Generates text animations, loading spinners, logo reveals, meme templates, data visualizations, typewriter effects, and motion graphics as GIFs. Claude writes React components, Remotion renders frames, FFmpeg assembles with palette optimization. Use when user says "text animation gif", "loading spinner gif", "logo reveal gif", "meme template", "counter gif", "progress bar gif", "remotion gif", "programmatic gif", or "motion graphics gif". allowed-tools: - Bash - Read - Write - Edit
Creates GIFs from React components rendered by Remotion. Best for text animations, UI elements, geometric patterns, data-driven visuals, and anything that can be expressed as code rather than captured from reality.
Concept --> React Component --> Remotion Render (PNG frames) --> gif_frames.py --> Optimized GIF
# Verify Node.js 18+ and Remotion node --version # Must be >= 18 npx remotion --version
If Remotion project does not exist yet:
cd /tmp/claude-gif npx create-video@latest gif-studio --template blank cd gif-studio npm install
Reuse existing project at `/tmp/claude-gif/gif-studio/` if it already exists.
Determine from the user's request:
Before writing any component:
Read ~/.claude/skills/claude-gif/references/remotion-gif.md
This contains template patterns, optimal settings, and code snippets.
Create the composition file at `/tmp/claude-gif/gif-studio/src/GifComposition.tsx`.
GIF-optimized composition settings:
Key Remotion APIs:
import { useCurrentFrame, useVideoConfig, spring, interpolate, Sequence, Img } from "remotion";**Critical rules for GIF-quality output:**
In `/tmp/claude-gif/gif-studio/src/Root.tsx`:
import { Composition } from "remotion";
import { GifComposition } from "./GifComposition";
export const RemotionRoot: React.FC = () => {
return (
<Composition
id="GifOutput"
component={GifComposition}
durationInFrames={45}
fps={15}
width={480}
height={480}
/>
);
};mkdir -p /tmp/claude-gif/frames npx remotion render src/index.ts GifOutput \ --image-format png \ --sequence \ --output /tmp/claude-gif/frames/frame%04d.png \ --concurrency 4
The `--sequence` flag outputs individual frames instead of a video. Use `--concurrency 4` to speed up rendering on multi-core (8 cores available).
~/.video-skill/bin/python3 ~/.claude/skills/claude-gif/scripts/gif_frames.py \ --input-dir /tmp/claude-gif/frames/ \ --fps 15 \ --width 480 \ --preset web \ --output ~/Documents/gif_output/animation.gif
Or use gif_convert.sh if frames were rendered as a video:
bash ~/.claude/skills/claude-gif/scripts/gif_convert.sh \ --input /tmp/claude-gif/frames/video.mp4 \ --preset web \ --output ~/Documents/gif_output/animation.gif
If the GIF is too large for the target platform:
~/.video-skill/bin/python3 ~/.claude/skills/claude-gif/scripts/gif_optimize.py \ --input ~/Documents/gif_output/animation.gif \ --target-size 256 \ --output ~/Documents/gif_output/animation_discord.gif
rm -rf /tmp/claude-gif/frames/
Keep `/tmp/claude-gif/gif-studio/` for reuse.
Animated text that bounces into view with spring physics.
Rotating dots, arcs, or bars.
Counting from 0 to N with easing.
Logo fades/scales/slides into view.
Animated progress fill with percentage label.
Image with Impact font text overlaid.
Text appearing character by character.
GIF creation skill for Claude Code with 6 generation pipelines: AI video-to-GIF (Veo 3.1), programmatic animations (Remotion), AI image sequences (Gemini/FLUX.2), animated SVG-to-transparent-GIF (Playwright), video conversion (FFmpeg), and GIF
Convert video files, image sequences, and animated SVGs to optimized GIFs. Mode A: Video to GIF (FFmpeg two-pass palette). Mode…
Edit and modify existing GIFs. Speed change, reverse, ping-pong, crop, resize, text overlay, frame extraction, loop control,…
AI video-to-GIF generation using Veo 3.1. Generates short AI video clips and converts to optimized GIFs with palette optimization…
Optimize GIF file size and quality. Multi-strategy optimization: gifsicle lossy compression, color reduction, dimension…
Ultimate GIF creator: AI video-to-GIF (Veo 3.1), programmatic animations (Remotion), AI image sequence assembly (Gemini/FLUX.2),…