Search and send GIFs on WhatsApp. Handles the Tenor→MP4 conversion required for WhatsApp.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install gif-whatsapp或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install gif-whatsapp⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/gif-whatsapp/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: gif-whatsapp version: 1.2.0 description: Search and send GIFs on WhatsApp. Handles the Tenor→MP4 conversion required for WhatsApp. author: Leo 🦁 homepage: https://clawhub.com/skills/gif-whatsapp metadata: {"clawdbot":{"emoji":"🎬","requires":{"bins":["gifgrep","ffmpeg","curl"]},"requiresTools":["message"],"notes":"Uses the platform message tool (already configured) for WhatsApp delivery. gifgrep searches Tenor/Giphy only. Downloads are saved to /tmp and cleaned up after sending."}} allowed-tools: [exec, message] ---
Send GIFs naturally in WhatsApp conversations.
WhatsApp doesn't support direct Tenor/Giphy URLs. You MUST:
gifPlayback: truegifgrep "SEARCH QUERY" --max 5 --format url
Search in English for best results.
Always get 5 results and pick the best one based on the filename/description - don't just take the first result.
curl -sL "GIF_URL" -o /tmp/gif.gif
ffmpeg -i /tmp/gif.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" /tmp/gif.mp4 -y
cp /tmp/gif.mp4 /root/.openclaw/workspace/gif.mp4
⚠️ The message tool can ONLY send files from the workspace directory. Files in /tmp will fail with LocalMediaAccessError.
message action=send to=NUMBER message=" " filePath=/root/.openclaw/workspace/gif.mp4 gifPlayback=true
Use a single space as the message body — WhatsApp requires a non-empty message to send media, but the space won't be visible to the recipient.
# Search
gifgrep "thumbs up" --max 3 --format url
# Pick best URL, then download + convert + copy to workspace:
curl -sL "https://media.tenor.com/xxx.gif" -o /tmp/g.gif && \
ffmpeg -i /tmp/g.gif -movflags faststart -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" /tmp/g.mp4 -y 2>/dev/null && \
cp /tmp/g.mp4 /root/.openclaw/workspace/g.mp4
# Then send with message tool from workspace path, gifPlayback=true
✅ Good times:
❌ Don't overuse:
| Emotion | Search Terms | |---------|--------------| | Happy | celebration, party, dancing, excited | | Approval | thumbs up, nice, good job, applause | | Funny | laugh, lol, haha, funny | | Shocked | mind blown, shocked, surprised, wow | | Sad | crying, sad, disappointed | | Frustrated | facepalm, ugh, annoyed | | Love | heart, love, hug | | Cool | sunglasses, cool, awesome |
/tmp, then MUST be copied to workspace before sending (message tool only allows workspace paths)message tool — no separate WhatsApp credentials neededgifPlayback=true displays as looping GIF安装 Gif Whatsapp 后,可以对 AI 说这些话来触发它
Send a Slack message to the #engineering channel about the deployment
Formats and sends the message with relevant context, tagging the right people
Summarize all unread messages in my inbox from today
Reads messages across connected channels and returns a prioritized summary
Draft a reply to this customer complaint and send it for review
Writes an empathetic, professional response and routes it to the approval queue
将技能文件夹放到 ~/.claude/skills/gif-whatsapp/ 目录(个人级,所有项目可用),或 .claude/skills/gif-whatsapp/(项目级)。重启 AI 客户端后,用 /gif-whatsapp 主动调用,或让 AI 根据上下文自动发现并使用。
Gif Whatsapp 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Gif Whatsapp 可免费安装使用。请查阅仓库了解许可证信息。
Search and send GIFs on WhatsApp. Handles the Tenor→MP4 conversion required for WhatsApp.
Gif Whatsapp 属于「Communication」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。