gifgrep
它能做什么
它指导 AI 智能体在 Tenor 或 Giphy 上查找 GIF,并把它们转换为静态图片或缩略图表。它适合想要表情 GIF,或快速预览动画片段的人。
适用场景
- ✓你想找一个符合某种反应或想法的 GIF 的时候。
- ✓你需要动画 GIF 的一张静态图片或一组帧画面的时候。
- ✓你想把 GIF 下载到电脑中,用于文档或聊天的时候。
技能链接
https://github.com/openclaw/openclaw/blob/main/skills/gifgrep/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请找一个开心跳舞的 GIF,下载下来,并从中截取一张静态图片。”
每周 5 个新技能,1 分钟读完。
工作原理
技能使用 gifgrep 命令在 Tenor 或 Giphy 上搜索,然后可以下载结果,并把单帧或多帧缩略图提取为 PNG。在推荐之前,它会检查 GIF 链接是否有效。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
gifgrep
Use gifgrep to search GIF providers (Tenor/Giphy), browse in a TUI, download results, and extract stills or sheets.
GIF-Grab (gifgrep workflow)
- Search -> preview -> download -> extract (still/sheet) for fast review and sharing.
Quick start
gifgrep cats --max 5gifgrep cats --format url | head -n 5gifgrep search --json cats | jq '.[0].url'gifgrep tui "office handshake"gifgrep cats --download --max 1 --format url
TUI + previews
- TUI:
gifgrep tui "query" - CLI still previews:
--thumbs(Kitty/Ghostty only; still frame)
Download + reveal
--downloadsaves to~/Downloads--revealshows the last download in Finder
Stills + sheets
gifgrep still ./clip.gif --at 1.5s -o still.pnggifgrep sheet ./clip.gif --frames 9 --cols 3 -o sheet.png- Sheets = single PNG grid of sampled frames (great for quick review, docs, PRs, chat).
- Tune:
--frames(count),--cols(grid width),--padding(spacing).
Providers
--source auto|tenor|giphyGIPHY_API_KEYrequired for--source giphyTENOR_API_KEYoptional (Tenor demo key used if unset)
Output
--jsonprints an array of results (id,title,url,preview_url,tags,width,height)--formatfor pipe-friendly fields (e.g.,url)
GIF asset hygiene
- Before recommending or using an animated GIF URL, verify it resolves successfully, has
Content-Type: image/gif, and is actually animated (multiple frames or loop metadata; e.g. inspect withfile,identify, or a small script). - Record attribution/license/source URL alongside the asset.
- Do not hotlink when a local asset is needed: download/copy it into the project and reference the local file.
Environment tweaks
GIFGREP_SOFTWARE_ANIM=1to force software animationGIFGREP_CELL_ASPECT=0.5to tweak preview geometry
常见问题
它需要 API 密钥吗?
Giphy 搜索需要 Giphy 密钥;如果没有设置,Tenor 可以使用内置的演示密钥。
什么是缩略图表?
缩略图表是由采样帧组成的单张 PNG 网格图,便于快速查看。
下载的文件保存在哪里?
下载内容保存到你的“下载”文件夹,并可使用显示选项在 Finder 中打开最近一个文件。
详情
作者的原始描述
Search GIF providers with CLI/TUI, download results, and extract stills/sheets.
repo: openclaw/openclaw
热度
- GitHub 星标
- 394k
- 排名
- #56
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
discord-user-post
394k让你的智能体通过 Discord 桌面应用,以你的身份发送你已批准的消息,并在发送前确认具体频道。
discrawl
394k让你的智能体搜索和总结本地保存的 Discord 消息档案,查看档案的新旧程度,并阅读私信。
gitcrawl
394k让你的智能体搜索已保存的 GitHub 议题和拉取请求档案,将重复内容归类,并在 GitHub 上核实它们的当前状态。
graincrawl
394k让你的智能体搜索已保存的 Granola 会议记录和转写稿,查看它们的新旧程度,并统计某段时间内的数量。