youtube-outliers
YouTube Outlier Detection
Goal
Find high-performing videos in your niche for competitive intelligence and content inspiration.
Scripts
./scripts/scrape_youtube_outliers.py- Scrape and score outliers./scripts/update_transcripts.py- Fetch transcripts for existing outliers
Usage
# Default run
python3 ./scripts/scrape_youtube_outliers.py
# Custom parameters
python3 ./scripts/scrape_youtube_outliers.py \
--keywords "AI automation,AI agents" \
--days 30 \
--min_score 1.5 \
--limit 50
How It Works
- Searches YouTube for keywords
- Calculates outlier score (views / channel average)
- Applies recency boost
- Fetches transcripts
- Generates Claude summaries
- Saves to Google Sheet
Output
Google Sheet with:
- Outlier Score, Views, Duration
- Title, Video Link, Channel
- Thumbnail, Summary, Transcript
- Publish Date
vs Cross-Niche Outliers
- youtube_outliers: Your core niche (daily monitoring)
- cross-niche-outliers: Adjacent niches (weekly inspiration)
Environment
APIFY_API_TOKEN=your_token
ANTHROPIC_API_KEY=your_key
Schema
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
keywords |
string | No | Comma-separated keywords (default: niche keywords) |
days |
integer | No | Lookback period in days (default: 30) |
min_score |
float | No | Minimum outlier score (default: 1.5) |
limit |
integer | No | Max results (default: 50) |
Outputs
| Name | Type | Description |
|---|---|---|
sheet_url |
string | Google Sheet with outlier videos |
Credentials
| Name | Source |
|---|---|
APIFY_API_TOKEN |
.env |
ANTHROPIC_API_KEY |
.env |
Composable With
Skills that chain well with this one: title-variants, recreate-thumbnails, cross-niche-outliers
Cost
Apify credits + Claude API
More from aiagentwithdhruv/skills
image-to-video
Generate AI video from static images using Kling 3.0, Hailuo, Luma Ray3, Runway Gen-4.5, and 8 other tools. Covers free vs paid tools, prompt writing (motion-only), camera control, and face stability. Use when user asks to animate an image, create AI video, or convert photo to video.
91mac-control
MCP server for AI-powered macOS control — apps, display, audio, files, screenshots, clipboard
60gmaps-leads
Scrape Google Maps for B2B leads with deep website enrichment and contact extraction. Use when user asks to find local businesses, scrape Google Maps, generate contractor lists, or build local service business databases.
42excalidraw-visuals
Use when someone asks for a hand-drawn visual, PNG image, rendered diagram, visual explanation, or says "excalidraw image" or "excalidraw visual". This generates PNG images, not editable files.
34video-edit
Complete video editing toolkit - silence removal, auto-captions, vertical crop, YouTube clipping, 3D transitions, and social media compression. Use when user asks to edit video, remove silences, add captions/subtitles, crop to vertical/shorts, download YouTube clips, compress video, or create video teasers.
29design-website
Generate a premium mockup website for a prospect using the buildinamsterdam.com template style. Use when user asks to design a website, create a mockup, or build a prospect website.
27