GIF Picker for Openclaw

GIF Picker lets Openclaw agents choose a local reaction GIF by tag and return a reliable `MEDIA:` path for chat replies.

mirza42
v1.0.0
Jul 19, 2026
0
403
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install gif-picker

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-picker 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 Picker?

GIF Picker is a lightweight Openclaw Skills tool for selecting reaction GIFs from a local library using emotional or situational tags like praise, celebration, or facepalm.

It replaces fragile third-party GIF URLs and API-dependent services with a stable, offline-friendly workflow: the agent matches tags against index.json, the Python picker resolves the best file, and the response can include a MEDIA:<path> line that messaging systems can deliver consistently.

GIF Picker Use Cases

  • Replying with praise, celebration, acknowledgment, apology, or humor.
  • Avoiding Tenor/GIPHY URL rot and silent message failures caused by dead links.
  • Sending reaction media in offline, restricted, or API-free environments.
  • Curating team-specific or brand-safe GIF reactions from a local collection.
  • Verifying a library before using it in an Openclaw Skills workspace.
  • Picking the best matching GIF from one or more intent tags in real time.

How GIF Picker Works

  1. Create a local GIF library directory and ensure Python 3 is available.
  2. Add sample GIFs with populate.sh or copy in your own stable GIF files.
  3. Register each GIF in index.json with its filename, tags, mood, and description.
  4. Run pick_gif.py with one or more tags to find the best match, or use --list, --list-tags, and --verify to inspect the library.
  5. The script prints a MEDIA:<path> line so the agent can attach the GIF directly in its reply.

GIF Picker Setup

  1. Create the library root
mkdir -p ~/.openclaw/workspace/gif-library
  1. Copy the skill files into the directory
# Copy pick_gif.py, index.json, and populate.sh into ~/.openclaw/workspace/gif-library
  1. Populate sample GIFs and verify the install
cd ~/.openclaw/workspace/gif-library && bash populate.sh
python3 pick_gif.py --verify
python3 pick_gif.py --list
  1. Optional: point Openclaw Skills to a custom library path
export GIF_LIBRARY_DIR=~/.openclaw/workspace/gif-library

GIF Picker Data Schema & Taxonomy

Directory layout

Path Type Purpose
{GIF_LIBRARY_DIR}/gifs/ directory Stores local reaction GIF binaries used by the picker
{GIF_LIBRARY_DIR}/index.json JSON catalog Maps each GIF name to file, tags, mood, and description
{GIF_LIBRARY_DIR}/pick_gif.py Python CLI Performs tag matching, listing, and verification
{GIF_LIBRARY_DIR}/populate.sh shell script Downloads starter GIFs into the library

Metadata taxonomy

  • tags: Search tokens used to match the user's intent; examples include praise, good-job, celebration, salute, and facepalm.
  • mood: A short classifier for tone, such as positive, sarcastic, acknowledgment, or apology.
  • description: A human-readable explanation of what the GIF communicates.
  • file: The filename inside gifs/; only local files are used, so no CDN URLs are stored.

Runtime behavior

  • Default root: ~/.openclaw/workspace/gif-library
  • Optional override: GIF_LIBRARY_DIR
  • Output contract: MEDIA:<path>

GIF Picker Advanced Features

  • Offline-first media selection with no third-party CDN dependency.
  • No API keys, no rate limits, and no brittle external GIF URLs.
  • --list, --list-tags, and --verify support for library discovery and maintenance.
  • Tag-based matching that works with multiple intent words to improve relevance.
  • Custom-curated GIFs for team culture, product tone, or community rituals.
  • GIF_LIBRARY_DIR override for multi-workspace or self-hosted deployments.
  • Compatible with Openclaw message replies via a plain MEDIA:<path> output.
  • Ideal for Openclaw Skills workflows that need expressive, low-friction reaction media.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0