Index of every page on this site: llms.txt
All skills
pamelafox avatar

/youtube-live-chat

@bf3c709
Run it yourself

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.

Use this Skill: https://skilld.dev/gh/pamelafox/presentation-skills/youtube-live-chat

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈76 tokens for metadata: the name and description. ≈293 when used: this file.

Description uses 3.8% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈306 characters, or 3.8%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning12d3 checks · Risk SAFE
  • Gen Agent Trust Hub12d

    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).

  • Socket12d

    No alerts

  • Snyk12d

    Risk: MEDIUM · 1 issue

Signed by skilld at bf3c709. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 weeks ago.

Activeupdated 3 weeks ago

README badge

README badge for pamelafox/presentation-skills/youtube-live-chat