360 Secure SkillHub
360 安全技能中心

gifgrep

核心功能:从Tenor、Giphy搜索、预览、下载GIF,支持提取指定帧、生成帧表,提供CLI输出与交互式TUI预览。典型场景:查找情绪反应、节日主题GIF,处理GIF静态帧素材。输入为带参数的工具调用,输出为GIF URL、本地文件或图片帧/帧表,API密钥可选,默认用演示密钥。

terrycarter1985
terrycarter1985
热度 26.77
最近更新 2026-05-12 05:31:47
分类:搜索依赖:代码执行 / 第三方 API / 读写文件应用场景:文件转换 / 图像生成 / API 集成 / 社交媒体

安装技能

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

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