youtube-comment-analyzer
# YouTube Comment Analyzer
What this skill does
# YouTube Comment Analyzer **Trigger phrases:** - "Analyze comments for [URL]" - "Analyze this video: [URL]" - "What are people asking about [URL]" - "Comment analysis for [VIDEO_ID]" - "YouTube comment insights for [URL]" **Source:** Based on https://github.com/drshailesh88/youtube-analyzer --- ## What This Does Analyzes YouTube video comments to extract audience insights: - **Top Questions** people are asking (with urgency ratings) - **Top Myths** and misconceptions (with danger ratings) - **Pain Points** and frustrations - **Content Recommendations** (must address, gaps, viral potential) - **Sentiment Analysis** (positive/negative/neutral breakdown) - **Recurring Themes** in discussions --- ## How to Use (Claude Instructions) ### Step 1: Extract Video ID From URL patterns: - `https://www.youtube.com/watch?v=VIDEO_ID` - `https://youtu.be/VIDEO_ID` - `https://youtube.com/watch?v=VIDEO_ID&...` - Just `VIDEO_ID` (11 characters, alphanumeric with - and _) ### Step 2: Run the Analyzer ```bash python skills/cardiology/youtube-comment-analyzer/scripts/analyze_comments.py VIDEO_URL_OR_ID ``` **Options:** - `--max-comments 500` — Limit comments scraped (default: 500) - `--output path/to/file.json` — Custom output location - `--json` — Output raw JSON instead of formatted report **Examples:** ```bash # Analyze by URL python skills/cardiology/youtube-comment-analyzer/scripts/analyze_comments.py "https://youtube.com/watch?v=abc123xyz" # Analyze by ID with limited comments python skills/cardiology/youtube-comment-analyzer/scripts/analyze_comments.py abc123xyz --max-comments 200 # Get JSON output python skills/cardiology/youtube-comment-analyzer/scripts/analyze_comments.py abc123xyz --json ``` ### Step 3: Read the Output The script outputs a formatted report directly. Full JSON is saved to: ``` skills/cardiology/youtube-comment-analyzer/output/analysis_VIDEO_ID_TIMESTAMP.json ``` --- ## Output Format ``` ## Comment Analysis: [Video Title] **Analyzed:** 1,847 comments | **Time:** 45 seconds ### Top Questions (What viewers want to know) 1. [Question] — HIGH urgency 2. [Question] — MEDIUM urgency 3. ... ### Top Myths (Misconceptions to address) 1. [Myth] — HIGH danger 2. [Myth] — MEDIUM danger 3. ... ### Pain Points (Viewer frustrations) 1. [Pain point] 2. [Pain point] 3. ... ### Content Recommendations - **Must Address:** [topics] - **Content Gaps:** [topics] - **Viral Potential:** [topics] ### Sentiment Positive: X | Negative: Y | Neutral: Z Summary: [one line] ### Recurring Themes theme1, theme2, theme3, ... ``` --- ## API Keys Required Set one of these in `.env`: - `YOUTUBE_API_KEY` or `GOOGLE_API_KEY` — For fetching comments via YouTube Data API v3 - `ANTHROPIC_API_KEY` — For AI analysis (preferred) - `OPENROUTER_API_KEY` — Fallback for AI analysis (uses free Gemini model) --- ## Error Handling - **No comments found:** Video may have comments disabled - **API error:** Check API key validity - **Rate limited:** Wait and retry, or reduce --max-comments --- ## Technical Details - Uses **YouTube Data API v3** for comment fetching - Uses **Claude** or **OpenRouter (Gemini)** for AI analysis - Handles **500+ comments** via map-reduce chunking - Output saved to JSON for future reference - Works with any YouTube video with comments enabled
Related in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.