返回顶部
g

giphy-gif

Search and send contextual Giphy GIFs in Discord. Use when a user asks for a GIF or when a brief visual reaction (celebration, humor, emotion) improves the flow.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.7
安全检测
已通过
3,310
下载量
3
收藏
概述
安装方式
版本历史

giphy-gif

# Giphy GIF Search Find a relevant GIF from Giphy and send it naturally in Discord. ## Behavior Rules - Send GIFs when explicitly requested. - Also allow proactive GIFs (without explicit request) when the moment clearly fits: celebration, shared humor, or strong emotional beats. - Keep proactive usage occasional (at most one GIF for a moment, avoid back-to-back GIF-only replies). - Prefer text-only in serious or information-dense conversation. - Keep results safe-for-work (`rating=g`). ## API Key (Easy Setup) This skill reads only one variable: `GIPHY_API_KEY`. ### Option A: Temporary (current shell session) ```bash export GIPHY_API_KEY="your-api-key" ``` ### Option B: Persistent for OpenClaw (recommended) Add to `~/.openclaw/.env`: ```bash GIPHY_API_KEY=your-api-key ``` Then restart OpenClaw so the environment is reloaded. ### Validation - If `GIPHY_API_KEY` is present, the skill works. - If missing, ask the user to set it and retry. ## Workflow 1. Build a Giphy Search API URL with user intent as query. 2. URL-encode the query text. 3. Request one result from Giphy. 4. Extract the first GIF page URL from `data[0].url`. 5. Send that URL to Discord. ## API Request Template Use this endpoint shape: `https://api.giphy.com/v1/gifs/search?api_key=<KEY>&q=<ENCODED_QUERY>&limit=1&rating=g&lang=en` ## Output Rule - If a GIF URL is found: send only the URL (Discord auto-embeds). - If no result is found: send a short fallback text and ask for a better keyword. ## Good Query Examples - `happy dance` - `facepalm reaction` - `mind blown` - `awkward silence` ## Fallback Message "I couldn’t find a GIF with the vibe you’re looking for. Could you give me a bit more specific keywords?"

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 giphy-1776372966 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 giphy-1776372966 技能

通过命令行安装

skillhub install giphy-1776372966

下载 Zip 包

⬇ 下载 giphy-gif v1.0.7

文件大小: 1.6 KB | 发布时间: 2026-4-17 14:49

v1.0.7 最新 2026-4-17 14:49
- Updated the fallback message to an English version:
- No functional or behavioral changes; documentation only.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部