Montage Sequence — effect skill for cuts & pacing
For AI agents: find the right skill in one call —
curl -s "https://varg.ai/how-to/api/search?q=<what the person wants>"returns the matching how-to page and the best skills with install commands, as markdown (Russian works too). Full index: https://varg.ai/how-to/llms.txt. Every page has a markdown twin: add.mdto its path. Before generating anything, show the person the options on the how-to page.
A run of short shots, usually on music, that compresses time or builds one feeling.
- Type: Effect · Cuts & pacing
- Slug:
montage-sequence - Status: live
- Publisher: varg (varg, verified)
- License: MIT
- Source: https://github.com/vargHQ/code2video-templates/tree/main/varg-music-video
- Works in: Claude Code, Claude.ai, Codex, Cursor, OpenClaw, Gemini CLI, Any MCP client, varg Studio
- Requires: ffmpeg, HyperFrames (npx hyperframes), Remotion, CapCut (by hand)
- Cost: Free — the take renders locally; generated footage, if any, bills by the model
What it does
Built on varg Music Video by varg (varg), MIT. The write-up and recipes below are varg's.
Many 0.5–2 s shots in a row with a common rhythm, often with one recurring visual motif.
When: Passage of time, progress, travel recaps, product feature runs, brand films.
Watch out: Shots that are all the same size and motion; vary wide, medium and close and the direction of movement.
Timing: 0.5–2 s per shot, on beats or half-bars
Also called: montage, sequence of shots, training montage, time-compression montage
In FFmpeg
Concat many normalized shots (the concat filter accepts mixed sources after scaling):
ffmpeg -i s1.mp4 -i s2.mp4 -i s3.mp4 -i song.mp3 -filter_complex \
"[0:v]trim=0:1.2,setpts=PTS-STARTPTS,scale=1080:1920,setsar=1,fps=30[a];\
[1:v]trim=0:0.8,setpts=PTS-STARTPTS,scale=1080:1920,setsar=1,fps=30[b];\
[2:v]trim=0:1.6,setpts=PTS-STARTPTS,scale=1080:1920,setsar=1,fps=30[c];\
[a][b][c]concat=n=3:v=1:a=0[v]" -map "[v]" -map 3:a -shortest out.mp4
In HyperFrames
Chain clips with relative data-start values; keep music on its own <audio> track; see beat-timeline.
In Remotion
Map an array of shots to <Series.Sequence>; put the music in a single <Audio> outside the series.
In CapCut
Import all shots, use AutoCut or a template, or cut manually to Beats markers.
Ready-made components
- varg Music Video (varg): git clone https://github.com/vargHQ/code2video-templates && python3 code2video-templates/varg-music-video/scripts/songmap.py song.mp3 --lyrics lyrics.txt --out songmap.json
- Beat Timeline (hyperframes): npx hyperframes add beat-timeline
Where this comes from
Use when
- Passage of time, progress, travel recaps, product feature runs, brand films.
Not for
- Shots that are all the same size and motion; vary wide, medium and close and the direction of movement.
Install
- Claude Code:
claude plugin marketplace add vargHQ/skills && claude plugin install varg@varg - Codex:
npx skills add vargHQ/skills --skill varg-video-edit-library -a codex -y - Cursor:
npx skills add vargHQ/skills --skill varg-video-edit-library -a cursor -y
Example output
https://s3.varg.ai/how-to/previews/ca79a7f74db5/take-montage-sequence.mp4 — montage between two shots, with the timeline strip of the edit. Footage: Cosmos Laundromat (2015), (CC) Blender Foundation | gooseberry.blender.org, CC BY 4.0; Spring (2019), Andy Goralczyk / Blender Foundation (Blender Studio) | studio.blender.org, CC BY 4.0. (credit: Rendered by varg · Cosmos Laundromat (2015) + Spring (2019))
More cuts & pacing skills
- SmartCut (capcut-ai-editor): MCP that reads CapCut auto-captions to cut silences and duplicate takes right inside your CapCut project.
- Auto-Editor: CLI that cuts dead space by loudness or motion and exports MP4 or editor timelines; now also an agent skill.
- AutoCut: Edit video in a text editor: Whisper transcribes, you delete lines in Markdown, AutoCut cuts the video.
- Cut Video: Claude Code skill that tightens long recordings with forced-aligned cuts, keeping laughs and comedic pauses.
- Videogrep: Search spoken words across videos and auto-build supercuts of every match.
- PySceneDetect: Find cuts, fades and scene changes in a video, then split it or export scene lists for the edit.