Skills2026年3月29日·1 分钟阅读

Claude Official Skill: slack-gif-creator

Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for ...

Agent 就绪

先审查再安装

这个资产需要先审查。复制的指令会要求 Agent dry-run、列出写入项,确认后再继续。

Needs Confirmation · 66/100策略:需确认
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Community
入口
Claude Official Skill: slack-gif-creator
先审查命令
npx -y tokrepo@latest install f8f6a690-9ef1-439b-bade-d297808a9737 --target codex

先 dry-run,确认写入项后再运行此命令。

TL;DR
A Claude Code skill that provides constraints, validation tools, and animation concepts for creating Slack-optimized GIFs.
§01

What it is

The slack-gif-creator is an official Claude Code skill that equips Claude with the knowledge and utilities needed to create animated GIFs specifically optimized for Slack. It bundles size constraints, validation tooling, and animation design concepts into a reusable skill that Claude loads when users request animated GIFs for workplace communication.

This skill is aimed at developers and team leads who want to create custom animated content for Slack channels without learning GIF optimization toolchains from scratch.

§02

How it saves time or tokens

Without this skill, creating Slack-compatible GIFs requires trial-and-error with file size limits, frame rate tuning, and palette optimization. The skill encodes these constraints directly so Claude generates compliant GIFs on the first attempt. Estimated token cost per invocation is around 500 tokens for the skill context loading.

§03

How to use

  1. Install or enable the slack-gif-creator skill in your Claude Code environment by adding it to your project's skill configuration.
  2. Ask Claude to create an animated GIF for Slack, describing the content and style you want.
  3. Claude applies the skill's constraints (file size limits, dimensions, frame rate) automatically and generates or guides you through creating a compliant GIF.
§04

Example

# Prompt to Claude Code with the skill active:

Create an animated GIF showing a loading spinner
with our brand colors (#4A90D9, #2C3E50).
It should loop seamlessly and stay under Slack's
file size limit for inline preview.
§05

Related on TokRepo

§06

Common pitfalls

  • Slack's inline GIF preview has a file size threshold. GIFs over ~4MB may not auto-play and require users to click to view. Keep frame counts low and dimensions reasonable.
  • High-resolution GIFs balloon in size quickly. The skill recommends specific dimension caps, but overriding them defeats the purpose.
  • Color palette complexity directly affects GIF file size. Gradients and photo-realistic content compress poorly in the GIF format. Stick to flat colors and simple shapes.

常见问题

What file size limit does Slack impose on inline GIF previews?+

Slack auto-plays GIFs that are roughly under 4MB in the message view. Larger files still upload and can be viewed by clicking, but they lose the inline preview that makes GIFs effective in chat. The skill targets this threshold automatically.

Can this skill create GIFs programmatically or does it just advise?+

The skill provides constraints and validation logic. When paired with Claude Code's ability to write and execute code, it can generate GIFs using libraries like Pillow or ImageMagick. The skill ensures the output meets Slack's requirements.

Does the skill support animated PNGs (APNG) as well?+

The skill focuses specifically on the GIF format since that is what Slack reliably previews inline. APNG support in Slack is inconsistent across desktop and mobile clients, so GIF remains the safer choice.

How do I install a Claude Code skill?+

Skills are added to your Claude Code project configuration, typically in .claude/skills/ directory or via the skill installation command. Once present, Claude automatically loads the skill when it matches the task context.

Can I customize the constraints for other platforms like Discord or Teams?+

The skill is Slack-specific in its default constraints. You could fork the skill and modify the size limits and dimension recommendations to match Discord or Microsoft Teams requirements, which differ from Slack's thresholds.

引用来源 (3)
🙏

来源与感谢

Created by Anthropic. Licensed under MIT. anthropics/skills

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产