slack-gif-creator

Create animated GIFs optimized for Slack emoji and message requirements using PIL.

Updated Aug 17, 2026
One-click install
npx skills add https://github.com/prabaljainn/my-claude-code-setup --skill slack-gif-creator-prabaljainn
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: slack-gif-creator
Source: https://github.com/prabaljainn/my-claude-code-setup/tree/main/claude/skills/slack-gif-creator
Command: npx skills add https://github.com/prabaljainn/my-claude-code-setup --skill slack-gif-creator-prabaljainn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pillow, imageio, imageio-ffmpeg, numpy.

What problem does it solve? Creating animated GIFs that meet Slack's strict size, dimension, and color constraints requires manual tuning of frames, palettes, and timing, which is tedious and error-prone. ## Core Features & Use Cases - GIF Assembly and Optimization: GIFBuilder combines PIL-generated frames, applies global palette quantization, deduplicates frames, and auto-optimizes for 128x128 emoji output. - Validation and Animation Utilities: Validators check Slack dimension compliance, while easing functions (bounce, elastic, back) and frame helpers (gradients, stars, text) support smooth motion design. - Use Case: A user asks for a bouncing star emoji GIF for Slack; the skill generates 12 frames with PIL primitives, applies ease_out interpolation, and saves a 128x128 optimized GIF under Slack's size limits. ## Quick Start Create a 128x128 animated GIF of a pulsing heart optimized for a Slack emoji.

Frequently Asked Questions about slack-gif-creator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an animated GIF for Slack in Python?▼

Use PIL to draw frames with ImageDraw primitives, then assemble them with GIFBuilder by setting width, height, and fps, adding each frame, and calling save with color optimization. The builder handles palette quantization and outputs a looping GIF.

What size should a Slack emoji GIF be?▼

Slack emoji GIFs should be 128x128 pixels, kept under 3 seconds, with 10-30 fps and 48-128 colors for smaller file size. Message GIFs can use 480x480 dimensions.

How do I reduce GIF file size for Slack?▼

Lower the fps, reduce colors to 48, shrink dimensions to 128x128, enable remove_duplicates to drop near-identical frames, and set optimize_for_emoji=True in the save call for automatic aggressive optimization.

Can I animate an uploaded image into a GIF?▼

Yes, load the uploaded image with PIL Image.open and either animate it directly by transforming frames or use it as visual reference for colors and style. The skill does not include pre-packaged graphics.

Why does my Slack GIF look choppy or amateurish?▼

Choppy results come from thin lines, linear motion, and flat colors. Use outline widths of 2 or more, apply easing functions like ease_out or bounce_out for smooth motion, and add gradients, highlights, and layered shapes for depth.