Cut cold-open trailers from long videos with a human approval step

David Oluyale built ColdOpen, an agent that picks gripping moments from a YouTube episode and renders a captioned 60-second trailer in two formats for about 10 cents after he approves the cut.

Done withCustom agentinYouTube· Nov 11, 2026

What they did

Oluyale wanted the short teaser that plays before a podcast or YouTube intro without scrubbing an hour of footage. He had Claude Code design the agent first, using his own design skill to write a spec and draw the architecture on Miro, then build it to that spec. The resulting agent downloads a video with yt-dlp, transcribes it with Whisper into numbered sentences, and makes one structured Claude call that proposes moments by sentence ID with scores for hook, emotion and surprise. Code then checks every proposal, orders the clips for rising tension and stops for the person to approve the exact list. Only then does ffmpeg cut, caption and render 16:9 and 9:16 versions. He ran it on episodes of his own course from the command line and a Streamlit page.

How it went

On a 7:35 episode the agent found 12 verified moments from one Claude call in 68 seconds for about $0.105. He swapped one clip before approving and the 5-clip cut rendered at 61.8 seconds in both formats. In one run Claude proposed a 24-second clip despite a 20-second limit; the verifier rejected it. A five-case test set first showed cuts of only one or two long clips, fixed by passing the target length into the prompt. A plain build-me-an-agent prompt, tried as a comparison, ran out of output tokens before the code was finished.

Worth knowing

Have the model return sentence IDs, not timestamps, so code owns the numbers. The approval is tied to a hash of the ordered clip list, so editing it after approval blocks the render. Screen recordings with no face fall back to a blurred letterbox for vertical. The post also promotes the author's free design skill and course.

Try it

With Custom agent· 6 parts to fill in

Build me a small pipeline that turns [a YouTube URL or video file] into a [30 to 90] second cold-open trailer in [16:9 and 9:16]. Download and transcribe it with word timestamps, split it into numbered sentences, then ask the model to propose [3 to 6] gripping moments by sentence number only, never timestamps. Check every proposal in code (real IDs, no overlaps, each clip under [20] seconds) and order them so tension builds. Stop and show me the clip list for approval. Render with captions only after I approve that exact list, and stop if cost passes [budget].

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related