anthropic-slack-gif-creator

Create Slack-ready animated GIFs from programmatically generated frames.

Updated Jun 14, 2024
One-click install
npx skills add https://github.com/Huijiro/dotfiles --skill anthropic-slack-gif-creator-huijiro
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anthropic-slack-gif-creator
Source: https://github.com/Huijiro/dotfiles/tree/main/agents/.agents/skills/anthropic-slack-gif-creator
Command: npx skills add https://github.com/Huijiro/dotfiles --skill anthropic-slack-gif-creator-huijiro

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Slack GIF creation can be time-consuming and technically challenging; this skill provides a framework and utilities to generate Slack-ready animated GIFs from frames with automated optimization and validation.

Core Features & Use Cases

  • GIFBuilder-based frame assembly and color quantization
  • Validators to ensure Slack compliance (dimensions, color depth, frame count)
  • Easing functions and frame helpers for polished animations
  • Use Case: generate a 128x128 Slack emoji GIF from a PIL sequence for reactions

Quick Start

Create a sample 128x128 Slack emoji GIF by building frames with PIL, then save with GIFBuilder at 10 fps and 48 colors.

Frequently Asked Questions about anthropic-slack-gif-creator

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

FAQPage Schema
How do I create a Slack emoji GIF from a sequence of frames?

To create a Slack emoji GIF from frames, you can programmatically assemble a PIL image sequence using GIFBuilder, applying color quantization and saving at 10 fps with 48 colors for a 128x128 output.

What is the best way to optimize animated GIFs for Slack messages?

The best way to optimize animated GIFs for Slack is by using color quantization, duplicate-frame removal, and validators to ensure compliance with Slack's specific dimension, color depth, and frame count limits.

Can I use Pillow and imageio to generate animated GIFs for Slack?

Yes, you can use Pillow and imageio to generate Slack-ready animated GIFs. This stack supports frame assembly, color quantization, and duplicate-frame removal, enabling custom animations for reactions and onboarding illustrations.

Does Slack have specific requirements for custom animated emoji?

Slack has specific requirements for custom animated emoji, including dimension and color depth limits. This framework provides validators to check compliance, ensuring your 128x128 GIFs meet platform standards before upload.

Why are my programmatically generated GIFs too large for Slack?

Programmatically generated GIFs might be too large for Slack due to high frame counts or color depth. Applying duplicate-frame removal and reducing colors via quantization during GIFBuilder assembly will significantly decrease file size.