ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

gif-generation

Post-process video files and generate optimized GIFs. Converts webm/mp4

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/athola/nm-scry-gif-generation
Or

Night Market Skill — ported from claude-night-market/scry. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Table of Contents

  • Overview
  • Required TodoWrite Items
  • Process
  • Step 1: Validate Input File
  • Step 2: Check ffmpeg Installation
  • Step 3: Execute Conversion
  • Basic Conversion (Fast, Larger File)
  • High Quality with Palette Generation (Recommended)
  • Maximum Quality with Dithering
  • Optimization Options
  • Common Presets
  • Step 4: Verify Output
  • Exit Criteria
  • Troubleshooting
  • Large Output File
  • Color Banding
  • Slow Conversion

GIF Generation Skill

Post-process video files (webm/mp4) and generate optimized GIF output with configurable quality settings.

When To Use

  • Converting recordings to animated GIF format
  • Creating lightweight demo animations

When NOT To Use

  • High-quality video output - use full recording tools
  • Static image generation without animation needs

Overview

This skill handles the conversion of video recordings (typically from browser automation) to GIF format. It provides multiple quality presets and optimization options to balance file size with visual quality.

Required TodoWrite Items

- Validate input video file exists
- Check ffmpeg installation
- Execute GIF conversion
- Verify output and report results

Verification: Run the command with --help flag to verify availability.

Process

Step 1: Validate Input File

Confirm the source video file exists and is a supported format:

# Check file exists and get info
if [[ -f "$INPUT_FILE" ]]; then
    file "$INPUT_FILE"
    ffprobe -v quiet -show_format -show_streams "$INPUT_FILE" 2>/dev/null | head -20
else
    echo "Error: Input file not found: $INPUT_FILE"
    exit 1
fi

Verification: Run the command with --help flag to verify availability.

Supported input formats: .webm, .mp4, .mov, .avi

Step 2: Check ffmpeg Installation

Verify ffmpeg is available:

if ! command -v ffmpeg &> /dev/null; then
    echo "Error: ffmpeg is not installed"
    echo "Install with: sudo apt install ffmpeg (Linux) or brew install ffmpeg (macOS)"
    exit 1
fi
ffmpeg -version | head -1

Verification: Run the command with --help flag to verify availability.

Step 3: Execute Conversion

Choose the appropriate conversion command based on quality requirements:

Basic Conversion (Fast, Larger File)

Metadata

Author@athola
Stars4473
Views0
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-athola-nm-scry-gif-generation": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.