youtube-live-chat
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.
How do I install this agent skill?
npx skills add https://github.com/pamelafox/presentation-skills --skill youtube-live-chatIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill downloads and processes user-generated content from YouTube live chats. While the code itself is functional and lacks malicious intent, the retrieved chat messages could contain instructions designed to manipulate the AI agent (indirect prompt injection).
- Socketpass
No alerts
- Snykwarn
Risk: MEDIUM · 1 issue
What does this agent skill do?
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" --timestamps
Output to a specific file:
uv run get_live_chat.py "VIDEO_URL_OR_ID" --output chat.txt
Supported 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
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/pamelafox/presentation-skills/youtube-live-chat">View youtube-live-chat on skillZs</a>