agentleFS
LucfaceLucface/claude-skills/skills/slack-gif-creator/SKILL.md

slack-gif-creator

Skill1 starsChanged 6 months agoMITView on GitHub

Creates animated GIFs optimized for Slack including emoji animations and message GIFs with proper sizing and frame rates.

116 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use skill-share, raffle-winner-picker and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • ArogyaReddySkill

    skill-share

    A skill that creates new Claude skills and automatically shares them on Slack using Rube for seamless team collaboration and skill discovery.

    Also in 20 projects that use this

  • ArogyaReddySkill

    raffle-winner-picker

    Picks random winners from lists, spreadsheets, or Google Sheets for giveaways, raffles, and contests. Ensures fair, unbiased selection with transparency.

    Also in 20 projects that use this

  • trendinuxSkill

    twitter-algorithm-optimizer

    Analyze and optimize tweets for maximum reach using Twitter's open-source algorithm insights. Rewrite and edit user tweets to improve engagement and visibility based on how the recommendation system ranks content.

    Also in 11 projects that use this

  • bkootazSkill

    artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 32 projects that use this

  • AnthropicSkill

    web-artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 63 projects that use this

  • +7 more from ArogyaReddy

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 111 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create animated GIFs optimized for Slack messaging.

    line 7
  2. Distinctive:

    Use thicker lines (2-3px minimum at 128px)

    line 154
  3. Distinctive:

    Test on both light and dark Slack themes

    line 157
  4. Distinctive:

    Keep animations simple and loopable

    line 158

“Common” is measured: kept by at least 6 in 10 of the 111 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Slack GIF Creator

Create animated GIFs optimized for Slack messaging.

Size Requirements

TypeDimensionsNotes
Emoji GIFs128x128 pxKeep under 3 seconds
Message GIFs480x480 pxLarger accepted
Frame rate10-30 FPSLower = smaller file

Basic GIF Creation with PIL

from PIL import Image, ImageDraw
import math

def create_pulse_gif(output_path, size=128, frames=20):
    images = []

    for i in range(frames):
        img = Image.new('RGBA', (size, size), (0, 0, 0, 0))
        draw = ImageDraw.Draw(img)

        # Pulsing circle
        progress = i / frames
        scale = 0.5 + 0.3 * math.sin(progress * 2 * math.pi)
        radius = int(size * scale / 2)
        center = size // 2

        draw.ellipse(
            [center - radius, center - radius,
             center + radius, center + radius],
            fill=(255, 100, 100, 255)
        )
        images.append(img)

    images[0].save(
        output_path,
        save_all=True,
        append_images=images[1:],
        duration=50,  # ms per frame
        loop=0  # Infinite loop
    )

Common Animation Effects

Shake/Vibrate

def shake_animation(base_image, frames=10, intensity=5):
    images = []
    for i in range(frames):
        offset_x = random.randint(-intensity, intensity)
        offset_y = random.randint(-intensity, intensity)
        shifted = Image.new('RGBA', base_image.size, (0, 0, 0, 0))
        shifted.paste(base_image, (offset_x, offset_y))
        images.append(shifted)
    return images

Bounce

def bounce_animation(base_image, frames=20, height=20):
    images = []
    w, h = base_image.size
    for i in range(frames):
        progress = i / frames
        # Easing function for bounce
        y_offset = int(height * abs(math.sin(progress * math.pi)))
        canvas = Image.new('RGBA', (w, h + height), (0, 0, 0, 0))
        canvas.paste(base_image, (0, height - y_offset))
        images.append(canvas)
    return images

Rotation

def rotate_animation(base_image, frames=36):
    images = []
    for i in range(frames):
        angle = (360 / frames) * i
        rotated = base_image.rotate(angle, resample=Image.BICUBIC, expand=False)
        images.append(rotated)
    return images

Fade In/Out

def fade_animation(base_image, frames=20):
    images = []
    for i in range(frames):
        alpha = int(255 * (1 - abs(2 * i / frames - 1)))
        faded = base_image.copy()
        faded.putalpha(alpha)
        images.append(faded)
    return images

Easing Functions

def ease_in_out(t):
    """Smooth start and end"""
    return t * t * (3 - 2 * t)

def ease_bounce(t):
    """Bouncy effect"""
    if t < 0.5:
        return 4 * t * t * t
    else:
        return 1 - pow(-2 * t + 2, 3) / 2

def ease_elastic(t):
    """Elastic snap"""
    c4 = (2 * math.pi) / 3
    if t == 0 or t == 1:
        return t
    return pow(2, -10 * t) * math.sin((t * 10 - 0.75) * c4) + 1

Optimizing File Size

from PIL import Image

def optimize_gif(input_path, output_path, colors=64):
    img = Image.open(input_path)
    frames = []

    for frame in range(img.n_frames):
        img.seek(frame)
        # Reduce colors
        quantized = img.convert('P', palette=Image.ADAPTIVE, colors=colors)
        frames.append(quantized)

    frames[0].save(
        output_path,
        save_all=True,
        append_images=frames[1:],
        optimize=True,
        duration=img.info.get('duration', 50),
        loop=0
    )

Design Tips

  • Use thicker lines (2-3px minimum at 128px)
  • Layer shapes for depth
  • Complementary colors pop in Slack's UI
  • Test on both light and dark Slack themes
  • Keep animations simple and loopable

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.