LAYOUTFace cam on top, game underneath

Links
- Install Claude CodeOfficial guide · needs a Claude plancode.claude.com
- Claude CodeInstall it: Anthropic's official guidecode.claude.com
Good to know
- It cuts GTA 6 clips from a stream every time chat spikes, and makes each one vertical with captions.
- The layout is step 5 of the prompt. The first time you run it, it shows you one frame from the stream and you set two boxes: one on the streamer's face cam, one on the gameplay. It saves them, and every clip after that comes out with the face on top and the game underneath.
- The face cam matters. Instagram stops recommending accounts that mostly repost other people's videos, and the streamer's reaction is what makes a clip your own edit instead of a raw repost.
- Try it on a short replay first, and watch every clip before you post it.
- Only clip your own streams or streamers whose clipping program you joined.
Copy and paste
The clip-live prompt (paste into Claude Code)
Build me a reusable Claude Code skill called clip-live, saved in ~/.claude/skills/clip-live/. First tell me what you need to install (ffmpeg, yt-dlp, chat-downloader, faster-whisper), then install it.
When I type /clip-live <stream or replay link>, it should:
1. Ask me to confirm this is my own stream, or a streamer whose clipping program I joined. If not, stop.
2. Record the stream on this computer with yt-dlp (live or replay), and at the same time read its live chat with chat-downloader.
3. Count chat messages every 10 seconds. When the count jumps to 3x the average of the last 5 minutes, mark a spike.
4. For each spike, cut from 25 seconds before it to 5 seconds after (merge spikes that overlap). Keep every clip under 60 seconds.
5. Make each clip vertical 9:16. The first time, show me one frame and let me set two boxes (face cam and gameplay), save them, then always put the face cam on top and the gameplay underneath.
6. Burn in word-by-word captions with faster-whisper, and write one hook line at the top that a stranger understands in one second.
7. Skip story cutscenes, spoilers and the ending, and flag clips that need context so I can skip them.
8. Save the clips to clips/<stream>/ with a .txt next to each: the hook, the timestamp in the stream, and a credit line for the streamer.
9. Keep watching until the stream ends or I stop it. Never upload or post anything.
Then run it once on a short replay so I can see it works.