youtube

Extract YouTube transcripts and analyze video content with timestamped summaries.

Updated Mar 20, 2026
One-click install
npx skills add https://github.com/astralform-ai/skills --skill youtube-astralform-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube
Source: https://github.com/astralform-ai/skills/tree/main/skills/youtube
Command: npx skills add https://github.com/astralform-ai/skills --skill youtube-astralform-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires yt-dlp, and includes scripts (resource) components.

What problem does it solve? Understanding a YouTube video's content normally requires watching it in full. This Skill extracts the transcript from any YouTube URL and turns it into summaries, key points, quotes, topics, and speaker breakdowns with clickable timestamps, so you can consume video content as text. ## Core Features & Use Cases - Transcript Extraction: Downloads and cleans subtitles via yt-dlp, handling SRT/json3 parsing, deduplication, and sentence segmentation, with caching for reuse. - Audio Fallback Transcription: When a video has no captions, it downloads the audio and transcribes it instead of giving up. - Content Analysis: Produces summaries, key points, topic extraction, speaker identification, quotes, fact-check flags, action items, and multi-video comparisons, all with clickable timestamp links. - Use Case: A researcher shares three YouTube talks on a topic and asks for a comparison — the Skill fetches each transcript and produces a side-by-side analysis of arguments, evidence, and gaps. ## Quick Start Summarize this YouTube video and list its key points with timestamps: https://www.youtube.com/watch?v=VIDEO_ID

Frequently Asked Questions about youtube

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

FAQPage Schema
How do I get a transcript from a YouTube video?

Run the fetch_transcript.py script with the video URL to download subtitles via yt-dlp. It outputs structured JSON with clean, timestamped sentences, or readable text with clickable timestamp links using the --format text option.

How to summarize a YouTube video without watching it?

Extract the transcript first, then apply the summary analysis module to produce an executive summary, key points, and takeaways. For videos over 30 minutes, use chapter data to summarize each section separately before synthesizing.

What if a YouTube video has no subtitles or captions?

Download the audio track with yt-dlp using the bestaudio format and transcribe it with the transcribe_audio tool. The resulting timestamped lines feed into the same analysis pipeline, so no captions is not a dead end.

Does the YouTube transcript script require an API key?

No API key is required. The script uses yt-dlp to fetch metadata and subtitles directly, and it auto-installs yt-dlp via pip if it is not already present in the environment.

Why does yt-dlp fail with a 429 or age-restriction error?

HTTP 429 means YouTube rate-limited the request, so wait a few minutes and retry. Age-restricted videos require cookies, which you can provide by setting the YOUTUBE_TRANSCRIPT_COOKIES_FROM_BROWSER environment variable.