ClawShelf
  • 首页
  • 技能
  • 入门套装
  • 定价
  • 常见问题
注册
ClawShelf
ClawShelf

AI 助手的应用商店

TwitterX (Twitter)Email
产品
  • 首页
  • 技能
  • 入门套装
  • 常见问题
资源
  • 支持
法律条款
  • Cookie 政策
  • 隐私政策
  • 服务条款
  • 退款政策
Copyright © 2026 ClawShelf. 保留所有权利。
返回市场
免费✓ 官方
design免费✓ 官方

slack-gif-creator

Create custom animated GIFs for Slack with built-in validation and optimization tools ensuring perfect display every time.

12.4k次下载·110.3k个收藏·5(1条评价)
A
作者: anthropics

关于此技能

Stop guessing Slack's strict dimension and file size limits that often break your custom animations. This toolkit provides validated builders, easing functions, and optimization utilities to generate polished GIFs using PIL primitives. You can create custom emoji or message graphics from scratch or uploaded images with guaranteed platform compatibility. Perfect for developers needing reliable, high-quality animated assets without manual trial and error.

5 分钟完成安装

复制以下提示词,粘贴到 OpenClaw 中即可自动安装:

请根据 https://clawshelf.com/api/skills/anthropics-slack-gif-creator/install 的说明,下载并安装此技能到本地 ~/.openclaw/skills/ 目录。

文件预览

包含文件

  • SKILL.md
SKILL.md
---
name: slack-gif-creator
description: 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."
license: Complete terms in LICENSE.txt
---

# 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

```python
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:
```python
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:

```python
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, 

搭配使用

用户评价

5
1 review
5
1
4
0
3
0
2
0
1
0

登录后可发表评价

暂无评价,成为第一个评价者吧。

$0

一次购买 · 终身更新

100% 原生支持 OpenClaw / Claude 等任何 AI 助手

创作者
A
anthropics
类型技能
分类design
价格$0
上架时间3/29/2026
授权一次性购买
下载量12,443
收藏量110,272
评分5 ★ (1)
版本1.0.0
来源github.com
design
algorithmic-art

Create gallery-quality generative art using p5.js with seeded randomness and interactive parameters for unique, reproducible visual assets.

$0
design
theme-factory

Apply professional themes to your slides and documents instantly using ten preset palettes or custom themes for consistent branding.

$0
design
canvas-design

Craft original visual masterpieces and posters using deep design philosophies expressed as high-fidelity PDF or PNG artifacts.

$0