| name | slack-gif-creator |
| description | Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack. |
| version | 1.0.0 |
| author | Anthropic |
| license | Apache 2.0 |
| triggers | ["Slack GIF","animated GIF","Slack emoji","animation","PIL","Pillow"] |
| tools | ["file_read","file_write","shell"] |
| models | ["qwen3-coder","qwen3-32b"] |
Slack GIF Creator
Slack Requirements
- Emoji GIFs: 128x128
- Message GIFs: 480x480
- FPS: 10-30
- Colors: 48-128
- Duration: Under 3 seconds for emoji
Core Workflow
from PIL import Image, ImageDraw
frames = []
for i in range(12):
frame = Image.new('RGB', (128, 128), (240, 248, 255))
draw = ImageDraw.Draw(frame)
draw.ellipse([x1, y1, x2, y2], fill=(r, g, b))
frames.append(frame)
frames[0].save('output.gif', save_all=True,
append_images=frames[1:],
loop=0, duration=100, optimize=True)
Animation Concepts
- Shake/Vibrate: Offset with oscillation
- Pulse: Scale rhythmically with sine
- Bounce: Apply gravity to y velocity
- Spin: Rotate around center
- Fade: Adjust alpha channel
Important Notes
Missing Modules: The core/ module (gif_builder.py, validators.py, etc.) is not included. Use PIL directly as shown above.
Qwen Code Integration
Use /skills slack-gif-creator to invoke.