youtube

Review·Scanned 2/18/2026

Provides a CLI to search YouTube, extract transcripts, read comments, and download videos via scripts/youtube.py. It stores OAuth credentials in ~/.config/youtube-skill/credentials.json and token.pickle, runs shell commands like uv run/yt-dlp (subprocess.run), and requests broad OAuth scopes like https://www.googleapis.com/auth/youtube.

from clawhub.ai·v1.0.3·38.0 KB·0 installs
Scanned from 1.0.3 at 3927789 · Transparency log ↗
$ vett add clawhub.ai/globalcaos/youtubeReview findings below

📺 YouTube Research Pro

The most comprehensive YouTube skill for AI agents.

Extract transcripts for FREE, search videos, analyze channels, download content — all from one unified interface.


Why This Skill?

We analyzed 15+ YouTube MCP servers and found that each one does one thing well, but none does everything. So we built the skill we wished existed.

What Others DoWhat We Do
Transcripts OR search OR downloadsAll three, unified
Burn API quota on transcriptsFREE transcripts (zero quota)
Single video at a timeBatch operations (50 videos)
Basic searchFiltered search (date, duration, order)
Text output onlyJSON export for pipelines

The Killer Feature: FREE Transcripts

Most YouTube tools use the official YouTube Data API for transcripts, which costs 100 quota units per request. With a daily limit of 10,000 units, you can only fetch ~100 transcripts per day.

We use youtube-transcript-api — a library that extracts transcripts directly from YouTube's frontend, costing zero API quota. Fetch unlimited transcripts, every day.


What Can Your Agent Do With This?

🔍 Research & Analysis

  • Search YouTube with filters (date, duration, view count)
  • Get video details in batch (up to 50 at once)
  • Extract full transcripts for content analysis
  • Read comments to gauge audience sentiment

📝 Content Extraction

  • Pull transcripts in any available language
  • Get timestamped transcripts for precise references
  • Export everything as JSON for further processing

📥 Downloads

  • Download videos at any resolution
  • Extract audio only (podcasts, music, interviews)
  • Grab subtitles as separate files

📊 Channel Intelligence

  • Analyze channel statistics
  • Track subscriber counts and view totals
  • List and explore playlists

Quick Examples

# Get a video transcript (FREE - no API quota!)
uv run youtube.py transcript dQw4w9WgXcQ

# With timestamps
uv run youtube.py transcript dQw4w9WgXcQ --timestamps

# Search with filters
uv run youtube.py search "machine learning" --duration long --order viewCount

# Batch video details
uv run youtube.py video id1 id2 id3 id4 id5 --json

# Download audio as MP3
uv run youtube.py download-audio VIDEO_ID -f mp3

# Get top comments with replies
uv run youtube.py comments VIDEO_ID --replies

Complete Command Reference

Transcripts (FREE - Zero API Quota)

CommandDescription
transcript VIDEOExtract transcript as plain text
transcript VIDEO --timestampsInclude [MM:SS] timestamps
transcript VIDEO -l es,enPrefer Spanish, fall back to English
transcript VIDEO --jsonOutput as JSON array
transcript-list VIDEOList all available languages

Search & Discovery

CommandDescription
search QUERYSearch YouTube videos
search QUERY -l 20Return 20 results (default: 10)
search QUERY --order dateSort by upload date
search QUERY --order viewCountSort by popularity
search QUERY --duration shortUnder 4 minutes
search QUERY --duration longOver 20 minutes
search QUERY --published-after 2026-01-01T00:00:00ZFilter by date

Video Information

CommandDescription
video IDGet video details
video ID1 ID2 ID3Batch mode (up to 50)
video ID --jsonJSON output
video ID -vInclude full description

Comments

CommandDescription
comments VIDEOGet top comments
comments VIDEO -l 50Get 50 comments
comments VIDEO --repliesInclude reply threads
comments VIDEO --order timeSort by newest

Channel & User Data

CommandDescription
channelYour channel info
channel CHANNEL_IDSpecific channel
subscriptionsYour subscriptions
playlistsYour playlists
playlist-items PLAYLIST_IDVideos in a playlist
likedYour liked videos

Downloads (requires yt-dlp)

CommandDescription
download VIDEODownload best quality
download VIDEO -r 720pSpecific resolution
download VIDEO -s enInclude subtitles
download VIDEO -o ~/VideosCustom output folder
download-audio VIDEOAudio only (MP3)
download-audio VIDEO -f m4aAudio as M4A

API Quota Costs

OperationQuota CostNotes
Transcripts0Uses youtube-transcript-api
Downloads0Uses yt-dlp
Search100Per request
Video details1Per video
Comments1Per request
Channel info1-3Varies

Daily free quota: 10,000 units

Pro tip: For research tasks, always start with transcripts — they're free and contain the most information.


Setup

1. Install dependencies

brew install uv yt-dlp  # macOS
# or
pip install uv && pip install yt-dlp  # other

2. Get YouTube API credentials

  1. Go to Google Cloud Console
  2. Create a project (or select existing)
  3. Enable "YouTube Data API v3"
  4. Create OAuth 2.0 Client ID (Desktop app)
  5. Download JSON → save as ~/.config/youtube-skill/credentials.json

3. Authenticate

uv run youtube.py auth

Command Aliases

For faster typing:

FullAlias
transcripttr
transcript-listtrl
searchs
videov
commentsc
channelch
subscriptionssubs
playlistspl
playlist-itemspli
downloaddl
download-audiodla

Comparison with Other Tools

FeatureYouTube Research Prokimtaeyoon83kevinwatt/yt-dlpdannySubsensekirbah
Free transcripts
Search
Filtered search
Batch operations
Comments
Downloads
Audio extraction
JSON output
Multi-language
URL + ID support

Result: No other skill covers all these capabilities in one package.


Use Cases

📚 Research Assistant

"Summarize the key points from this conference talk" → Fetch transcript, analyze with LLM, extract insights

🎓 Learning Helper

"Create study notes from this lecture series" → Batch fetch transcripts from playlist, synthesize content

📰 News Monitoring

"What are people saying about [topic] this week?" → Search recent videos, extract transcripts, analyze trends

🎵 Music/Podcast

"Download this interview as audio for my commute" → Extract audio, convert to MP3

📊 Competitor Analysis

"How is [channel] performing?" → Get channel stats, analyze recent videos, track growth


License

MIT — use it, fork it, improve it.


Built for the OpenClaw community.