Creator breakout detector
Inputs
- Channel (handle, URL or ID).
- Look-back: default 730 days. Use 45-100 days for young channels.
- Long-form, Shorts, or both.
Run
python tools/yt.py channel <id|@handle> --days 730 --max 500 --json: every video in range with views and publish date (needs the API key intools/.env; ~1 unit per 50 videos).- Sort by date. Compute a rolling median of the previous 5-10 videos; a breakout is a video at ≥ 3× that median, especially when the videos after it stay higher (a new baseline, not a one-off). These are today's view totals, not views at the time: older videos had longer to grow, so say so.
- Subscriber history isn't in the API. If the growth curve matters, read the channel's public Social Blade page and say it's from there.
- Pick the main breakout (plus up to 2 smaller ones). For each, compare it with the 5 videos before it: topic, title, thumbnail, length, hook (
python tools/yt.py transcript <url>, first ~20 s), format, posting time. Runpython tools/yt.py watch <url>on the breakout only and read its contact sheets. - Note what stayed after the breakout (did the creator repeat the winning pattern?).
- If the key is missing or something fails, stop at what you have and say what's missing. Never invent data.
Output
- A chronological chart (views per video, breakout marked in one accent colour) as an artifact, plus a table: before vs breakout vs after.
- "What you can take": 3 patterns adapted to the creator's brand and bullseye, never copied wording.
- Save notes to
research/breakout_<channel>_<YYYY-MM-DD>.md. - For a full creative breakdown of the breakout video, hand off to
video-breakdown.
