agentleFS
pamelafoxpamelafox/presentation-skills/skills/youtube-live-chat/SKILL.md

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.

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
  1. Distinctive:

    Run the script with a YouTube URL or video ID:

    line 16
  2. Distinctive:

    If you were asked to save the chat to a specific file, save it to the requested file.

    line 49
  3. Very specific:

    If no output file was specified, use the YouTube video ID with a -livechat.txt suffix.

    line 50

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
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 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_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

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.