slack-gif-creator
यह क्या करती है
यह एजेंट Slack में इस्तेमाल के लिए एनिमेटेड GIF बनाने में मदद करता है। इसे साइज़, रंगों और स्पीड के नियम पता होते हैं, ताकि आपके GIF अच्छे दिखें और ज़्यादा भारी न हों।
कब इस्तेमाल करें
- ✓जब आप Slack इमोजी के रूप में इस्तेमाल करने के लिए GIF चाहते हों।
- ✓जब आप Slack मैसेज में भेजने के लिए बड़ा GIF चाहते हों।
- ✓जब आप चाहते हों कि आपके GIF में सहज और प्रोफ़ेशनल दिखने वाली हरकत हो।
Skill का लिंक
https://github.com/anthropics/skills/blob/main/skills/slack-gif-creator/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Slack के इमोजी साइज़ में एक बिल्ली के नाचने का एनिमेटेड GIF बनाओ।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह फ़्रेम (वे इमेज जिनसे GIF बनता है) जोड़ने के लिए टूल इस्तेमाल करता है और पक्का करता है कि सब कुछ Slack की ज़रूरतों के अनुसार हो। आप इसे सरल आकार बनाने को कह सकते हैं या अपनी दी हुई इमेज इस्तेमाल करवा सकते हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Slack GIF Creator
A toolkit providing utilities and knowledge for creating animated GIFs optimized for Slack.
Slack Requirements
Dimensions:
- Emoji GIFs: 128x128 (recommended)
- Message GIFs: 480x480
Parameters:
- FPS: 10-30 (lower is smaller file size)
- Colors: 48-128 (fewer = smaller file size)
- Duration: Keep under 3 seconds for emoji GIFs
Core Workflow
from core.gif_builder import GIFBuilder
from PIL import Image, ImageDraw
# 1. Create builder
builder = GIFBuilder(width=128, height=128, fps=10)
# 2. Generate frames
for i in range(12):
frame = Image.new('RGB', (128, 128), (240, 248, 255))
draw = ImageDraw.Draw(frame)
# Draw your animation using PIL primitives
# (circles, polygons, lines, etc.)
builder.add_frame(frame)
# 3. Save with optimization
builder.save('output.gif', num_colors=48, optimize_for_emoji=True)
Drawing Graphics
Working with User-Uploaded Images
If a user uploads an image, consider whether they want to:
- Use it directly (e.g., "animate this", "split this into frames")
- Use it as inspiration (e.g., "make something like this")
Load and work with images using PIL:
from PIL import Image
uploaded = Image.open('file.png')
# Use directly, or just as reference for colors/style
Drawing from Scratch
When drawing graphics from scratch, use PIL ImageDraw primitives:
from PIL import ImageDraw
draw = ImageDraw.Draw(frame)
# Circles/ovals
draw.ellipse([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)
# Stars, triangles, any polygon
points = [(x1, y1), (x2, y2), (x3, y3), ...]
draw.polygon(points, fill=(r, g, b), outline=(r, g, b), width=3)
# Lines
draw.line([(x1, y1), (x2, y2)], fill=(r, g, b), width=5)
# Rectangles
draw.rectangle([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)
Don't use: Emoji fonts (unreliable across platforms) or assume pre-packaged graphics exist in this skill.
Making Graphics Look Good
Graphics should look polished and creative, not basic. Here's how:
Use thicker lines - Always set width=2 or higher for outlines and lines. Thin lines (width=1) look choppy and amateurish.
Add visual depth:
- Use gradients for backgrounds (
create_gradient_background) - Layer multiple shapes for complexity (e.g., a star with a smaller star inside)
Make shapes more interesting:
- Don't just draw a plain circle - add highlights, rings, or patterns
- Stars can have glows (draw larger, semi-transparent versions behind)
- Combine multiple shapes (stars + sparkles, circles + rings)
Pay attention to colors:
- Use vibrant, complementary colors
- Add contrast (dark outlines on light shapes, light outlines on dark shapes)
- Consider the overall composition
For complex shapes (hearts, snowflakes, etc.):
- Use combinations of polygons and ellipses
- Calculate points carefully for symmetry
- Add details (a heart can have a highlight curve, snowflakes have intricate branches)
Be creative and detailed! A good Slack GIF should look polished, not like placeholder graphics.
Available Utilities
GIFBuilder (core.gif_builder)
Assembles frames and optimizes for Slack:
builder = GIFBuilder(width=128, height=128, fps=10)
builder.add_frame(frame) # Add PIL Image
builder.add_frames(frames) # Add list of frames
builder.save('out.gif', num_colors=48, optimize_for_emoji=True, remove_duplicates=True)
Validators (core.validators)
Check if GIF meets Slack requirements:
from core.validators import validate_gif, is_slack_ready
# Detailed validation
passes, info = validate_gif('my.gif', is_emoji=True, verbose=True)
# Quick check
if is_slack_ready('my.gif'):
print("Ready!")
Easing Functions (core.easing)
Smooth motion instead of linear:
from core.easing import interpolate
# Progress from 0.0 to 1.0
t = i / (num_frames - 1)
# Apply easing
y = interpolate(start=0, end=400, t=t, easing='ease_out')
# Available: linear, ease_in, ease_out, ease_in_out,
# bounce_out, elastic_out, back_out
Frame Helpers (core.frame_composer)
Convenience functions for common needs:
from core.frame_composer import (
create_blank_frame, # Solid color background
create_gradient_background, # Vertical gradient
draw_circle, # Helper for circles
draw_text, # Simple text rendering
draw_star # 5-pointed star
)
…
अक्सर पूछे जाने वाले सवाल
Slack इमोजी GIF का आदर्श साइज़ क्या है?
सुझाया गया साइज़ 128x128 पिक्सल है।
क्या मैं GIF में कोई भी रंग इस्तेमाल कर सकता हूँ?
फ़ाइल का साइज़ छोटा रखने के लिए 48 से 128 रंगों के बीच रहने की सलाह दी जाती है। कम रंग होने से फ़ाइल और छोटी हो जाती है।
GIF की हरकत को और अच्छा कैसे बनाऊँ?
आप 'easing functions' इस्तेमाल कर सकते हैं, जिससे हरकत धीरे शुरू होकर तेज़ होती है और फिर धीमी हो जाती है। या 'bounce' या 'pulse' जैसे इफ़ेक्ट भी डाल सकते हैं।
जानकारी
लेखक का मूल विवरण
Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.
repo: anthropics/skills
लोकप्रियता
- GitHub स्टार
- 181k
- रैंकिंग में स्थान
- #649
- लाइसेंस
- —
- अपडेट की गई
- 9/10/2026
कमेंट
- …
इस repository की और skills
academy-guide
181kयह आपके एजेंट को Claude सीखने के लिए courses और tutorials सुझाने देता है। Claude या उसके products के इस्तेमाल के बारे में सवाल हों, तब उपयोगी है।
algorithmic-art
181kयह आपके एजेंट को code से कला बनाने में मदद करता है और unique images तैयार करता है। जब आपको original computer-generated art चाहिए, तब यह काम आता है।
brand-guidelines
181kआपके एजेंट को Anthropic के ब्रांड कलर और विज़ुअल स्टाइल को मटेरियल पर लगाने देता है। अलग-अलग प्रोजेक्ट्स में कंपनी की विज़ुअल पहचान बनाए रखने के लिए यह उपयोगी है।
canvas-design
181kयह आपके एजेंट को files में सुंदर visual art बनाने में मदद करता है। poster, art या किसी भी static design की माँग हो, तब यह काम आता है।
मिलती-जुलती skills
taste-application
280kयह आपके एजेंट को किसी खास style में videos बनाने में मदद करता है। यह किसी reference video की editing rhythm कॉपी कर सकता है, नए scenes बना सकता है, colors ठीक कर सकता है, और सब कुछ दूसरे footage के साथ जोड़कर edit कर सकता है।
taste-distillation
280kयह आपके एजेंट को videos का विश्लेषण करके style pack बनाने देता है। इसमें colors, cutting rhythm और visual elements शामिल होते हैं, जिन्हें नई videos में उसी look के साथ दोबारा इस्तेमाल किया जा सकता है।
ui-demo
280kयह आपके एजेंट से साफ-सुथरे UI demo videos रिकॉर्ड करवाता है। tutorials बनाने या यह दिखाने के लिए उपयोगी है कि web app कैसे काम करता है।