/favstash-creator-skills:clip-streamfrom FavStash Creator Skills
Finds and cuts vertical highlight clips from streams, VODs, or gameplay recordings using loudness, speech, chat, and scene-cut analysis. Runs locally with FFmpeg and yt-dlp.
Ships in FavStash Creator Skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turns hours of stream into a short list of moments worth posting, then cuts each one to 9:16. Everything runs on the creator's computer with FFmpeg and the local transcriber; nothing is uploaded. The finder ranks; you judge. Look at every moment before you cut it.
Prefer the original recording (OBS, a capture card or the console's export): it has the best picture and separate audio. For the creator's own VOD on a platform, download it once with yt-dlp:
yt-dlp -f "bv*[height<=1080]+ba/b" --merge-output-format mp4 -o stream.mp4 "<url of their VOD>"
Keep the source untouched in a dated working folder. The finder writes
<name>-clips/ next to it.
Commentary is the best signal for why a moment matters. Start the transcription first; on a multi-hour stream it takes a while:
npx hyperframes transcribe stream.mp4 --json --model base.en
It writes transcript.json (use small.en for accuracy, --language for
other languages). Skip it for no-commentary gameplay.
If the creator can export their own chat replay with timestamps, save it as
JSON ([{"t": 3723, "text": "KEKW"}], also time, timestamp or
content_offset_seconds) or as lines like [1:02:03] name: message.
Ask for about 1.5× the clips you need, so review has room to drop the weak ones:
node <skill>/scripts/find-moments.mjs --input stream.mp4 \
--transcript transcript.json --chat chat.json --count 45 --frames
| Option | Use |
|---|---|
--count 45 | How many moments to return (fewer if not enough clear the bar) |
--length 20 --min 8 --max 60 | Target, shortest and longest clip in seconds; the peak lands about 60% in, so the setup comes before the payoff |
--keywords "heist,wanted level" | Words that matter in this game or community; they score like "clip that" |
--from 0:05:00 --to 3:50:00 | Skip the "starting soon" screen and the outro |
--scenes | Add hard cuts on screen (deaths, respawns, replays, edited VODs); decodes the video, so slower |
--weights loud=0.5,speech=1.2 | Rebalance signals, e.g. when game music is loud the whole time |
--threshold 1 | Lower it for more, weaker picks |
--frames | Write frames/mNN.jpg per moment: start, peak and end side by side |
It writes moments.json: each moment has start, end, peak, score, the
strength of each signal, a one-line reason and the quote spoken in it.
Tuning by stream type covers shooters, driving and
open-world games, horror, just-chatting and silent gameplay.
Open every frames sheet and read the reason and quote. Then edit
moments.json:
"keep": false on menus, loading screens, idle driving, duplicates of a
better moment and anything from the rights list above.title. It names the file and is a first draft
of the hook line.start so the clip opens on action within its first second, and move
end to just after the payoff or reaction. Times may be seconds or "1:02:03".id, start and end. Quiet, clever plays score low; the
creator's memory catches them.Show the creator the kept list with titles before cutting a big batch.
node <skill>/scripts/cut-clips.mjs --moments stream-clips/moments.json --layout center
| Layout | Looks like | Fits |
|---|---|---|
center (default) | A 9:16 window cut from the frame; --focus 0–1 slides it left to right | Driving, action and anything with one clear subject |
fill | The whole frame fitted to the width over a blurred copy of itself; --zoom 1.3 crops in | Games where the HUD, minimap or kill feed tells the story |
split | The facecam on top (--cam x:y:w:h, the box in source pixels) and the game below | Streams where the reaction is half the moment |
Find the facecam box from a frames sheet or a single frame. Any moment can
carry its own layout, focus, zoom or cam, so one batch can mix them.
Clips land in clips/NN-title.mp4 (1080×1920, H.264, source frame rate up to
60 fps, AAC audio) with a clips.json manifest.
Before editing, watch two or three clips at phone size: the first frame isn't a transition or black, the action sits inside the frame, and the sound level is even.
edit-video and the text-over-footage style: a hook line in
the first second, captions from the transcript where someone talks, and
sound kept. For volume, lock one template (type, position, colour) and change
only the line and the captions, then render the batch.publish-and-analyze: show the creator each clip, caption,
account and time, and schedule only after their OK. Spread clips through the
day and across days. FavStash caps posts per account per day (about ten on
TikTok and YouTube) and says when a cap is hit.--keywords, the layout, the clip length and what review
keeps.Hand over the stream link and say "clip this stream". watch-live records the
stream, reads its chat, and every few minutes runs the finder on the new stretch
and cuts every new moment straight away, so clips are ready while the streamer
is still playing:
node <skill>/scripts/watch-live.mjs --url twitch.tv/<channel> --hours 2 \
--layout split --cam 0:432:392:221 --keywords "heist,cops"
| Option | Use |
|---|---|
--hours 2 | How long to watch (0 = until the stream ends). Ctrl-C stops it early after one last pass |
--every 480 | Seconds between passes; each pass rereads 90 s of the last one so a moment on the seam is seen whole |
--threshold 2 --count 3 | How strong a spike must be, and the most clips per pass. The defaults cut only when chat or the room really goes off |
--layout, --cam, --focus, --zoom | As in cut-clips. Grab one frame first to find the facecam box |
--quality 720p60 | Record lower than the best stream to save disk |
pipx install streamlink). It skips ad breaks and logs when each piece of
video was broadcast, so chat lines up with the picture even after an ad gap.
Chat is read anonymously from Twitch's public chat; names are never stored.stream.ts, the chat log, log.jsonl and pass-NN/ folders (each
with moments.json, frame sheets and clips/). Review the clips by eye
before editing, exactly as in step 4: the finder ranks, you judge.caffeinate -i node ...).
A 1080p60 stream records at about 4 GB an hour.--scenes, or work from
the creator's own timestamps.focus per moment, or use fill when
the action moves across the frame.agents/openai.yaml (opens in a new tab)lib/args.mjs (opens in a new tab)lib/layouts.mjs (opens in a new tab)lib/live.mjs (opens in a new tab)lib/moments.mjs (opens in a new tab)lib/process.mjs (opens in a new tab)references/tuning.md (opens in a new tab)scripts/cut-clips.mjs (opens in a new tab)scripts/find-moments.mjs (opens in a new tab)scripts/watch-live.mjs (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (alisadiq-ai/favstash-ai-video-editing-skills) — no native marketplace selected
npx claudepluginhub p/alisadiq-ai-favstash-creator-skills16 skills in this plugin
/3d-characterStyle for edit-video: a cute 3D character reel with no camera and no Blender. A chibi kid (a boy or a girl, colours and hair yours to set) talks to camera on a soft pastel stage, lip-synced to a locked voice, with camera cuts on spoken words, a floating card that types in, and the line word-lit on top. Built in Three.js and rendered by HyperFrames on your machine./adaptive-glassStyle for edit-video: the real speaker with moving proof in footage-matched glass panels, centered captions and event-matched sound. Use for talking-head product, tool and explainer reels with real screen proof, or when the creator asks for the glass look./animated-explainerOther plugins' skills for the same job