OpenCode Webcam-Layout Skill and the ShortForge Clip App

Quick answer
Install the OpenCode skill creator globally with its one-line npx command, then prompt it for a skill that finds the webcam overlay, crops it to the bottom half and puts the screen share on top at 1080 by 1920 for 45 to 55 seconds. It checks for FFmpeg, installs OpenCV and generates a SKILL.md plus two Python scripts; a render took about 20 seconds, and one follow-up prompt closed a black gap. In a separate demo, my ShortForge app imported a YouTube link, transcribed it with Whisper, found about nine clips in a ten-minute video, rendered them with FFmpeg and scored each for virality, but subtitles and my webcam layout were not integrated.
This guide merges two May 2026 videos. I prefer my own layout to the one a commercial clip tool gave me, which hid the screen share. Use only video you own or have rights to. The OpenCode link on this site is an affiliate link. Related builds are the OpenCode video trim skill and the OpusClip-style app build.
1. The layout skill (May 17)
I had used a free skill called video-use from GitHub, but it struggled to produce good vertical clips. So I installed the skill creator globally and prompted: create a skill to turn a long video into a YouTube Short, find the talking-head picture-in-picture in the bottom right, crop it and expand it to fill the bottom half, put the screen share in the top half, 1080 by 1920, 45 to 55 seconds.
2. What it generated
OpenCode checked that FFmpeg was installed, installed OpenCV and wrote the skill: a SKILL.md and two Python scripts, one to detect the webcam and one to transform the video. Reading the SKILL.md first shows exactly what will run on your files.
3. Run and refine
A render finished in about 20 seconds. A black gap between the two halves needed one more prompt to close it, then I regenerated and ran it on a second video, a 90-second crop made for LinkedIn. Subtitles were left out.
4. The ShortForge app demo (May 20)
ShortForge is my own local clip app, built in about four hours with Codex and OpenCode. You import a YouTube link or file, it extracts audio, transcribes with Whisper, finds clips and renders about nine from a ten-minute video with FFmpeg. Each clip gets a virality score broken into hook, emotion, shareability, clarity and trend, and exports stay on your machine. Exports worked, but subtitles were not burned in and my webcam layout was not integrated yet. A failing file upload was fixed with Codex. It is not live; I outlined auto-publishing, batch export and tiers from free up to 49 a month, which are plans, not a product.
Done when
- Detect the webcam, stack screen over it
- About 20 seconds per clip
- ShortForge finds and scores clips
What I didn't cover
- A finished, public ShortForge. It was running locally with errors left.
- Whether the virality scores predict real performance.
- Quality on recordings without a webcam overlay.
Watch the walkthrough

- 0:00 -- Intro & Creating Custom Open Code Skills
- 0:50 -- Installing the Open Code Skill Creator
- 1:21 -- Designing the Shorts Layout Prompt
- 2:26 -- Skill Generation & Installing Dependencies (FFmpeg & OpenCV)
- 3:41 -- Breaking Down the Custom Skill Files (skill.md)
- 5:18 -- Running the Custom Video-to-Short Transformation
- 6:22 -- Analyzing the 20-Second Render Output
- 7:04 -- Refining the Python Script to Remove Layout Gaps
- 8:00 -- Final Result: The Perfectly Aligned YouTube Short
- 9:17 -- Outro & Scaling Video Content for Free
From the video
Lines from the video's transcript that this guide does not cover, lightly trimmed. Each time opens the video at that point. Read the full transcript.
- 4:22
It has these three files. So we got skill.md, which is, as I've already explained, the most important skill file because it gives it instructions for the skill.
- 6:22
That literally took about 20 seconds I think and we've already got the output video which is way faster. Normally it would take like 5 to 8 minutes.
FAQ
How long does a render take?
About 20 seconds in my test.
Does the skill add subtitles?
No. A subtitle step came later in my trim skill.
Is ShortForge available?
No, it ran only on my machine.
Sources
- Videos: This Skill Creates YouTube Shorts In Seconds! and I Built An AI Video Editor That Creates Viral Shorts
- OpenCode through my affiliate link: OpenCode · FFmpeg: ffmpeg.org
Build the next one with AI Income Lab
Step-by-step courses, reusable templates, and a community that answers when you get stuck.
Members get the Claude Code & Skills and Codex Tutorials & Courses lessons.
- Courses for builds like this one
- Copy-ready templates
- Ask questions while you build
- Weekly coaching on VIP