PythonClaw youtube
Get YouTube video information, metadata, and transcripts/subtitles. Use when: user asks about a YouTube video, wants a video summary, needs a transcript, or asks to extract info from a YouTube URL. NOT for: downloading videos, live streams, or private/unlisted videos.
install
source · Clone the upstream repo
git clone https://github.com/ericwang915/PythonClaw
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ericwang915/PythonClaw "$T" && mkdir -p ~/.claude/skills && cp -r "$T/pythonclaw/templates/skills/data/youtube" ~/.claude/skills/ericwang915-pythonclaw-youtube && rm -rf "$T"
manifest:
pythonclaw/templates/skills/data/youtube/SKILL.mdsource content
YouTube Skill
Extract information and transcripts from YouTube videos via yt-dlp and youtube-transcript-api.
When to Use
✅ USE this skill when:
- "What's this video about? https://youtube.com/watch?v=xyz"
- "Get the transcript of this video"
- "Search YouTube for Python tutorials"
- "Video title, duration, and description"
- User provides a YouTube URL and wants metadata or transcript
When NOT to Use
❌ DON'T use this skill when:
- Downloading videos or audio → use yt-dlp directly with download opts
- Live streams → transcript availability may be limited
- Private or unlisted videos → access may be restricted
Usage/Commands
python {skill_path}/youtube_info.py URL [command] [options]
Commands:
(default) — video title, duration, views, descriptioninfo
— full transcript/subtitlestranscript
— search YouTube for videos (uses URL arg as search query)search
Options:
— transcript language (default: en)--lang en
— output as JSON--format json
— max results for search (default: 5)--max 5
Examples
- "What's this video about? https://youtube.com/watch?v=xyz" →
python {skill_path}/youtube_info.py <URL> info - "Get the transcript of this video" →
python {skill_path}/youtube_info.py <URL> transcript - "Search YouTube for Python tutorials" →
python {skill_path}/youtube_info.py "Python tutorials" search
Notes
- Install dependencies:
pip install yt-dlp youtube-transcript-api - Transcript availability depends on whether the video has captions