360 Secure SkillHub
360 安全技能中心

GifGrep (tc)

通过 gifgrep CLI 在 Tenor 与 Giphy 中检索 GIF,返回链接或直接下载;还可从 GIF 提取静态帧、生成帧拼图。依赖 gifgrep 二进制,Giphy 与 Tenor 的 API Key 可选,未设置时使用演示密钥,检索与下载需联网。

分类:搜索
terrycarter1985
terrycarter1985
热度 22.21
最近更新 2026-05-12 05:46:48

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add terrycarter1985/tc-gifgrep
兼容性
通用兼容
联网要求
需要联网
数据出网
必须出网
Metadata
name
gifgrep
description
Search, preview, download, and process GIFs from Tenor and Giphy
author
steipete
author-url
https://github.com/steipete/gifgrep
version
1.0.0
tags
["gif","media","search","images"]
metadata
{"requires":{"bins":["gifgrep"],"env":["GIPHY_API_KEY","TENOR_API_KEY"]},"install":[{"type":"homebrew","package":"steipete/tap/gifgrep","label":"Install GifGrep CLI (Homebrew)"},{"type":"go","package":"github.com/steipete/gifgrep/cmd/gifgrep@latest","label":"Install GifGrep CLI (Go)"}]}

GifGrep GIF Search Skill

Overview

Search, preview, download, and process GIFs from Tenor and Giphy providers. Supports CLI output, interactive TUI with previews, static frame extraction, and frame sheet generation.

Configuration

Environment Variable Description
GIPHY_API_KEY Optional for Giphy provider (uses demo key if not set)
TENOR_API_KEY Optional for Tenor provider (uses demo key if not set)

Usage Examples

Search for GIFs

{
  "tool": "gifgrep_search",
  "parameters": {
    "query": "excited reaction",
    "limit": 5,
    "format": "url"
  }
}

Search and download top GIF

{
  "tool": "gifgrep_search",
  "parameters": {
    "query": "happy birthday",
    "limit": 1,
    "download": true,
    "output_path": "/workspace/downloads/birthday.gif"
  }
}

Extract static frame from GIF

{
  "tool": "gifgrep_extract_frame",
  "parameters": {
    "input_path": "/workspace/downloads/birthday.gif",
    "time": "1.5s",
    "output_path": "/workspace/output/frame.png"
  }
}

Generate frame sheet

{
  "tool": "gifgrep_generate_sheet",
  "parameters": {
    "input_path": "/workspace/downloads/birthday.gif",
    "frames": 9,
    "columns": 3,
    "output_path": "/workspace/output/sheet.png"
  }
}

Supported Providers

  • auto (default): Uses Giphy if API key is set, otherwise Tenor
  • tenor: Tenor GIF provider
  • giphy: Giphy GIF provider (requires API key for higher rate limits)