Slack GIF Creator
anthropics/skills
Provides Slack size and frame limits, Python animation helpers and validators for building animated GIFs sized for emoji and messages.
用于创建针对 Slack 优化的动画 GIF 的知识和工具集。提供约束条件、验证工具和动画概念。当用户请求为 Slack 创建动画 GIF 时使用,例如"为 Slack 制作一个 X 做 Y 的 GIF"。
$ npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LeastBit/Claude_skills_zh-CN slack-gif-creator --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LeastBit/Claude_skills_zh-CN.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/slack-gif-creator .claude/skills/slack-gif-creator && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "slack-gif-creator" agent skill from https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creator into .claude/skills/slack-gif-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slack-gif-creator", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creatorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LeastBit/Claude_skills_zh-CN slack-gif-creator --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeastBit/Claude_skills_zh-CN.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/slack-gif-creator .agents/skills/slack-gif-creator && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "slack-gif-creator" agent skill from https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creator into .agents/skills/slack-gif-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slack-gif-creator", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LeastBit/Claude_skills_zh-CN slack-gif-creator --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeastBit/Claude_skills_zh-CN.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/slack-gif-creator .cursor/skills/slack-gif-creator && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "slack-gif-creator" agent skill from https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creator into .cursor/skills/slack-gif-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slack-gif-creator", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LeastBit/Claude_skills_zh-CN.git --path skills/slack-gif-creator--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LeastBit/Claude_skills_zh-CN slack-gif-creator --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeastBit/Claude_skills_zh-CN.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/slack-gif-creator .gemini/skills/slack-gif-creator && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "slack-gif-creator" agent skill from https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creator into .gemini/skills/slack-gif-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slack-gif-creator", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LeastBit/Claude_skills_zh-CN slack-gif-creatorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LeastBit/Claude_skills_zh-CN.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/slack-gif-creator .github/skills/slack-gif-creator && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "slack-gif-creator" agent skill from https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creator into .github/skills/slack-gif-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slack-gif-creator", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LeastBit/Claude_skills_zh-CN slack-gif-creator --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LeastBit/Claude_skills_zh-CN.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/slack-gif-creator .opencode/skills/slack-gif-creator && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "slack-gif-creator" agent skill from https://github.com/LeastBit/Claude_skills_zh-CN/tree/main/skills/slack-gif-creator into .opencode/skills/slack-gif-creator/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "slack-gif-creator", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
slack-gif-creator用于创建针对 Slack 优化的动画 GIF 的知识和工具集。提供约束条件、验证工具和动画概念。当用户请求为 Slack 创建动画 GIF 时使用,例如"为 Slack 制作一个 X 做 Y 的 GIF"。
Slack Gif Creator is an agent skill from LeastBit/Claude_skills_zh-CN. 用于创建针对 Slack 优化的动画 GIF 的知识和工具集。提供约束条件、验证工具和动画概念。当用户请求为 Slack 创建动画 GIF 时使用,例如"为 Slack 制作一个 X 做 Y 的 GIF"。
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files (for example `core/easing.py`, `core/frame_composer.py` and `core/gif_builder.py`).
It sits in Media & Creative, covering Social media graphics. It works with Slack. The repository describes itself as: Anthropics/skills中文学习版本 来自:https://github.com/anthropics/skills. The licence is Apache-2.0.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 1ab2916. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships script files (Python), which the agent can run.
Shell commands in SKILL.md call:
pipFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Slack Gif Creator loads about 1.2k tokens when it runs. Until then it costs about 30 tokens; SKILL.md has 239 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LeastBit/Claude_skills_zh-CN at commit 1ab2916, republished under its Apache-2.0 licence (© LeastBit). 239 words, ~1,192 tokens.
.claude/skills/slack-gif-creator/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.一个提供工具和知识的工具包,用于创建针对 Slack 优化的动画 GIF。
尺寸:
参数:
from core.gif_builder import GIFBuilder
from PIL import Image, ImageDraw
# 1. 创建构建器
builder = GIFBuilder(width=128, height=128, fps=10)
# 2. 生成帧
for i in range(12):
frame = Image.new('RGB', (128, 128), (240, 248, 255))
draw = ImageDraw.Draw(frame)
# 使用 PIL 基础图形绘制你的动画
# (圆形、多边形、线条等)
builder.add_frame(frame)
# 3. 保存并优化
builder.save('output.gif', num_colors=48, optimize_for_emoji=True)如果用户上传了图片,请考虑他们想要:
使用 PIL 加载和处理图片:
from PIL import Image
uploaded = Image.open('file.png')
# 直接使用,或仅作为颜色/风格的参考从零开始绘制图形时,使用 PIL ImageDraw 基础图形:
from PIL import ImageDraw
draw = ImageDraw.Draw(frame)
# 圆形/椭圆
draw.ellipse([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)
# 星形、三角形、任何多边形
points = [(x1, y1), (x2, y2), (x3, y3), ...]
draw.polygon(points, fill=(r, g, b), outline=(r, g, b), width=3)
# 线条
draw.line([(x1, y1), (x2, y2)], fill=(r, g, b), width=5)
# 矩形
draw.rectangle([x1, y1, x2, y2], fill=(r, g, b), outline=(r, g, b), width=3)不要使用: Emoji 字体(在不同平台上表现不一致)或假设此技能中有预打包的图形。
图形应该看起来精致有创意,而不是简陋。以下是方法:
使用较粗的线条 - 轮廓和线条始终设置 width=2 或更高。细线(width=1)看起来粗糙且业余。
添加视觉深度:
create_gradient_background)让形状更有趣:
注意颜色搭配:
对于复杂形状(心形、雪花等):
要有创意和注重细节!好的 Slack GIF 应该看起来精致,而不是像占位图形。
core.gif_builder)组装帧并为 Slack 优化:
builder = GIFBuilder(width=128, height=128, fps=10)
builder.add_frame(frame) # 添加 PIL Image
builder.add_frames(frames) # 添加帧列表
builder.save('out.gif', num_colors=48, optimize_for_emoji=True, remove_duplicates=True)core.validators)检查 GIF 是否符合 Slack 要求:
from core.validators import validate_gif, is_slack_ready
# 详细验证
passes, info = validate_gif('my.gif', is_emoji=True, verbose=True)
# 快速检查
if is_slack_ready('my.gif'):
print("准备就绪!")core.easing)平滑运动而非线性:
from core.easing import interpolate
# 进度从 0.0 到 1.0
t = i / (num_frames - 1)
# 应用缓动
y = interpolate(start=0, end=400, t=t, easing='ease_out')
# 可用:linear, ease_in, ease_out, ease_in_out,
# bounce_out, elastic_out, back_outcore.frame_composer)常用需求的便捷函数:
from core.frame_composer import (
create_blank_frame, # 纯色背景
create_gradient_background, # 垂直渐变
draw_circle, # 圆形辅助函数
draw_text, # 简单文字渲染
draw_star # 五角星
)用振荡偏移对象位置:
math.sin() 或 math.cos() 配合帧索引有节奏地缩放对象大小:
math.sin(t * frequency * 2 * math.pi) 实现平滑脉动对象下落并弹起:
interpolate() 配合 easing='bounce_out' 实现落地效果easing='ease_in' 实现下落(加速)效果围绕中心旋转对象:
image.rotate(angle, resample=Image.BICUBIC)逐渐出现或消失:
Image.blend(image1, image2, alpha)将对象从屏幕外移动到指定位置:
interpolate() 配合 easing='ease_out' 实现平滑停止easing='back_out'缩放和定位以实现缩放效果:
创建向外辐射的粒子:
x += vx,y += vyvy += gravity_constant仅在被要求减小文件大小时,实施以下几种方法:
num_colors=48 而不是 128remove_duplicates=Trueoptimize_for_emoji=True 自动优化# 表情符号最大优化
builder.save(
'emoji.gif',
num_colors=48,
optimize_for_emoji=True,
remove_duplicates=True
)本技能提供:
本技能不提供:
关于用户上传的说明:本技能不包含预构建的图形,但如果用户上传了图片,请使用 PIL 加载和处理它 - 根据他们的请求判断是直接使用还是仅作为灵感参考。
发挥创意!组合各种概念(弹跳 + 旋转、脉动 + 滑动等)并充分利用 PIL 的全部功能。
pip install pillow imageio numpy© LeastBit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 6 other files in skills/slack-gif-creator of LeastBit/Claude_skills_zh-CN.
Open the folder on GitHubat commit 1ab2916
Slack Gif Creator next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Slack Gif Creator this skillLeastBit/Claude_skills_zh-CN | 590 | — | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| Slack GIF Creatoranthropics/skills | 180k | 29 repos | ~2k | Automated safety check: Pass | Apache-2.0 | |
| Slack Gif Creatordavepoon/buildwithclaude | 3.6k | 12 repos | ~4.3k | Automated safety check: Pass | Apache-2.0 | |
| Slack Gif Creatornexu-io/open-design | 100k | — | ~316 | Automated safety check: Pass | Apache-2.0 | |
| Pixel Gif Makermohitagw15856/pm-claude-skills | 1.4k | — | ~937 | Automated safety check: Pass | MIT | |
| Social Previewthatrebeccarae/claude-marketing | 161 | — | ~2.1k | Automated safety check: Pass | MIT |
anthropics/skills
Provides Slack size and frame limits, Python animation helpers and validators for building animated GIFs sized for emoji and messages.
davepoon/buildwithclaude
Toolkit for creating animated GIFs optimized for Slack, with validators for size constraints and composable animation primitives.
nexu-io/open-design
Create animated GIFs optimized for Slack with validators for size constraints and composable animation primitives.
mohitagw15856/pm-claude-skills
Generate retro pixel-text animated GIFs for Slack, Teams, or a PR comment — scrolling marquees, heartbeat pulses, confetti parties, twinkling sparkles — from a bundled pure-stdlib Python script (no…
thatrebeccarae/claude-marketing
Generate Open Graph social preview images (1280x640) for GitHub repositories.
mohitagw15856/pm-claude-skills
Write a short, punchy announcement designed to be shared as an image or social card.
LeastBit/Claude_skills_zh-CN
创建高效技能的指南。当用户想要创建新技能(或更新现有技能)以扩展 Claude 的能力,包括专业知识、工作流程或工具集成时,应使用此技能。
LeastBit/Claude_skills_zh-CN
全面的文档创建、编辑和分析功能,支持修订追踪、批注、格式保留和文本提取。当 Claude 需要处理专业文档(.docx 文件)时使用:(1) 创建新文档,(2) 修改或编辑内容,(3) 处理修订追踪,(4) 添加批注,或其他任何文档任务
LeastBit/Claude_skills_zh-CN
构建高质量 MCP(模型上下文协议)服务器的指南,使 LLM 能够通过精心设计的工具与外部服务交互。在使用 Python (FastMCP) 或 Node/TypeScript (MCP SDK) 构建 MCP 服务器以集成外部 API 或服务时使用。
LeastBit/Claude_skills_zh-CN
全面的 PDF 操作工具包,用于提取文本和表格、创建新 PDF、合并/拆分文档以及处理表单。当 Claude 需要填写 PDF 表单或以编程方式大规模处理、生成或分析 PDF 文档时使用。
LeastBit/Claude_skills_zh-CN
演示文稿创建、编辑和分析。当 Claude 需要处理演示文稿(.pptx 文件)时使用,包括:(1) 创建新演示文稿,(2) 修改或编辑内容,(3) 处理版式,(4) 添加批注或演讲者备注,或其他任何演示文稿任务
LeastBit/Claude_skills_zh-CN
用于使用现代前端 Web 技术(React、Tailwind CSS、shadcn/ui)创建复杂的、多组件的 claude.ai HTML artifact 的工具套件。适用于需要状态管理、路由或 shadcn/ui 组件的复杂 artifact - 不适用于简单的单文件 HTML/JSX artifact。
Works with
Categories
用于创建针对 Slack 优化的动画 GIF 的知识和工具集。提供约束条件、验证工具和动画概念。当用户请求为 Slack 创建动画 GIF 时使用,例如"为 Slack 制作一个 X 做 Y 的 GIF"。. Slack Gif Creator is an agent skill from LeastBit/Claude_skills_zh-CN.
Slack Gif Creator fits situations like: tasks that involve Social media graphics.
Run `npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a claude-code`. Or copy the skill folder (skills/slack-gif-creator in LeastBit/Claude_skills_zh-CN) into .claude/skills/slack-gif-creator in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a codex`. Or copy the skill folder (skills/slack-gif-creator in LeastBit/Claude_skills_zh-CN) into .agents/skills/slack-gif-creator in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LeastBit/Claude_skills_zh-CN --skill slack-gif-creator -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/slack-gif-creator, .gemini/skills/slack-gif-creator, .github/skills/slack-gif-creator and .opencode/skills/slack-gif-creator in your project.
Going by SKILL.md and its folder, Slack Gif Creator needs Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python 3.
SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Slack Gif Creator is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 4.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Slack Gif Creator: Slack GIF Creator (anthropics/skills, 180k stars), Slack Gif Creator (davepoon/buildwithclaude, 3.6k stars), Slack Gif Creator (nexu-io/open-design, 100k stars) and Pixel Gif Maker (mohitagw15856/pm-claude-skills, 1.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LeastBit (a GitHub user) maintains it in LeastBit/Claude_skills_zh-CN, which has 590 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on January 19, 2026.
Source: LeastBit/Claude_skills_zh-CN on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.