微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

GifHorse

GifHorse · v1.0.1
安全 unknown 级 作者 coyote-git 公开目录收录
2.4k 下载 1 安装 11.8k 收藏 1 浏览

简介

GifHorse

原始描述

Search video dialogue and create reaction GIFs with timed subtitles. Perfect for creating meme-worthy clips from movies and TV shows.

通过你的 Agent 添加

安装目录:gifhorse/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/gifhorse/
Codex CLI~/.codex/skills/gifhorse/
DeepSeek Harness~/.agents/skills/gifhorse/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

技能正文


name: gifhorse description: Search video dialogue and create reaction GIFs with timed subtitles. Perfect for creating meme-worthy clips from movies and TV shows. homepage: https://github.com/Coyote-git/gifhorse metadata: {"clawdbot":{"emoji":"🐴","requires":{"bins":["gifhorse","ffmpeg"]},"install":[{"id":"gifhorse-setup","kind":"shell","command":"git clone https://github.com/Coyote-git/gifhorse.git ~/gifhorse && cd /gifhorse && python3 -m venv venv && source venv/bin/activate && pip install -e .","bins":["gifhorse"],"label":"Install gifhorse CLI tool"},{"id":"ffmpeg-full","kind":"shell","command":"brew install ffmpeg-full","bins":["ffmpeg"],"label":"Install FFmpeg-full (macOS)"}],"config":{"examples":[{"GIFHORSE_DB":"/gifhorse/transcriptions.db"}]}}}

GifHorse - Dialogue Search & GIF Creator

Create reaction GIFs from your video library by searching dialogue and adding timed subtitles.

What GifHorse Does

  1. Transcribe videos - Extract dialogue with timestamps by downloading subtitles, using local .srt files, or Whisper AI
  2. Search dialogue - Find quotes across your entire video library instantly
  3. Preview clips - See exactly what will be captured before creating the GIF
  4. Create GIFs - Generate GIFs with perfectly timed subtitles and optional watermarks

Setup

First Time Setup

  1. Install gifhorse (via install button above)
  2. Install FFmpeg-full for subtitle rendering (via install button above)
  3. Transcribe your video library (downloads subtitles automatically):
cd ~/gifhorse && source venv/bin/activate
gifhorse transcribe ~/Movies

The gifhorse command must be run from within its virtual environment. You can activate it with:

cd ~/gifhorse && source venv/bin/activate

Or use the activation helper:

source ~/gifhorse/activate.sh

Available Commands

Transcribe Videos

Extract dialogue from your videos (one-time per video):

# Default: downloads subtitles from online providers (fast, recommended)
gifhorse transcribe /path/to/videos

# Use only local .srt files (no downloading, no Whisper)
gifhorse transcribe /path/to/videos --use-subtitles

# Use Whisper AI (slow but works for any video)
gifhorse transcribe /path/to/video.mp4 --use-whisper

Download Subtitles Only

Download .srt files without storing in the database:

gifhorse fetch-subtitles /path/to/videos
gifhorse fetch-subtitles /path/to/videos --skip-existing

Search Dialogue

Find quotes across your entire library:

# Basic search
gifhorse search "memorable quote"

# Search with surrounding context
gifhorse search "memorable quote" --context 2

Preview Before Creating

See exactly what will be captured:

gifhorse preview "memorable quote" 1
gifhorse preview "quote" 1 --include-before 1 --include-after 1

Create GIF

Generate the GIF with subtitles:

# Basic GIF
gifhorse create "memorable quote" 1 --output reaction.gif

# High quality for social media
gifhorse create "quote" 1 --width 720 --fps 24 --quality high

# Include conversation context
gifhorse create "quote" 1 --include-before 2 --include-after 1

Check Status

# See transcription stats
gifhorse stats

# List all transcribed videos
gifhorse list

Timing Options

Control exactly what gets captured:

  • --include-before N - Include N dialogue segments before the match
  • --include-after N - Include N dialogue segments after the match
  • --padding-before SECS - Add buffer seconds before dialogue starts (default: 1.0)
  • --padding-after SECS - Add buffer seconds after dialogue ends (default: 1.0)
  • --start-offset SECS - Manual adjustment to start time (can be negative)
  • --end-offset SECS - Manual adjustment to end time (can be negative)

Important: For reactions after dialogue, use --padding-after instead of --include-after. The include-after option captures ALL time until the next dialogue segment (could be 30+ seconds!).

Quality Options

  • --quality low|medium|high - Color palette quality (affects file size)
  • --fps N - Frames per second (default: 15, use 24 for smooth)
  • --width N - Width in pixels (default: 480, use 720 for HD)
  • --no-subtitles - Create GIF without subtitle overlay

Note: All GIFs automatically include a subtle "gifhorse" watermark in the bottom-right corner.

Common Workflows

Quick Reaction GIF

gifhorse search "perfect"
gifhorse create "perfect" 1 --padding-after 2.0 --output perfect.gif

Full Conversation Exchange

gifhorse search "key phrase"
gifhorse preview "key phrase" 1 --include-before 2 --include-after 1
gifhorse create "key phrase" 1 --include-before 2 --include-after 1

High Quality for Twitter/X

gifhorse create "quote" 1 --width 720 --fps 24 --quality high --output tweet.gif

Scene with Reaction After Dialogue

gifhorse create "memorable line" 1 --padding-after 3.0

Tips & Tricks

  1. Always preview first - Use preview to verify timing before creating
  2. Default downloads subtitles - Just run gifhorse transcribe and subtitles are fetched automatically
  3. Watch file sizes - High quality + long duration = large files (20s can be 20+ MB)
  4. Padding vs Include - For reactions, use --padding-after not --include-after
  5. Search with context - Add --context 2 to see surrounding dialogue

File Size Guide

  • Low quality, 10s, 360p: ~1-2 MB
  • Medium quality, 10s, 480p: ~3-5 MB
  • High quality, 20s, 720p: ~20+ MB

Troubleshooting

"command not found: gifhorse"

Activate the virtual environment:

cd ~/gifhorse && source venv/bin/activate

Subtitle rendering errors

Make sure FFmpeg-full is installed:

brew install ffmpeg-full

Video file not found

The database stores absolute paths. If you moved videos after transcription, re-transcribe in the new location.

Network Share Support

GifHorse works with network-mounted videos:

# Mount network share (macOS)
open "smb://server-ip/share-name"

# Transcribe from network
gifhorse transcribe "/Volumes/server-ip/Movies"

When to Use This Skill

Invoke gifhorse when the user wants to:

  • Search for dialogue or quotes in their video library
  • Create a reaction GIF from a movie or TV show
  • Add subtitles to a video clip
  • Transcribe videos for searchable dialogue
  • Preview what a GIF will look like before creating it
  • Add watermarks to GIFs for social media

Learn More

License

MIT

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill