youtube-live-chat
Skill129 starsChanged 7 months agoMITView on GitHub
Download live chat transcripts from YouTube videos. Use when the user asks for live chat, chat messages, or chat replay from a YouTube video and provides a YouTube URL (youtube.com/watch?v=, youtu.be/, or similar). Works with live streams and past streams that have chat replay enabled.
In this repository15 other files it gives its agents.
- capture-video-framesSkill
- convert-slides-to-imagesSkill
- discussion-commenterSkill
- extract-slide-textSkill
- extract-transcriptSkill
- fetch-slidesSkill
- generate-images-maiSkill
- generate-writeupSkill
- make-revealjs-presentationSkill
- make-speaker-promo-cardsSkill
- outline-slidesSkill
- pdf-to-markdownSkill
- review-presentationSkill
- thumbnail-of-pptxSkill
- youtube-descriptionSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Run the script with a YouTube URL or video ID:
- Distinctive: line 49
If you were asked to save the chat to a specific file, save it to the requested file.
- Very specific: line 50
If no output file was specified, use the YouTube video ID with a -livechat.txt suffix.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
YouTube Live Chat Downloader
Download live chat messages from YouTube videos using yt-dlp.
Usage
Run the script with a YouTube URL or video ID:
uv run get_live_chat.py "VIDEO_URL_OR_ID"With timestamps:
uv run get_live_chat.py "VIDEO_URL_OR_ID" --timestampsOutput to a specific file:
uv run get_live_chat.py "VIDEO_URL_OR_ID" --output chat.txtSupported URL Formats
https://www.youtube.com/watch?v=VIDEO_IDhttps://www.youtube.com/live/VIDEO_IDhttps://youtu.be/VIDEO_IDhttps://youtube.com/embed/VIDEO_ID- Raw video ID (11 characters)
Output Format
- Without timestamps (default):
[author]: messageformat - With timestamps:
[HH:MM:SS] [author]: messageformat
Output
- If you were asked to save the chat to a specific file, save it to the requested file.
- If no output file was specified, use the YouTube video ID with a
-livechat.txtsuffix.
Notes
- Works with live streams currently in progress
- Works with past streams that have chat replay enabled
- Some videos may not have live chat available
- Super chats and memberships are included with their message text
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

