← Back to Skills Marketplace
ivangdavila

GIF

by Iván · GitHub ↗ · v1.0.1
linuxdarwinwin32 ✓ Security Clean
988
Downloads
2
Stars
7
Active Installs
2
Versions
Install in OpenClaw
/install gif
Description
Find, search, and create GIFs with proper optimization and accessibility.
README (SKILL.md)

Requirements

Required for creating GIFs:

  • ffmpeg — video to GIF conversion

Optional:

  • gifsicle — post-optimization (reduces size 30-50%)
  • GIPHY_API_KEY — for Giphy search API
  • TENOR_API_KEY — for Tenor search API

Where to Find GIFs

Site Best for API
Giphy General, trending Yes (key required)
Tenor Messaging apps Yes (key required)
Imgur Viral/community Yes
Reddit r/gifs Niche, unique No

Creating GIFs with FFmpeg

Always use palettegen (without it, colors look washed out):

ffmpeg -ss 0 -t 5 -i input.mp4 \
  -filter_complex "fps=10,scale=480:-1:flags=lanczos,split[a][b];[a]palettegen[p];[b][p]paletteuse" \
  output.gif
Setting Value Why
fps 8-12 Higher = much larger file
scale 320-480 1080p GIFs are massive
lanczos Always Best scaling quality

Post-Optimization

If gifsicle is available:

gifsicle -O3 --lossy=80 --colors 128 input.gif -o output.gif

Reduces size 30-50% with minimal quality loss.

Video Alternative

For web, use video instead of large GIFs (80-90% smaller):

\x3Cvideo autoplay muted loop playsinline>
  \x3Csource src="animation.webm" type="video/webm">
  \x3Csource src="animation.mp4" type="video/mp4">
\x3C/video>

Accessibility

  • WCAG 2.2.2: Loops >5s need pause control
  • prefers-reduced-motion: Show static image instead
  • Alt text: Describe the action ("Cat jumping off table")
  • Three flashes: Nothing >3 flashes/second (seizure risk)

Common Mistakes

  • No palettegen in FFmpeg — colors look terrible
  • FPS >15 — file size explodes for no visual benefit
  • No lazy loading on web — blocks page load
  • Using huge GIF where video would work — 10x larger

API Quick Reference

Giphy search:

curl "https://api.giphy.com/v1/gifs/search?api_key=$GIPHY_API_KEY&q=thumbs+up&limit=10"

Tenor search:

curl "https://tenor.googleapis.com/v2/search?key=$TENOR_API_KEY&q=thumbs+up&limit=10"
Usage Guidance
This skill is instruction-only and appears coherent for GIF creation/search. Before using: ensure ffmpeg is installed and you understand that converting local files requires the agent to access those files; gifsicle and API keys are optional and only needed for optimization or remote searches. The curl examples will make network requests to third-party APIs (Giphy/Tenor) if you supply keys—do not expose sensitive content in GIFs you upload, and keep API keys secret. Because the skill runs shell commands you should review/approve any concrete commands the agent will execute (to avoid accidental processing of sensitive files). Overall low-risk if used for its stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: gif Version: 1.0.1 The skill bundle is benign. The `SKILL.md` provides instructions and command examples for creating, optimizing, and searching GIFs using standard tools like `ffmpeg`, `gifsicle`, and `curl`. The use of environment variables for API keys (`GIPHY_API_KEY`, `TENOR_API_KEY`) is a standard and appropriate practice. There is no evidence of data exfiltration, malicious execution, persistence mechanisms, or prompt injection attempts against the AI agent. All commands and instructions are directly aligned with the stated purpose of GIF management.
Capability Assessment
Purpose & Capability
Name/description match the declared requirements: ffmpeg is listed as required for GIF creation; gifsicle and GIPHY/TENOR keys are documented as optional for optimization and searching. There are no unrelated binaries or credentials requested.
Instruction Scope
SKILL.md only shows ffmpeg/gifsicle commands for conversion/optimization and example curl calls to Giphy/Tenor. It does not instruct reading unrelated system files or accessing unrelated credentials. Example use of $GIPHY_API_KEY and $TENOR_API_KEY is appropriate and documented as optional.
Install Mechanism
No install spec / no code files (instruction-only). This is lowest-risk: nothing will be downloaded or written by the skill itself.
Credentials
No required environment variables or credentials. The optional API keys referenced are directly relevant to the documented search APIs (Giphy, Tenor). No other secrets are requested.
Persistence & Privilege
Skill is not forced always-on, is user-invocable, and uses the platform default for autonomous invocation. It does not request persistent system presence or modify other skills/config.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install gif
  3. After installation, invoke the skill by name or use /gif
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Declare required binary (ffmpeg), document optional deps (gifsicle, API keys)
v1.0.0
Initial release
Metadata
Slug gif
Version 1.0.1
License
All-time Installs 7
Active Installs 7
Total Versions 2
Frequently Asked Questions

What is GIF?

Find, search, and create GIFs with proper optimization and accessibility. It is an AI Agent Skill for Claude Code / OpenClaw, with 988 downloads so far.

How do I install GIF?

Run "/install gif" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is GIF free?

Yes, GIF is completely free (open-source). You can download, install and use it at no cost.

Which platforms does GIF support?

GIF is cross-platform and runs anywhere OpenClaw / Claude Code is available (linux, darwin, win32).

Who created GIF?

It is built and maintained by Iván (@ivangdavila); the current version is v1.0.1.

💬 Comments