← ClaudeAtlas

youtube-video-themeslisted

Find the recurring topics and first-minute hooks in a YouTube creator's videos from their transcripts. Use when asked what a channel talks about, which themes it repeats, how its videos open, or to summarise a creator's content before outreach or a sponsorship decision.
techhorizonlabs/gearlist · ★ 2 · AI & Automation · score 58
Install: claude install-skill techhorizonlabs/gearlist
# YouTube video themes `scripts/video_themes.py` fetches transcripts for a creator's top or latest videos, counts the phrases that recur across them, and prints the opening hook of each video. It does not load or scrape YouTube web pages itself, and it writes nothing to disk. ## Read this first: where transcripts come from The default source is the `youtube-transcript-api` Python library. It is not part of YouTube's official API. To get a transcript, it loads the video's watch page to read a client key, then calls an undocumented YouTube endpoint. YouTube's developer policies bar API clients from using undocumented APIs without permission (III.D.7). If this research will be published, sold or shared with a client, tell the human that before step 2, and let them choose. - It may stop working without notice if YouTube changes its pages. - YouTube rate limits it and blocks most cloud IPs (`RequestBlocked` or `IpBlocked`). The script waits 1.5 seconds between requests and stops at the first block. Do not add proxies to get around a block. - Many captions are auto-generated. Names, numbers and jargon are often wrong. Check a video before you quote one. Other sources, through `--transcript-dir`: - Captions the channel owner exports from YouTube Studio and sends you. This is the clean route. - The official `captions.download` method. It needs OAuth from someone with edit rights on the video, and costs 200 units a track, so it only suits the owner's own channel. - yt-dlp, only i