360 Secure SkillHub
360 安全技能中心

GifGrep (tc)

这款工具核心功能包括从Tenor、Giphy搜索、预览、下载GIF,还支持提取指定时间的静态帧、生成帧组合表;提供CLI输出和交互式TUI预览两种模式。典型场景有查找反应、节日类GIF,处理GIF生成静态图或帧表。通过JSON参数调用,输出可为GIF链接、本地文件或处理后的图片,支持Homebrew或Go安装,API密钥可选。

terrycarter1985
terrycarter1985
热度 27.01
最近更新 2026-05-12 05:46:48
分类:搜索依赖:第三方 API / MCP 服务 / 读写文件应用场景:数据处理 / 文件转换 / 社交媒体

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add 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)