youtube

Extract YouTube video metadata and subtitles using yt-dlp and jq.

Updated May 18, 2022
One-click install
npx skills add https://github.com/kendreaditya/.config --skill youtube-kendreaditya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube
Source: https://github.com/kendreaditya/.config/tree/main/claude/skills/youtube
Command: npx skills add https://github.com/kendreaditya/.config --skill youtube-kendreaditya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables rapid discovery and extraction of YouTube video data and subtitles for research, content planning, or archival projects, eliminating manual scraping and data collection.

Core Features & Use Cases

  • YouTube search: find videos by query and return titles, URLs, channels, views, duration, and upload dates.
  • Channel & Shorts listing: enumerate channel videos and Shorts with metadata for channel analysis and trend spotting.
  • Subtitles & transcripts: download subtitles and generate readable transcripts for research, summarization, or content creation.
  • Full metadata extraction: obtain comprehensive video metadata in JSON for downstream processing with tools like jq.
  • Flexible workflows: compose workflows for topic research, channel benchmarking, and curated transcripts.

Quick Start

Run a YouTube search with yt-dlp and view results formatted by jq to extract titles, URLs, and basic metadata.

Frequently Asked Questions about youtube

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract YouTube video transcripts and subtitles for research?

Extract YouTube video transcripts and subtitles by running yt-dlp to fetch subtitle files and jq to format them into readable text. This workflow supports research, summarization, and content creation without manual scraping.

Can I search for YouTube videos by topic and get metadata like views and upload dates?

Search YouTube videos by query to retrieve titles, URLs, channels, views, duration, and upload dates using yt-dlp for discovery and jq for JSON parsing. This enables topic research and channel benchmarking.

What is the best way to list all videos and Shorts from a specific YouTube channel?

List all videos and Shorts from a YouTube channel by using yt-dlp to enumerate channel content and jq to structure the JSON output. This provides full metadata for channel analysis, trend spotting, and benchmarking.

Do I need yt-dlp and jq installed locally to extract YouTube metadata?

You need yt-dlp and jq installed locally to extract YouTube metadata. The skill requires yt-dlp to fetch video data and jq to parse JSON outputs into structured results for downstream processing and analysis.

How do I get full YouTube video metadata in JSON format for downstream processing?

Get full YouTube video metadata in JSON format by using yt-dlp to extract comprehensive video data and jq to parse it. This enables structured downstream processing for research, content planning, or archival workflows.

Are there limitations when using yt-dlp for channel video discovery and metadata extraction?

Limitations of using yt-dlp for channel video discovery include dependency on local yt-dlp and jq installations, and potential restrictions from YouTube's data access policies. The skill targets long-form content discovery and structured JSON extraction.