A powerful tool to analyze YouTube channels and generate actionable content insights.
- Fetch & Analyze: Retrieves 20 most recent videos from any YouTube channel
- Smart Insights: Identifies performance patterns in content type, duration, and titles
- AI Suggestions: Generates data-driven video ideas based on what works
- Zero API Keys: Uses yt-dlp - no YouTube API key required
Install yt-dlp:
# macOS
brew install yt-dlp
# Linux
pip install yt-dlp
# or
sudo apt install yt-dlp
# Windows
pip install yt-dlpnpm install/youtube @channelname
/youtube https://youtube.com/@channelnamenode scripts/youtube-research.js @channelnameGenerates youtube-research.md with:
- Performance patterns (content type, duration, title analysis)
- Audience preferences
- Data-driven observations
- 3 specific video ideas based on successful patterns
- Suggested duration and reasoning for each
- Title
- View count
- Duration
- Clickable YouTube link
- Total and average views
- Average duration
- Most common duration range
/youtube @mkbhdOutput:
🎬 YouTube Channel Research Tool
================================
📺 Channel: https://youtube.com/@mkbhd
🔍 Fetching channel data...
✅ Found 20 videos
📊 Fetching detailed statistics...
✅ Fetched details for 20 videos
🧠 Analyzing performance patterns...
✨ Analysis complete!
📄 Report saved to: youtube-research.md
📊 Top video: "iPhone 16 Review: The Best iPhone Yet?"
1,234,567 views
- Fetch: Uses yt-dlp to extract video metadata (no API key needed)
- Analyze: Processes 20 recent videos for patterns in:
- Content types (tutorial, review, list, etc.)
- Duration sweet spots
- Title structures and hooks
- View count trends
- Generate: Creates insights and suggests next video ideas
- Export: Writes comprehensive markdown report
- Language: Node.js (ES Modules)
- Data Source: yt-dlp
- Analysis: Pattern recognition, statistical averaging
- Output: Markdown format
- ✅ Missing yt-dlp installation detection
- ✅ Invalid channel name validation
- ✅ Network error handling
- ✅ Insufficient data warnings
MIT