slack-gif-creator

Create emoji-sized animated GIFs for Slack using Python's PIL library.

Updated Jun 4, 2026
One-click install
npx skills add https://github.com/leanderriefel/scrobbling-away --skill slack-gif-creator-leanderriefel
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: slack-gif-creator
Source: https://github.com/leanderriefel/scrobbling-away/tree/main/.agents/skills/slack-gif-creator
Command: npx skills add https://github.com/leanderriefel/scrobbling-away --skill slack-gif-creator-leanderriefel

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires Pillow, imageio, numpy, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation of animated GIFs optimized for use in Slack, solving the challenge of crafting visually engaging yet efficient animations that conform to Slack's emoji GIF specifications.

Core Features & Use Cases

  • Optimized GIF Creation: Builds and optimizes GIFs for Slack's recommended dimensions and color palettes, ensuring compatibility and efficient delivery.
  • Animation Concepts: Offers guidance on key animation principles, such as shake, pulse, bounce, and spin, for creative expression within Slack.
  • Drawing Graphics: Provides a detailed guide on how to draw graphics from scratch using PIL, and how to handle user-uploaded images.
  • Utilities & Tools: Includes built-in utilities for validating GIFs against Slack's requirements and a range of easing functions for smooth motion.
  • Use Case: For instance, you can create an animated GIF of a character performing a specific action and share it directly in a Slack conversation to enhance engagement.

Quick Start

To create a simple GIF of a bouncing ball for Slack, run the following script in your environment:

#!/usr/bin/env python3
from core.gif_builder import GIFBuilder
from PIL import Image, ImageDraw

builder = GIFBuilder(width=128, height=128, fps=10)

for i in range(12):
    frame = Image.new('RGB', (128, 128), (240, 248, 255))
    draw = ImageDraw.Draw(frame)

    # Draw a simple bouncing ball
    # ...

    builder.add_frame(frame)

builder.save('bouncing_ball.gif', num_colors=48, optimize_for_emoji=True)

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 animated GIFs optimized for Slack emoji size?

To create animated GIFs for Slack emoji, build frames at 128x128 dimensions and apply optimized color palettes using Python's PIL library, Pillow, ImageIO, and Numpy to ensure efficient delivery and compatibility.

What animation techniques can I use when building GIFs for Slack?

When building GIFs for Slack, you can apply animation techniques such as shake, pulse, bounce, and spin, utilizing built-in easing functions to generate smooth motion within the 128x128 emoji dimensions.

Do I need Python to generate and optimize Slack emoji GIFs?

Yes, you need Python to generate and optimize Slack emoji GIFs, specifically requiring the Pillow, ImageIO, and Numpy dependencies to handle image manipulation and construct the animated frames.

Can I draw graphics from scratch for Slack animations using PIL?

Yes, you can draw graphics from scratch for Slack animations using PIL by programmatically generating frames with ImageDraw, and the included utilities also support processing user-uploaded images for GIF creation.

How can I validate my GIF against Slack's emoji requirements?

You can validate your GIF against Slack's emoji requirements using built-in utilities designed to check optimized color palettes and 128x128 dimensions, ensuring the final animation meets Slack's specifications before sharing.

What's the best way to optimize a GIF color palette for Slack?

The best way to optimize a GIF color palette for Slack is using the GIFBuilder's save function with parameters like num_colors and optimize_for_emoji, which streamlines color reduction while maintaining visual engagement.