GIF Maker for Openclaw

A versatile animation tool for converting image folders and sprite sheet grids into high-quality, compressed GIF files.

guanyang
v1.0.0
Mar 1, 2026
0
1.3k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install gif-maker

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install gif-maker using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is GIF Maker?

The GIF Maker is a robust tool within the Openclaw Skills library designed to streamline the creation of animated GIFs from various static sources. It provides a bridge between design assets and ready-to-use animations by supporting both sequential image frames (PNG/JPG) and structured sprite sheets.

By integrating this skill into your workflow, you gain access to professional-grade animation features like custom frame rate control, automatic grid slicing, and intelligent file size optimization. It is particularly useful for developers and designers who need to generate platform-compliant assets for web, mobile, or social media environments where file size and quality balance are critical.

GIF Maker Use Cases

  • Creating smooth animations from a sequence of numbered PNG or JPG images.
  • Converting character sprite sheets from game engines into preview GIFs using grid slicing.
  • Optimizing and compressing GIFs to meet strict file size requirements for messaging platforms like WeChat.
  • Rapidly prototyping UI animations by stitching together exported design frames.

How GIF Maker Works

  1. The user points the skill to a source, which can be a directory containing image frames or a single sprite sheet image.
  2. If a sprite sheet is used, the tool parses the layout parameter (e.g., 4x4) to accurately slice the image into individual animation frames.
  3. The frames are sorted alphabetically or by grid position to ensure a logical animation sequence.
  4. The skill compiles the frames into a GIF format using the specified frames per second (FPS) and loop settings.
  5. If the max-size parameter is set, the skill invokes compression tools to downscale the file size while maintaining visual integrity.

GIF Maker Setup

This skill is designed to work seamlessly within the Openclaw Skills environment. You can use the provided runner script which automatically handles virtual environment creation and dependency installation.

# Basic usage for an image sequence
./skills/gif-maker/scripts/run.sh /path/to/frame_folder --output my_anim.gif

# Basic usage for a sprite sheet with a 4x4 layout
./skills/gif-maker/scripts/run.sh /path/to/sheet.png --layout 4x4 --output my_sheet.gif

# Usage with specific FPS and file size limit (950KB)
./skills/gif-maker/scripts/run.sh /path/to/folder --fps 24 --max-size 950

Note: For compression features, ensure that gifsicle is installed on your system (e.g., brew install gifsicle on macOS).

GIF Maker Data Schema & Taxonomy

The GIF Maker skill utilizes a straightforward parameter set to manage data input and output:

Parameter Requirement Description
source Required The path to the input directory or image file.
--output Optional The filename for the resulting GIF (default: output.gif).
--fps Optional Sets the frames per second for the animation (default: 12).
--layout Conditional Required for sprite sheets only (e.g., 'Row x Column' like 4x4).
--max-size Optional Target maximum file size in KB for automatic compression.

GIF Maker Advanced Features

  • Intelligent compression: Automatically reduces file size using advanced algorithms to fit under a specified KB limit.
  • Sprite Sheet Parsing: Supports complex grid layouts, allowing you to turn a single static image into a multi-frame animation.
  • Automated Environment Setup: Includes a bootstrap script that manages Python dependencies and virtual environments automatically.
  • Flexible Sequencing: Handles various image formats including PNG and JPG with automatic alphanumeric sorting.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*