Slack GIF Creator
Create compact animated GIFs with frame-building, timing, palette, and validation helpers.
npx skills add anthropics/skills --skill slack-gif-creator What it does
A small reaction GIF needs recognizable motion while staying compact and readable. Slack GIF Creator provides utilities and animation concepts for building and optimizing a short GIF.
What changes after install
- Includes a frame builder with palette and emoji-oriented optimization options.
- Provides easing functions, composition helpers, and validators.
- Encourages explicit tradeoffs among dimensions, frame rate, duration, and file size.
Install
Run this command with Node.js 22.20 or later and select your agent in the Skills CLI.
npx skills add anthropics/skills --skill slack-gif-creator Before using Slack GIF Creator
- Use Python with Pillow and retain the bundled core GIF helpers. Provide the intended Slack use, dimensions and animation brief before generating frames.
Read the reviewed setup instructions for the selected workflow.
When to use it
- Creating a short reaction animation or custom emoji-sized GIF.
- Animating a supplied image or original shapes for a compact message asset.
When not to use it
- Assuming a generated GIF can be uploaded without checking the current workspace's limits and permissions.
A worked example
“Make a small celebratory star that expands once and settles.” Ask for an animated emoji and a square preview on the team’s pale blue background. A five-point star with a dark outline gives the motion a recognizable silhouette when the preview shrinks. Agree on whether the pale background should be baked in. A shape painted to match one chat background can reveal a square when the theme changes.
- Pick the emoji size before drawing. The guide suggests 128 by 128 pixels for emoji and a larger canvas for a message image. For this brief, start with the smaller canvas and put the center of the star at its midpoint. Leave room around the largest tips. Starting with a detailed message illustration and shrinking it can turn its outline into scattered pixels.
- Draw the star as a polygon with Pillow, alternating an outer and inner radius. Keep the center fixed from frame to frame. Use the same fill, outline and background throughout. If the requester supplies artwork instead, establish whether they want the actual shape animated or only its colors carried over. An uploaded logo deserves a different decision from a sketch offered as inspiration.
- Build a short sequence with
GIFBuilder. The upstream example starts at ten frames per second. For an example with twelve frames, allocate some to expansion, some to settling, and return close to the resting pose before the loop starts again. Use the easing helper to soften the arrival at the largest radius. Preview the last frame followed immediately by the first. - Save an emoji-optimized GIF and inspect the exported file. Try the guide’s starting palette of 48 colors on this flat-color drawing. Run the validator in emoji mode and read its reported dimensions and file size. Compare one tip on the largest frame with the same tip in the source drawing. A speckled halo that appears only in the GIF is a reason to try a different palette before redrawing the polygon.
Upstream instructions: SKILL.md.
Troubleshooting
- The star seems to jump sideways as it grows. Compare the center and the leftmost and rightmost tips in the smallest and largest frames. Calculate every vertex around the same center. If the star was drawn on a smaller temporary image, align the center of that image when compositing each frame.
- The saved loop flashes at the seam. Step from the final frame to the first, checking the background as well as the radius. A large change at that transition repeats on every loop. Move part of the return motion into the last few frames and inspect a second loop at normal playback speed.
- The file is too large for the intended use. Check the actual workspace limit and measure the exported file. First try fewer distinct frames or a shorter hold. Compare the result with a version using fewer colors. A still pause and a gradual color gradient spend bytes on different things; on a flat-color star, simplifying motion may have a more visible cost than reducing unused colors.
How it chooses an approach
One short motion is enough for this brief. Start with the action someone should recognize at emoji size: a star expands, then rests. A rotating outline and extra particles compete for a handful of pixels at the same moment. If celebration is hard to read, first make the change in scale clearer and keep the outline legible at its smallest point.
The documented dependencies include Pillow, imageio and NumPy. Confirm that the required local modules and bundled helpers are available. A hand-drawn polygon avoids relying on an emoji font that may render differently on another system. The skill can also animate supplied pixels. In that case inspect the original edges before optimizing them, particularly if the artwork already has a matte around it.
Choose the output for its destination. A graphic embedded in a message can carry secondary details that would disappear beside a line of chat. If the requester needs both sizes, use the same recognizable motion and judge each export independently. Do not stretch the small deliverable and assume the larger version will satisfy a request for a message illustration.
When to use another skill
Choose this skill for a compact animated asset. Canvas Design suits a single still image, such as a printed celebration card that must carry a date and venue. Algorithmic Art suits an interactive sketch in which the viewer changes parameters and explores variations. If the only requested interaction is for the star to repeat automatically in chat, a GIF already provides that behavior without asking the recipient to open a separate viewer.
What to check after it runs
- Inspect the GIF at its intended display size against the light and dark surfaces where it may appear. Look for a pale square around a supposedly transparent star. If the background was intentionally specified, compare it with the approved color.
- Step through the smallest and largest frames. Count the tips you can distinguish and look for a cropped tip or an outline that vanishes at peak expansion. Increase the margin or simplify the outline before adding decorative detail.
- Watch three consecutive loops at normal speed. Follow one tip through expansion, settling and the restart. If it appears to jump twice per loop, isolate the transition frames and check whether the final rest matches the starting pose. Time the pause using the exported GIF; removing identical frames can change how long the star appears to rest.
- Inspect the exported dimensions, palette artifacts and actual byte size. Compare the validator’s findings with the workspace’s current upload requirements. Keep a copy of the output that was measured, since exporting again with a different frame rate or palette changes the file under review.
Related workflows
More in Design
- Algorithmic Art — seeded generative art
- Canvas Design — printable artwork
- Frontend Design — interface design
- Brand Guidelines — colors and typography
- Theme Factory — colors and fonts
Related skills in other categories
FAQ
- Does the skill include a library of ready-made characters?
- No. The source provides utilities and techniques, not a catalog of prepackaged graphics. Supply an image or create the visual elements.
- Does it upload the GIF to Slack?
- The documented workflow produces and checks a GIF file. Uploading it requires the relevant Slack access and a separate action.