Skills for Real Engineers. Straight from my .agents directory.
ffmpeg-video-editing
Agent skill frombenchflow-ai/skillsbench
Video editing with ffmpeg including cutting, trimming, concatenating segments, and re-encoding. Use when working with video files (.mp4, .mkv, .avi) for: removing segments, joining clips, extracting portions, or any video manipulation task.
How to install ffmpeg-video-editing
npx skills add benchflow-ai/skillsbench# or add only this skill to Claude Code: copy the folder
tasks-extra/video-filler-word-remover/environment/skills/ffmpeg-video-editing/
# into
~/.claude/skills/ffmpeg-video-editing/ (all projects)
.claude/skills/ffmpeg-video-editing/ (one project)
tasks-extra/video-filler-word-remover/environment/skills/ffmpeg-video-editing/SKILL.md
Apache-2.0Full file1# FFmpeg Video Editing23## Cutting Video Segments45### Extract a portion (keep segment)67```bash8# Extract from start_time to end_time9ffmpeg -i input.mp4 -ss START -to END -c copy output.mp41011# With re-encoding for frame-accurate cuts12ffmpeg -i input.mp4 -ss START -to END -c:v libx264 -c:a aac output.mp413```1415### Remove a segment (cut out middle)1617To remove a segment, split into parts and concatenate:1819```bash20# 1. Extract before the cut21ffmpeg -i input.mp4 -to CUT_START -c copy part1.mp42223# 2. Extract after the cut24ffmpeg -i input.mp4 -ss CUT_END -c copy part2.mp42526# 3. Concatenate27ffmpeg -f concat -safe 0 -i filelist.txt -c copy output.mp428```2930## Concatenating Multiple Segments3132### Using concat demuxer (recommended for same-codec files)3334Create a file list (`segments.txt`):35```36file 'segment1.mp4'37file 'segment2.mp4'38file 'segment3.mp4'39```4041Then concatenate:42```bash43ffmpeg -f concat -safe 0 -i segments.txt -c copy output.mp444```4546### Using filter_complex (for re-encoding)4748```bash49ffmpeg -i seg1.mp4 -i seg2.mp4 -i seg3.mp4 \50 -filter_complex "[0:v][0:a][1:v][1:a][2:v][2:a]concat=n=3:v=1:a=1[v][a]" \51 -map "[v]" -map "[a]" output.mp452```5354## Removing Multiple Segments (Batch)5556For removing many short segments (like filler words), the efficient approach:57581. Calculate the "keep" segments (inverse of remove segments)592. Extract each keep segment603. Concatenate all keep segments6162```python63import subprocess64import os65…
Excerpt shown under the repository's Apache-2.0 license.
More skills in skillsbench
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
