youtube-master

Fetches YouTube transcripts via InnerTube API and generates structured video summaries.

3|1|Updated Feb 26, 2026
One-click install
npx skills add https://github.com/wopal-cn/wopal-space-ontology --skill youtube-master-wopal-cn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: youtube-master
Source: https://github.com/wopal-cn/wopal-space-ontology/tree/main/skills/youtube-master
Command: npx skills add https://github.com/wopal-cn/wopal-space-ontology --skill youtube-master-wopal-cn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Getting the content of a YouTube video normally requires watching it in full or relying on unofficial APIs with keys. This Skill fetches video subtitles directly through the InnerTube API without an API key, handles anti-bot fallbacks automatically, and turns the transcript into a structured summary matched to your intent. ## Core Features & Use Cases - Transcript Fetching: Downloads manual or auto-generated captions in multiple languages, with chapter segmentation, timestamps, translation, and local caching to avoid repeat network requests. - Intent-Based Summaries: Four output modes (quick overview, detailed chapter summary, tutorial analysis, targeted Q&A) selected from the user's request, using templates in references/summary-templates.md. - Speaker Identification: Optional mode that formats interview or dialogue videos with labeled speakers and chapter-segmented dialogue. - Use Case: Paste a YouTube link and ask "summarize this video" — the Skill fetches Chinese or English subtitles, caches them under .wopal-space/.tmp/, and returns a structured summary with key points and timestamps. ## Quick Start Summarize this YouTube video for me: https://www.youtube.com/watch?v=VIDEO_ID

Frequently Asked Questions about youtube-master

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

FAQPage Schema
How do I get a transcript of a YouTube video without an API key?

Run the main.ts script with the video URL using bun. It fetches captions directly through YouTube's InnerTube API, so no API key is needed, and it supports language selection, translation, and chapter segmentation.

How to summarize a YouTube video from its subtitles?

Fetch the transcript with the script, then read the generated transcript.md and meta.json files. Choose a summary mode based on intent: quick overview, detailed chapter summary, tutorial analysis, or direct answers to specific questions.

What YouTube URL formats are supported for transcript extraction?

Standard watch URLs, youtu.be short links, Shorts URLs, embed URLs, and bare 11-character video IDs are all accepted. The script extracts the video ID automatically from any of these formats.

Why does YouTube transcript fetching fail with bot detection errors?

YouTube may block requests flagged as automated. The script retries with alternate InnerTube clients and falls back to yt-dlp automatically. If still blocked, set YOUTUBE_TRANSCRIPT_COOKIES_FROM_BROWSER to use your browser cookies.

Can I get YouTube subtitles in a different language than the original?

Yes, use the --translate flag with a language code such as zh-Hans to fetch a translated track, or use --list first to see all available manual, auto-generated, and translatable subtitle languages.

Does the transcript fetcher work with age-restricted or private videos?

Age-restricted videos require login verification, so you must provide browser cookies via the environment variable. Private or deleted videos cannot be fetched and will return a clear unavailable error.