Skill 详情

claude-gif

Relevant only for GIF creation, conversion, and optimization.

匹配类型可能匹配已针对 动画制作 审核
来源agricidaniel/claude-gif外部来源
报告安装量11仅表示受欢迎程度

使用前先检查

自动化审核只检查相关性,不代表安全审查或推荐。使用前请阅读来源中的说明。

已保存的来源预览

SKILL.md

这段内容是审核时保存的快照。外部来源才是完整且最新的版本。

---
name: claude-gif
description: >
  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".
argument-hint: "[create|generate|convert|optimize|edit] <idea, path, or command>"
allowed-tools:
  - Bash
  - Read
  - Write
  - Edit
  - Glob
  - Grep
metadata:
  version: "1.0.0"
  author: AgriciDaniel
---

# 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

| Command | Description | Sub-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 GIF | claude-gif-generate |
| `/gif convert <path>` | Convert video, image sequence, or animated SVG to GIF | claude-gif-convert |
| `/gif optimize <path>` | Reduce GIF file size for a target platform | claude-gif-optimize |
| `/gif edit <path>` | Modify an existing GIF (speed, reverse, crop, text, trim) | claude-gif-edit |
| `/gif setup` | Install/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

| Preset | Width | FPS | Colors | Dither | Max Size | Best For |
|--------|-------|-----|--------|--------|----------|----------|
在 GitHub 阅读完整来源 (打开外部页面)
相关上下文

相关工作