slack-gif-creator
Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives. This skill applies when users request animated GIFs or emoji animations for Slack from descriptions like "make me a GIF for Slack of X doing Y".
Author
Category
Image ProcessingInstall
Download and extract to your skills directory
Copy command and send to AI Agent for auto-install:
Slack GIF Creator - An Animation GIF Toolkit Optimized for Slack
Skill Overview
Slack GIF Creator is a flexible Python toolkit that helps you create animated GIFs and animated emoji fully compliant with Slack’s platform requirements. Whether you need message GIFs or must meet the strict 64KB emoji limit, this toolkit provides validators, composable animation primitives, and utility tools, allowing you to unleash your creativity within technical constraints.
Use Cases
1. Reaction Emoji for Team Collaboration
When your team needs to quickly express emotions or reactions in Slack, use this skill to create custom animated emoji. For example, create a “🎉 Celebration” animation for completing a project, or a “🔥 On fire” animation for sharing an exciting idea. The toolkit ensures that your emoji can successfully meet Slack’s 64KB file size limit.
2. Slack Channel Notifications and Onboarding Animations
Create animated notification icons for announcement channels or welcome animations for new members. The message GIF mode supports files up to 2MB, making it suitable for richer animation effects. Combine animation primitives such as bounce, shake, and pulse to create visual elements that match your brand style.
3. Claude-Assisted Rapid GIF Creation
Simply describe your needs directly in a Claude conversation, such as, “Make me a Slack emoji of a coffee cup ☕️ giving off steam,” and receive a finished product that meets the requirements. There is no need to write code manually. Claude calls the validators and animation modules in the toolkit to automatically handle size optimization and constraint verification.
Core Features
1. Slack Constraint Validator
The toolkit includes a complete set of validation tools for the Slack platform. It automatically checks whether file sizes meet the limits for message GIFs (~2MB) or emoji GIFs (64KB), verifies recommended dimensions (480x480 or 128x128), and provides detailed validation reports and optimization suggestions. The is_slack_ready() function offers a one-click check to ensure complete compliance before uploading.
2. Composable Animation Primitive Library
The toolkit provides more than 15 ready-to-use animation modules, including shake, bounce, spin, pulse, fade, zoom, explode, move, kaleidoscope, and more. Each primitive supports parameterized configuration and can be freely combined and layered to create a wide variety of effects, from simple pulses to complex scenes.
3. Smart Optimization and Utility Tools
GIF Builder automatically handles color quantization, duplicate-frame removal, and file compression. For the strict limitations of emoji GIFs, the optimize_for_emoji=True mode automatically reduces animations to 10–12 frames and 32–48 colors. Built-in utilities such as a particle system, impact flashes, and easing functions make it easier to achieve professional-quality effects.
Frequently Asked Questions
What is the file size limit for Slack emoji GIFs?
Slack imposes a strict 64KB file size limit on emoji GIFs. This limit is extremely restrictive, and ordinary GIFs typically exceed it by a wide margin. Slack GIF Creator helps your work meet the limit by restricting animations to 10–15 frames, reducing the color count to 32–48 colors, avoiding gradients, and using solid colors. The toolkit automatically warns you if a file is too large when saving and provides detailed file information.
How can I make a GIF comply with Slack’s 64KB limit?
First, use the built-in validator, such as check_slack_size('emoji.gif', is_emoji=True), to check the current file size. If it exceeds the limit, enable optimize_for_emoji=True and save the file again. This automatically applies aggressive optimization, including reducing the frame count, lowering the number of colors, and removing duplicate frames. During the design stage, choose simple patterns and avoid gradients and small text, as these elements can significantly increase file size.
Can I create Slack GIFs directly in Claude?
Yes. This is one of the primary ways to use Slack GIF Creator. Describe your requirements in a conversation, such as, “Create a Slack emoji of a rocket 🚀 flying from left to right,” and Claude will call the toolkit’s animation modules and validators to generate a compliant GIF and automatically check whether it meets Slack’s requirements. You do not need to write Python code or install dependencies; Claude handles the entire process from creation through validation.