Claude Gif logo

Claude Gif

Community
AgriciDaniel
claude-gif

Ultimate GIF creator: AI video-to-GIF (Veo 3.1), programmatic animations (Remotion), AI image sequence assembly (Gemini/FLUX.2), animated SVG-to-transparent-GIF (Playwright), video conversion, and GIF editing/optimization. Palette optimization, perfect loops, platform-specific sizing, dithering control. Use when user says "gif", "create gif", "make gif", "animated gif", "convert to gif", "optimize gif", "gif from video", "meme gif", "reaction gif", "loading spinner gif", "logo animation gif", "transparent gif", "svg to gif", or "/gif".

Overview

PublisherAgriciDaniel
Repositoryclaude-gif
Skill nameclaude-gif
Stars
31
Forks
8
Bundled files
12
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 12 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by AgriciDaniel on GitHub. Read the source before you install it.

Installation

Install the Claude Gif AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AgriciDaniel/claude-gif/tree/main/skills/claude-gif
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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 .claude/skills/claude-gif
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Claude Gif in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Claude Gif on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Claude Gif is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

claude-gif -- The Ultimate GIF Creator

Orchestrates five sub-skills to create, generate, convert, optimize, and edit GIFs. Every path from concept to final optimized GIF runs through this skill.

Quick Reference

CommandDescriptionSub-Skill
/gif create <idea>Programmatic animation via Remotion (text, spinners, memes, motion graphics)claude-gif-create
/gif generate <prompt>AI video generation via Veo 3.1, then convert to GIFclaude-gif-generate
/gif convert <path>Convert video, image sequence, or animated SVG to GIFclaude-gif-convert
/gif optimize <path>Reduce GIF file size for a target platformclaude-gif-optimize
/gif edit <path>Modify an existing GIF (speed, reverse, crop, text, trim)claude-gif-edit
/gif setupInstall/verify all dependencies(setup.sh)
/gif <idea>Auto-detect best approach from description(orchestrator routes)

Orchestration Logic

When the user invokes /gif, determine intent and route to the correct sub-skill.

Intent Detection

  1. Has a file path to a video/image/SVG? --> /gif convert
  2. Has a file path to an existing GIF?
    • Mentions size, compress, platform fit --> /gif optimize
    • Mentions speed, reverse, crop, text, trim --> /gif edit
  3. Describes a text animation, spinner, counter, meme, logo animation, progress bar? --> /gif create
  4. Describes realistic/cinematic motion, product demo, abstract art, nature scene? --> /gif generate
  5. Ambiguous description of something to animate?
    • If it involves text, geometric shapes, UI elements --> /gif create (Remotion)
    • If it involves photorealistic subjects, complex motion --> /gif generate (Veo)
  6. Mentions "optimize", "compress", "reduce", "fit", platform name? --> /gif optimize
  7. Mentions "edit", "speed", "reverse", "crop", "text overlay"? --> /gif edit
  8. Says "setup" or "install"? --> Run bash ~/.claude/skills/claude-gif/scripts/setup.sh

Routing Commands

/gif create "bouncing hello world text"      --> claude-gif-create
/gif generate "campfire flickering at night"  --> claude-gif-generate
/gif convert ~/Videos/clip.mp4               --> claude-gif-convert
/gif convert ~/Design/logo.svg               --> claude-gif-convert (Mode D: SVG)
/gif optimize ~/Documents/gif_output/big.gif --> claude-gif-optimize
/gif edit ~/Documents/gif_output/clip.gif    --> claude-gif-edit
/gif setup                                   --> scripts/setup.sh

Bare /gif <description> Routing

When no explicit sub-command is given, analyze the description:

  • Keywords "text", "spinner", "loading", "counter", "meme", "typewriter", "logo reveal", "progress" --> create
  • Keywords "realistic", "cinematic", "product", "nature", "abstract", "person", "animal" --> generate
  • A file path to .mp4/.webm/.mov/.avi/.mkv/.svg --> convert
  • A file path to .gif + size/platform keywords --> optimize
  • A file path to .gif + edit keywords --> edit

Quality Presets

PresetWidthFPSColorsDitherMax SizeBest For
discord320px10128bayer:3256 KBDiscord inline embeds
slack400px12192floyd_steinberg500 KBSlack messages
twitter480px15256floyd_steinberg15 MBTwitter/X posts
web480px15256floyd_steinberg2 MBGeneral web usage
hq640px20256sierra210 MBHigh-quality display

Safety Rules

  1. No-overwrite: Always pass -n to FFmpeg (skip if output exists). Only pass -y when user explicitly says overwrite.
  2. Source protection: NEVER write output to the same path as input. Preflight catches this.
  3. Cost confirmation: Veo generation costs money. Always confirm with user before calling generate.py.
  4. Temp isolation: All intermediate files go in /tmp/claude-gif/. Clean up on completion.
  5. Output directory: Final GIFs go to ~/Documents/gif_output/ unless user specifies a different path.
  6. Preflight check: Run bash ~/.claude/skills/claude-gif/scripts/preflight.sh <input> <output> before any file write.

Multi-Step Pipelines

Complex requests may chain sub-skills:

generate --> convert --> optimize
  (Veo)    (to GIF)   (for Discord)

create --> optimize
(Remotion)  (shrink)

convert --> edit --> optimize
(video)   (trim)   (platform)

convert (SVG) --> optimize
  (Playwright)    (for web)

Always plan the full pipeline before starting. Tell the user the steps.

Pre-Flight

Before ANY write operation:

bash
bash ~/.claude/skills/claude-gif/scripts/preflight.sh <input_file> <output_file>

On /gif setup or first use:

bash
bash ~/.claude/skills/claude-gif/scripts/check_deps.sh

If dependencies are missing:

bash
bash ~/.claude/skills/claude-gif/scripts/setup.sh

Reference Files

Load on demand -- only read the reference relevant to the current task:

ReferencePathWhen to Load
GIF Optimization~/.claude/skills/claude-gif/references/gif-optimization.mdBefore optimize, or choosing palette/dither settings
Platform Specs~/.claude/skills/claude-gif/references/platform-specs.mdWhen targeting a specific platform
Remotion Patterns~/.claude/skills/claude-gif/references/remotion-gif.mdBefore writing Remotion components
Prompt Engineering~/.claude/skills/claude-gif/references/prompt-engineering.mdBefore constructing Veo prompts
Perfect Loops~/.claude/skills/claude-gif/references/perfect-loops.mdWhen making seamless loops

Scripts

ScriptPathPurpose
setup.shscripts/setup.shInstall and verify all dependencies
check_deps.shscripts/check_deps.shCheck dependency status (JSON, no installs)
preflight.shscripts/preflight.shSafety check before writes (input/output validation)
gif_convert.shscripts/gif_convert.shFFmpeg two-pass palette video-to-GIF conversion
gif_optimize.pyscripts/gif_optimize.pyMulti-strategy GIF size optimizer (Python)
gif_loop.pyscripts/gif_loop.pyPerfect loop creator: crossfade, ping-pong, freeze blend (Python)
gif_frames.pyscripts/gif_frames.pyAssemble PNG/JPEG frames into optimized GIF (Python)

All scripts are in ~/.claude/skills/claude-gif/scripts/. Python scripts use ~/.video-skill/bin/python3 (venv with Pillow, numpy).

Sub-Skills

Sub-SkillWhen to Use
claude-gif-createProgrammatic animations: text, spinners, counters, memes, logos, progress bars, motion graphics. Uses Remotion (React + Node.js).
claude-gif-generateAI-generated motion: cinematic loops, product demos, abstract art, realistic subjects. Uses Veo 3.1 (costs money).
claude-gif-convertFile conversion: video to GIF, image sequence to GIF, AI image sequence to GIF, animated SVG to transparent GIF.
claude-gif-optimizeSize reduction: platform auto-fit, lossy compression, color/dimension/frame reduction, dither tuning.
claude-gif-editModify existing GIFs: speed change, reverse, ping-pong, crop, resize, text overlay, frame extraction, loop control, trim.

Workflow Example

User: "Make me a Discord-sized GIF of a cozy campfire loop"

  1. Route to claude-gif-generate (realistic motion = Veo)
  2. Read references/prompt-engineering.md for loop-friendly prompt patterns
  3. Confirm cost with user (~$0.60 for 4s Veo Fast)
  4. Generate 4s campfire video via Veo
  5. Convert to GIF: gif_convert.sh --input campfire.mp4 --preset discord
  6. Perfect loop: gif_loop.py --input campfire.gif --method crossfade --frames 5
  7. Verify size < 256KB. If over, route through claude-gif-optimize
  8. Deliver to ~/Documents/gif_output/campfire_discord.gif

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Claude Gif AI skill do?

Ultimate GIF creator: AI video-to-GIF (Veo 3.1), programmatic animations (Remotion), AI image sequence assembly (Gemini/FLUX.2), animated SVG-to-transparent-GIF (Playwright), video conversion, and GIF editing/optimization. Palette optimization, perfect loops, platform-specific sizing, dithering control. Use when user says "gif", "create gif", "make gif", "animated gif", "convert to gif", "optimize gif", "gif from video", "meme gif", "reaction gif", "loading spinner gif", "logo animation gif", "transparent gif", "svg to gif", or "/gif".

Why use Claude Gif on TypingMind?

Because you install it once and use it with any model. Claude Gif is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Claude Gif in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AgriciDaniel/claude-gif/tree/main/skills/claude-gif. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Claude Gif?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Claude Gif?

As many as you like. As long as a model supports skills, you can use Claude Gif with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Claude Gif AI skill free?

Yes. It is published on GitHub by AgriciDaniel under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇