Video Edit

SkillMedia

The video edit skill is an agent skill that lets an AI agent edit local video files by running ffmpeg and ffprobe commands directly. With this video edit skill, the agent can trim, join, resize, speed-change, overlay, compress, and convert footage without wrapper scripts, using ready-made presets for platforms like TikTok and YouTube.

Available today. Use it from your connected AI after setup.

Install ffmpeg, which includes ffprobe, on the machine where the agent runs (for example with brew on macOS or apt on Ubuntu/Debian).

Then ask your AI: use the Video Edit skill

What your AI can do with it

  • Get video info with ffprobe in JSON format
  • Trim segments and concatenate multiple clips with -c copy for fast cuts
  • Resize and pad video using scale-and-pad presets for TikTok, YouTube, Instagram, Square, a
  • Change playback speed, including slow motion, with setpts and atempo filters
  • Extract audio to MP3 or replace a video's audio track
  • Add image overlays such as logos, compress with CRF, and convert formats like MOV to MP4

Getting started

  1. Install ffmpeg, which includes ffprobe, on the machine where the agent runs (for example with brew on macOS or apt on Ubuntu/Debian).
  2. Verify the install by running ffmpeg -version and ffprobe -version.
  3. Add the video-edit skill to the agent's available skills.
  4. Ask the agent to perform an edit, such as trimming a clip or resizing a video for a platform.

What this skill tells your AI

The instructions your AI receives, as published by calesthio/openmontage in .agents/skills/video-edit/SKILL.md and read by ahel’s review.

Edit videos locally by running ffmpeg/ffprobe directly. No wrapper scripts needed.

Prerequisites

Install ffmpeg (includes ffprobe):

# macOS
brew install ffmpeg

# Ubuntu/Debian
sudo apt update && sudo apt install -y ffmpeg

# Verify
ffmpeg -version && ffprobe -version

Quick Reference

Get video info

ffprobe -v quiet -print_format json -show_format -show_streams video.mp4

Trim

ffmpeg -y -ss 00:00:30 -to 00:01:45 -i video.mp4 -c copy trimmed.mp4

Concatenate clips

# 1. Create a file list
printf "file '%s'\n" clip1.mp4 clip2.mp4 clip3.mp4 > list.txt

# 2. Concat with stream copy
ffmpeg -y -f concat -safe 0 -i list.txt -c copy joined.mp4

Resize for platform

ffmpeg -y -i video.mp4 \
  -vf "scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black" \
  -c:a copy tiktok.mp4

Change speed

# 2x faster
ffmpeg -y -i video.mp4 -filter:v "setpts=0.5*PTS" -filter:a "atempo=2.0" fast.mp4

# 0.5x (slow motion)
ffmpeg -y -i video.mp4 -filter:v "setpts=2.0*PTS" -filter:a "atempo=0.5" slow.mp4

Extract audio

ffmpeg -y -i video.mp4 -vn -acodec libmp3lame audio.mp3

Replace audio

ffmpeg -y -i video.mp4 -i audio.mp3 -c:v copy -map 0:v:0 -map 1:a:0 -shortest output.mp4

Compress

ffmpeg -y -i video.mp4 -crf 23 -preset medium -c:a copy compressed.mp4

Convert format

ffmpeg -y -i video.mov output.mp4

Add image overlay

# Logo in top-right corner
ffmpeg -y -i video.mp4 -i logo.png \
  -filter_complex "overlay=W-w-10:10" -c:a copy watermarked.mp4

Platform Presets

PlatformResolutionScale + pad filter
TikTok1080 x 1920scale=1080:1920:force_original_aspect_ratio=decrease,pad=1080:1920:(ow-iw)/2:(oh-ih)/2:black
YouTube1920 x 1080scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2:black
Instagram1080 x 1350scale=1080:1350:force_original_aspect_ratio=decrease,pad=1080:1350:(ow-iw)/2:(oh-ih)/2:black
Square1080 x 1080scale=1080:1080:force_original_aspect_ratio=decrease,pad=1080:1080:(ow-iw)/2:(oh-ih)/2:black
Twitter/X1920 x 1080scale=1920:1080:force_original_aspect_ratio=decrease,pad=1920:1080:(ow-iw)/2:(oh-ih)/2:black

Use the filter with: ffmpeg -y -i input.mp4 -vf "<filter>" -c:a copy output.mp4

Tips

  • Always use -y to overwrite output without prompting.
  • Use -c copy when you only need to cut/join (no re-encoding, very fast).
  • Lower CRF = better quality, larger file. Range 18-28 is typical; 23 is the default.
  • For detailed recipes and flag explanations, see references/operations.md.

Signals

GitHub stars
62k
Forks
8k
Last commit
Sep 2026

ahel review

  • K1binfo
    installs-packages

Automated review, not a security audit. Ruleset v1+k2.

Questions

Does it need any wrapper scripts?
No. The skill has the agent run ffmpeg and ffprobe commands directly, with no wrapper scripts needed.
What do I need installed?
ffmpeg, which includes ffprobe. Install it with a package manager such as Homebrew on macOS or apt on Ubuntu/Debian, then verify with ffmpeg -version and ffprobe -version.
Can it resize video for social platforms?
Yes. It includes ready-made scale-and-pad presets for TikTok (1080x1920), YouTube (1920x1080), Instagram (1080x1350), Square (1080x1080), and Twitter/X (1920x1080).
Advanced
Item type
skill
Key
openmontage-video-edit
Source
github.com/calesthio/openmontage