Run the GTA 6 clipper on Codex

Codex is OpenAI's coding agent, and it comes with ChatGPT plans, including the free plan.

By Nov 21, 2026 4.1K views 3 min read

Works withClaudeGPT / Codex
CODEXCLIPRun the GTA 6 clipper on Codex

Good to know

  • Codex CLI is the version that runs in the terminal on your own computer: install it from the link below and sign in with your ChatGPT account.
  • Paste the first prompt into Codex CLI and it builds the clip-live workflow in that folder. It records a GTA 6 stream, reads the live chat, and cuts a vertical, captioned clip every time chat spikes, from 25 seconds before to 5 seconds after.
  • Usage limits differ by plan. Recording, cutting and captions run on free tools on your own computer (ffmpeg, yt-dlp and faster-whisper), so try it on a short replay first and see how far your plan goes.
  • On Claude instead? The second prompt is the same setup for Claude Code.
  • Only clip your own streams or streamers whose clipping program you joined.

Copy and paste

The clip-live prompt (paste into Codex CLI)

Copy
Build me a reusable workflow for Codex CLI called clip-live, saved in this folder as AGENTS.md + scripts/. 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.

The clip-live prompt (paste into Claude Code)

Copy
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.

Get the next one

A new AI tool every day on Instagram, and a free kit for the ones people come back for.

Follow @pedroaitech

From the reel

Comment CODEXCLIP

Comment the keyword on the reel and this kit comes by DM. Same kit, in your inbox.

More from the library

All 98 kits