baoyu-youtube-transcript

Extract YouTube transcripts, subtitles, and cover images by URL or video ID.

Updated May 1, 2026
One-click install
npx skills add https://github.com/flashfoxer/openclaw-my-skills --skill baoyu-youtube-transcript-flashfoxer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: baoyu-youtube-transcript
Source: https://github.com/flashfoxer/openclaw-my-skills/tree/main/baoyu-youtube-transcript
Command: npx skills add https://github.com/flashfoxer/openclaw-my-skills --skill baoyu-youtube-transcript-flashfoxer

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill allows users to quickly and easily download YouTube video transcripts and cover images by simply providing a URL or video ID. It supports multiple languages, translation, chapters, and speaker identification, and caches raw data for fast re-formatting.

Core Features & Use Cases

  • Transcript Extraction: Automatically download and format YouTube video transcripts/subtitles/captions by URL or video ID.
  • Language Support: Supports multiple languages and provides translation capabilities.
  • Chapters: Offers chapter segmentation for easy navigation through long transcripts.
  • Speaker Identification: Can identify speakers for AI post-processing and speaker label assignment.
  • Output Formats: Provides multiple output formats including Markdown with timestamps, SubRip subtitle format, and plain text.
  • Use Case: A user could provide the URL of a YouTube video, and the Skill would automatically download the transcript in the desired format, along with the cover image and video metadata.

Quick Start

To download the transcript for a YouTube video, run the command: ./scripts/main.ts <youtube-url-or-id>

Frequently Asked Questions about baoyu-youtube-transcript

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

FAQPage Schema
How do I download a YouTube video transcript with timestamps?

To download a YouTube transcript with timestamps, provide the video URL or ID to automatically extract subtitles and output them as Markdown with timestamps, SRT, or plain text formats.

Can I extract YouTube subtitles in multiple languages and translate them?

Yes, you can extract YouTube subtitles in multiple languages and translate them. The Skill supports language selection and translation capabilities for video transcripts during the extraction process.

Do I need to install bun or npx to fetch YouTube captions?

Yes, you need either bun or npx installed in your environment to fetch YouTube captions. The Skill relies on these runtimes to execute scripts and utilize yt-dlp as a fallback.

What is the best way to get SRT subtitles from a YouTube video?

The best way to get SRT subtitles is to use a Skill that processes the video URL via the InnerTube API and yt-dlp, formatting the extracted transcript into the SubRip subtitle format.

Why does my YouTube transcript extraction fail on private videos?

YouTube transcript extraction fails on private videos without proper authentication. You must configure environment variables for cookie-based authentication to access and extract transcripts from restricted videos.