Giphy
/install giphy
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)
export GIPHY_API_KEY="your-api-key"
Option B: Persistent for OpenClaw (recommended)
Add to ~/.openclaw/.env:
GIPHY_API_KEY=your-api-key
Then restart OpenClaw so the environment is reloaded.
Validation
- If
GIPHY_API_KEYis present, the skill works. - If missing, ask the user to set it and retry.
Workflow
- Build a Giphy Search API URL with user intent as query.
- URL-encode the query text.
- Request one result from Giphy.
- Extract the first GIF page URL from
data[0].url. - Send that URL to Discord.
API Request Template
Use this endpoint shape:
https://api.giphy.com/v1/gifs/search?api_key=\x3CKEY>&q=\x3CENCODED_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 dancefacepalm reactionmind blownawkward 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?"
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install giphy - 安装完成后,直接呼叫该 Skill 的名称或使用
/giphy触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Giphy 是什么?
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. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 3375 次。
如何安装 Giphy?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install giphy」即可一键安装,无需额外配置。
Giphy 是免费的吗?
是的,Giphy 完全免费(开源免费),可自由下载、安装和使用。
Giphy 支持哪些平台?
Giphy 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Giphy?
由 minbang930(@minbang930)开发并维护,当前版本 v1.0.7。