Claude Gifのロゴ

Claude Gif

コミュニティ
AgriciDaniel
claude-gif

あらゆる用途に対応するGIF作成ツールです。AI動画からGIFへの変換(Veo 3.1)、プログラムによるアニメーション作成(Remotion)、AI画像シーケンスの組み立て(Gemini/FLUX.2)、アニメーションSVGから透明GIFへの変換(Playwright)、動画変換、GIFの編集・最適化に対応します。パレット最適化、滑らかなループ、プラットフォームに応じたサイズ調整、ディザリング制御も可能です。「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」「/gif」といったリクエストで使用します。

概要

公開者AgriciDaniel
リポジトリclaude-gif
スキル名claude-gif
スター
31
フォーク
8
同梱ファイル
12
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 12個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    AgriciDanielがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Claude Gif」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AgriciDaniel/claude-gif/tree/main/skills/claude-gif
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでClaude Gifを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にClaude Gifを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Claude Gifは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Claude Gif」では何ができますか?

あらゆる用途に対応するGIF作成ツールです。AI動画からGIFへの変換(Veo 3.1)、プログラムによるアニメーション作成(Remotion)、AI画像シーケンスの組み立て(Gemini/FLUX.2)、アニメーションSVGから透明GIFへの変換(Playwright)、動画変換、GIFの編集・最適化に対応します。パレット最適化、滑らかなループ、プラットフォームに応じたサイズ調整、ディザリング制御も可能です。「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」「/gif」といったリクエストで使用します。

TypingMindでClaude Gifを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Claude Gifはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにClaude Gifをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AgriciDaniel/claude-gif/tree/main/skills/claude-gifを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Claude Gifを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Claude Gifで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもClaude Gifを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Claude Gif」は無料ですか?

はい。AgriciDanielがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇