Logo: Claude Gif Create

Claude Gif Create

Communautéit
AgriciDaniel
claude-gif-create

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".

Iwwersiicht

EditeurAgriciDaniel
Repositoryclaude-gif
Skill-Nummclaude-gif-create
Stären
31
Forks
8
Matgeliwwert Dateien
Nëmmen Instruktiounen
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    AgriciDaniel huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Claude Gif Create an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/AgriciDaniel/claude-gif/tree/main/skills/claude-gif-create
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AgriciDaniel/claude-gif.git /tmp/claude-gif
mkdir -p .claude/skills
cp -r /tmp/claude-gif/skills/claude-gif-create .claude/skills/claude-gif-create
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Claude Gif Create an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Claude Gif Create automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Claude Gif Create net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

claude-gif-create -- Programmatic GIF Animation (Remotion)

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.

Pipeline Overview

Concept --> React Component --> Remotion Render (PNG frames) --> gif_frames.py --> Optimized GIF

Step-by-Step Procedure

1. Pre-Flight

bash
# Verify Node.js 18+ and Remotion
node --version   # Must be >= 18
npx remotion --version

If Remotion project does not exist yet:

bash
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.

2. Analyze Concept

Determine from the user's request:

  • Animation type: text, spinner, counter, logo, progress bar, meme, typewriter, confetti
  • Content: actual text, colors, sizes
  • Duration: 1-5 seconds (shorter = smaller file)
  • Target platform: determines dimensions and color budget
  • Loop behavior: should it seamlessly loop? Most GIFs should.

3. Read Reference

Before writing any component:

Read ~/.claude/skills/claude-gif/references/remotion-gif.md

This contains template patterns, optimal settings, and code snippets.

4. Write React Component

Create the composition file at /tmp/claude-gif/gif-studio/src/GifComposition.tsx.

GIF-optimized composition settings:

  • Width: 480-640px (wider = bigger file)
  • Height: calculated from aspect ratio (usually 480x480, 480x270, or 640x360)
  • FPS: 10-20 (lower = smaller file, 15 is the sweet spot)
  • Duration: fps x seconds = durationInFrames (e.g., 15fps x 3s = 45 frames)

Key Remotion APIs:

tsx
import { useCurrentFrame, useVideoConfig, spring, interpolate, Sequence, Img } from "remotion";

Critical rules for GIF-quality output:

  • Use flat, solid colors. Gradients create more unique colors = larger palette = bigger file.
  • Limit the color palette to 4-8 dominant colors when possible.
  • Prefer simple backgrounds (solid color or subtle pattern).
  • Avoid complex shadows or blurs (they create many intermediate colors).
  • Use spring() for natural motion, interpolate() for linear control.
  • Keep text large and readable at 480px width.

5. Register Composition

In /tmp/claude-gif/gif-studio/src/Root.tsx:

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}
    />
  );
};

6. Render to PNG Frames

bash
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).

7. Assemble into GIF

bash
~/.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
bash ~/.claude/skills/claude-gif/scripts/gif_convert.sh \
  --input /tmp/claude-gif/frames/video.mp4 \
  --preset web \
  --output ~/Documents/gif_output/animation.gif

8. Optional Optimization

If the GIF is too large for the target platform:

bash
~/.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

9. Cleanup

bash
rm -rf /tmp/claude-gif/frames/

Keep /tmp/claude-gif/gif-studio/ for reuse.

Template Patterns

1. Text Bounce

Animated text that bounces into view with spring physics.

  • Use spring({ frame, fps, config: { damping: 10 } }) for bounce
  • Scale or translateY the text
  • Best for: titles, announcements, greetings

2. Loading Spinner

Rotating dots, arcs, or bars.

  • Use interpolate(frame, [0, durationInFrames], [0, 360]) for rotation
  • CSS transform: rotate(${angle}deg)
  • Best for: loading indicators, status animations

3. Counter / Number Roll

Counting from 0 to N with easing.

  • Math.round(interpolate(frame, [0, durationInFrames], [0, targetNumber]))
  • Best for: stats, milestones, scoreboards

4. Logo Reveal

Logo fades/scales/slides into view.

  • Combine opacity and scale interpolations
  • Use Sequence for staggered reveals (icon first, then text)
  • Best for: brand animations, watermarks

5. Progress Bar

Animated progress fill with percentage label.

  • interpolate(frame, [0, durationInFrames], [0, 100])
  • Best for: achievement unlocks, loading states

6. Meme (Top/Bottom Text)

Image with Impact font text overlaid.

  • Use Img component for background, absolute positioned text
  • Text stroke: WebkitTextStroke: "2px black"
  • Best for: classic meme format

7. Typewriter Effect

Text appearing character by character.

  • text.substring(0, Math.floor(interpolate(frame, [0, dur], [0, text.length])))
  • Add blinking cursor with modulo frame check
  • Best for: code reveals, dramatic text, terminal aesthetics

8. Confetti / Particle Burst

Colorful particles exploding outward.

  • Pre-generate particle array with random angles and velocities
  • Use spring() for gravity-like deceleration
  • Keep particle count low (20-40) for GIF palette friendliness
  • Best for: celebrations, congratulations

Key Rules

  1. Always render as PNG frame sequence (not video). This gives the most control over GIF assembly.
  2. Keep durations short: 1-5 seconds. A 3-second GIF at 15fps = 45 frames = reasonable file size.
  3. Flat colors dominate: Avoid CSS gradients, complex shadows, transparency blending.
  4. Test locally first: npx remotion preview opens a browser for live preview.
  5. Reuse the project: Don't recreate /tmp/claude-gif/gif-studio/ if it already exists.
  6. Width dictates file size: 480px is the sweet spot. Only go 640px for hq preset.
  7. FPS matters: 10fps for tiny Discord GIFs, 15fps for normal use, 20fps max for smooth motion.

Color Strategy

For the smallest GIFs with the best quality:

  • Design with 4-8 primary colors
  • Use a solid background color (not white -- a distinctive color compresses better)
  • Avoid anti-aliasing where possible (crisp edges = fewer colors)
  • If the design has gradients, switch dither to bayer:3 (ordered dithering looks intentional)

Error Recovery

ErrorCauseFix
Cannot find moduleMissing Remotion depscd /tmp/claude-gif/gif-studio && npm install
Composition not foundID mismatchCheck Root.tsx id matches render command
Blank framesComponent returns nullCheck conditional rendering logic
Huge GIF fileToo many colors/framesReduce duration, colors, or width
Pixelated textWidth too smallIncrease to 480px minimum

Heefeg gestallte Froen

Wat mécht de KI-Skill Claude Gif Create?

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".

Firwat Claude Gif Create op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Claude Gif Create besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Claude Gif Create an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/AgriciDaniel/claude-gif/tree/main/skills/claude-gif-create an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Claude Gif Create benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Claude Gif Create benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Claude Gif Create domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Claude Gif Create gratis?

Jo. AgriciDaniel huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇