Community程式設計與開發github.com

gifgrep

以 CLI/TUI 搜尋 GIF 提供者,下載結果,並提取靜止圖像或圖表。

gifgrep 是什麼?

gifgrep 是一個專為開發者與 AI 代理設計的工具,可從 Tenor 與 Giphy 等提供者搜尋 GIF,並提供 TUI 預覽、下載及後製功能。它支援 CLI 與 TUI 兩種模式,能快速搜尋、預覽、下載 GIF,並從中提取靜止圖框或合成為單張 PNG 網格圖表(sheet)。靜止圖框與圖表提取功能對文件撰寫、PR 審查及即時通訊中的快速分享非常實用。此外,gifgrep 可輸出 JSON 或純格式欄位,便於串接其他命令列工具。為確保資產衛生,使用前應驗證 GIF URL 是否有效且為動畫格式,並遵守授權規定。該工具支援環境變數調整,如強制軟體動畫或調整預覽幾何。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/gifgrep

Installed? Explore more 程式設計與開發 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

gifgrep 是做什麼的?

使用 gifgrep 搜尋 GIF 提供者(Tenor/Giphy),以 TUI 瀏覽,下載結果,並提取靜止圖像或圖表。

GIF-Grab(gifgrep 工作流程)

  • 搜尋 -> 預覽 -> 下載 -> 提取(靜止圖像/圖表)以快速檢視與分享。

快速開始

  • gifgrep cats --max 5
  • gifgrep cats --format url | head -n 5
  • gifgrep search --json cats | jq '.[0].url'
  • gifgrep tui "office handshake"
  • gifgrep cats --download --max 1 --format url

TUI + 預覽

  • TUI:gifgrep tui "query"
  • CLI 靜止預覽:--thumbs(僅限 Kitty/Ghostty;靜止圖框)

下載 + 顯示

  • --download 儲存至 ~/Downloads
  • --reveal 在 Finder 中顯示最後一次下載

靜止圖像 + 圖表

  • gifgrep still ./clip.gif --at 1.5s -o still.png
  • gifgrep sheet ./clip.gif --frames 9 --cols 3 -o sheet.png
  • 圖表 = 單張 PNG 網格,取樣自影格(非常適合快速檢視、文件、PR、聊天)。
  • 調整:--frames(影格數)、--cols(網格寬度)、--padding(間距)。

提供者

  • --source auto|tenor|giphy
  • 使用 --source giphy 需設定 GIPHY_API_KEY
  • TENOR_API_KEY 為選用(若未設定則使用 Tenor 示範金鑰)

輸出

  • --json 輸出結果陣列(id、title、url、preview_url、tags、width、height)
  • --format 用於管線友善的欄位(例如 url)

GIF 資產衛生

  • 在推薦或使用動畫 GIF URL 之前,請確認其解析成功、Content-Type 為 image/gif,且確實為動畫(多影格或循環中繼資料;例如使用 file、identify 或小型腳本檢查)。
  • 同時記錄資產的歸屬/授權/來源 URL。
  • 當需要本機資產時,請勿直接熱連結:應下載/複製到專案中,並引用本機檔案。

環境調整

  • GIFGREP_SOFTWARE_ANIM=1 強制使用軟體動畫
  • GIFGREP_CELL_ASPECT=0.5 調整預覽幾何

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

camsnap

Capture frames or clips from RTSP/ONVIF cameras and local webcams, including USB pan/tilt/zoom control.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

相關技能