youtube-live-chat

Installation
SKILL.md

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 .agents/skills/youtube-live-chat/get_live_chat.py "VIDEO_URL_OR_ID"

With timestamps:

uv run .agents/skills/youtube-live-chat/get_live_chat.py "VIDEO_URL_OR_ID" --timestamps

Output to a specific file:

uv run .agents/skills/youtube-live-chat/get_live_chat.py "VIDEO_URL_OR_ID" --output chat.txt

Supported URL Formats

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://www.youtube.com/live/VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://youtube.com/embed/VIDEO_ID
  • Raw video ID (11 characters)

Output Format

  • Without timestamps (default): [author]: message format
  • With timestamps: [HH:MM:SS] [author]: message format

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.txt suffix.

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
Related skills
Installs
11
GitHub Stars
70
First Seen
10 days ago