youtube

Fetch YouTube video metadata and transcripts from URLs.

38|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ericwang915/PythonClaw --skill youtube-ericwang915
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube
Source: https://github.com/ericwang915/PythonClaw/tree/main/pythonclaw/templates/skills/data/youtube
Command: npx skills add https://github.com/ericwang915/PythonClaw --skill youtube-ericwang915

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, youtube-transcript-api.

What problem does it solve?

Users often need quick access to YouTube video details and transcripts for summaries, indexing, or research, but manually gathering metadata and captions is time-consuming.

Core Features & Use Cases

  • Retrieve video metadata: title, channel, duration, views, description from a YouTube URL.
  • Fetch transcripts/subtitles when available (optionally in a chosen language).
  • Search YouTube for videos and return structured results (title, url, channel, duration).
  • Use Case: Given a YouTube URL, generate a concise video summary and obtain the transcript for indexing.

Quick Start

Provide a YouTube URL to fetch metadata and transcripts for that video.

Frequently Asked Questions about youtube

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

FAQPage Schema
How do I extract video metadata and transcripts from a YouTube URL?

To extract YouTube video metadata and transcripts from a URL, use this Skill to fetch video details like titles, views, and captions. It leverages yt-dlp and youtube-transcript-api to retrieve structured metadata and available subtitles directly from the provided link.

Can I fetch YouTube video transcripts in a specific language?

Yes, you can fetch YouTube video transcripts in a specific language. The extraction process checks for available subtitles and allows you to specify language options to retrieve the correct captions for your video summarization or indexing needs.

What is the best way to search YouTube for videos and return structured data?

The best way to search YouTube for videos and return structured data is using a tool that queries the platform and formats the output. This Skill can search YouTube and return structured results including the video title, URL, channel, and duration.

Do I need yt-dlp to retrieve YouTube video data like duration and views?

Yes, you need yt-dlp installed to retrieve YouTube video data such as duration, views, and channel information. It acts as the underlying engine to extract metadata from YouTube URLs for further processing or summarization.

Why does my YouTube transcript extraction return empty or fail?

YouTube transcript extraction fails or returns empty when the video has no available subtitles or captions. The process relies on existing YouTube transcripts, so if captions are disabled or missing for the specified language, no text can be retrieved.