agnostic-skills

Install video-trim

Cut the dead time out of screen recordings, scrub notification banners, and build review videos. Install is a folder copy: it changes nothing else. What it does and when to use each script: SKILL.md.

Requirements

Install

  1. Put the video-trim folder where your harness looks for skills (details in the toggle below).

    cp -R video-trim ~/.claude/skills/video-trim
  2. Check the tools are found:

    ffmpeg -version && ffprobe -version
  3. Check the scripts run:

    python3 <skill>/scripts/trim.py --help
  4. Check OCR (exits 2 with hints if no OCR backend):

    python3 <skill>/scripts/scrub_overlays.py --dry-run <any.mp4>

There are no hooks to wire.

Check it works

python3 <skill>/scripts/trim.py --help

Uninstall

Delete the folder (and the cache folder, see below):

rm -rf ~/.claude/skills/video-trim
Per-harness locations
  • Claude Code: ~/.claude/skills/video-trim (all projects), or <repo>/.claude/skills/video-trim.

  • Codex, opencode: ~/.agents/skills/video-trim, or the harness's own skills folder.

  • Other harnesses: any fixed folder, with a pointer to its SKILL.md in your always-loaded rules (AGENTS.md, GEMINI.md, and so on).

Dependencies and install commands
DependencyForInstall
python3 3.9+every script (stdlib only)Windows: py in place of python3
ffmpeg and ffprobe on PATHevery scriptmacOS brew install ffmpeg; Debian/Ubuntu apt install ffmpeg; Windows winget install Gyan.FFmpeg or choco install ffmpeg
OCR, only for scrub_overlays.pyreading bannersmacOS: nothing extra when swiftc exists (Xcode command line tools: xcode-select --install); the Vision helper is built once on first use. Any OS: tesseract on PATH (brew install tesseract, apt install tesseract-ocr, or the UB Mannheim installer / choco install tesseract on Windows)
Configuration

Optional. Set in the environment, or as a KEY=VALUE line in ~/.config/video-trim/config.env (template: config.example.env).

KeyDefaultMeaning
VIDEO_TRIM_CROPautooff stops trim.py and cut_windows.py cropping to the app by default
VIDEO_TRIM_CACHE~/.cache/video-trim, or %LOCALAPPDATA%\video-trim on WindowsFolder for the compiled OCR helper
What is in it
PathWhat it is
SKILL.mdWhen to use which script, the rules and the traps
scripts/app_crop.pyFind the app's rectangle in a larger capture (used by the two below)
scripts/trim.pyCut every frozen stretch, keep a beat at each edge
scripts/cut_windows.pyKeep explicit or log-driven windows instead
scripts/scrub_overlays.pyCut notification banners out (OCR)
scripts/ocr_frames.swiftmacOS Vision OCR helper behind scrub_overlays.py --ocr vision
scripts/stitch.pyJoin recordings into one review video with a chapter list
scripts/side_by_side.pySlowed before/after of a sub-second effect
scripts/frame_strip.pyContact sheet to check a cut
What it writes
  • No network access.

  • Nothing is written outside the outputs you name and a per-user cache folder for the compiled OCR helper (VIDEO_TRIM_CACHE, else ~/.cache/video-trim, or %LOCALAPPDATA%\video-trim on Windows).

  • To remove it, delete the folder (and the cache folder).