clip-hand-skill
Installation
SKILL.md
Video Clipping Expert Knowledge
Cross-Platform Notes
All tools (ffmpeg, ffprobe, yt-dlp, whisper) use identical CLI flags on Windows, macOS, and Linux. The differences are only in shell syntax:
| Feature | macOS / Linux | Windows (cmd.exe) |
|---|---|---|
| Suppress stderr | 2>/dev/null |
2>NUL |
| Filter output | | grep pattern |
| findstr pattern |
| Delete files | rm file1 file2 |
del file1 file2 |
| Null output device | -f null - |
-f null - (same) |
| ffmpeg subtitle paths | subtitles=clip.srt |
subtitles=clip.srt (relative OK, absolute needs C\\:/path) |
IMPORTANT: ffmpeg filter paths (-vf "subtitles=...") always need forward slashes. On Windows with absolute paths, escape the colon: subtitles=C\\:/Users/me/clip.srt
Prefer using file_write tool for creating SRT/text files instead of shell echo/heredoc.