--- name: gta6-live-clipper description: GTA 6 LIVE Clipper. Clips GTA 6 streams WHILE they're live: records a rolling buffer on the Mac, transcribes each minute as it lands, the Claude session picks moments every 5 minutes and clips are rendered straight from the buffer, ready to post ~5-8 minutes after the moment happens. Activates on "clip this stream live", "live clip ", "watch and clip as it happens", "start the live clipper", /gta6-live, or any request to clip a stream that is live right now. Same output as gta6-clipper (facecam on top, gameplay below, hook, word captions, post caption + hashtags). For finished streams / VODs use gta6-clipper instead. --- # GTA 6 LIVE Clipper Same engine and output as the `gta6-clipper` skill (needs that one set up first, it shares its venv, models and render code). The difference: nothing gets downloaded twice. The live stream is recorded into 1-minute segments on this Mac, only the last `--buffer-min` minutes are kept, and clips are cut from them. `L` = this skill's folder, `V` = the gta6-clipper folder next to it. Run: `"$V/.venv/bin/python" "$L/scripts/live.py" `. Quote paths. If it says "Set up the GTA 6 clipper first", run `bash "$V/scripts/setup.sh"`. ## 1. Start `start [ ...]`: Twitch channel (`https://www.twitch.tv/kaicenat`), YouTube live link, or Kick. Options: `--quality 720` (default; 1080 doubles disk), `--buffer-min 15`, `--window-min 5`, `--cookies chrome` (Kick, age-restricted YouTube). Each stream gets a background recorder and a run folder. Max 2 streams on a 16 GB Mac (each transcribes a minute of audio every minute). If it says NOT LIVE, the stream is finished: use gta6-clipper. ## 2. The loop (you run this until the stream ends or the user says stop) Read `$V/references/picking.md` once before the first window. Then repeat: 1. `next [ ...]` blocks up to 9 minutes until a new 5-minute window is ready (from any run) and prints it with the path to write. Use a Bash timeout of 600000. 2. Write `picks/window_NNN.json` in THAT run folder, same format and same harsh rules as picking.md. `[]` when nothing qualifies (most windows). Windows overlap by 45 s: don't pick the same moment twice. 3. If you wrote any pick with score >= 7.5, run `clip ` right away. It renders from the buffer, skips anything already clipped, and prints the new clip paths. 4. Tell the user in ONE short line per new clip (title + path) and go back to step 1. No line for empty windows. `next` printing "NO NEW WINDOW YET" just means keep looping. "STREAM ENDED" means run `clip` once more, then report. Live clip bar is 7.5 (not 7): posting fast only matters if the clip is good. Clips are ready ~5-8 min after the moment: up to 5 min for the window to close + picking + ~1 min render. For a faster cadence use `--window-min 3` (more reads, more tokens). ## 3. Stop / check - `status `: recorder alive, minutes recorded, windows waiting, clips made. - `stop `: stops the recorder (the last partial window still gets written: pick it and clip). - Clips live in `/clips/` (mp4 + txt with title, caption, hashtags). Open with `open "/clips"`. - The buffer deletes itself as it rolls; old runs in `~/GTA6-Clips/live/` only get deleted if the user says so. ## Notes - Chat speed is tracked on Twitch (read-only anonymous chat). YouTube/Kick live use loudness only. - A moment older than the buffer can't be clipped (prints "out of buffer"). Keep up with the windows. - The Claude session must stay open while live clipping. On Ollama/local models: one stream at a time.