Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

Baoyu YouTube transcript

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID.

Free on GitHubYouTubeVideo editing

Safety check

  • Script calls the network: scripts/main.ts line 156
  • Script runs other programs or code: scripts/youtube.ts line 1
  • Script calls the network: scripts/youtube.ts line 79

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: baoyu-youtube-transcript
description: Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面", "视频封面", "video thumbnail", "video cover image", or provides a YouTube URL and wants the transcript/subtitle text or cover image extracted.
version: 1.1.0
metadata:
  openclaw:
    homepage: https://github.com/JimLiu/baoyu-skills#baoyu-youtube-transcript
    requires:
      anyBins:
        - bun
        - npx
---

# YouTube Transcript

Works with manual and auto-generated transcripts. No API key or browser: uses YouTube's InnerTube API, falling back to `yt-dlp` when YouTube blocks the direct path. First run also fetches metadata and cover image and caches raw data for fast re-formatting.

## Script Directory

`{baseDir}` = this SKILL.md's directory. `${BUN_X}` = `bun` if installed; else `npx -y bun` if `npx` available; else suggest installing bun. Replace `{baseDir}` and `${BUN_X}` with actual values.

| Script | Purpose |
|--------|---------|
| `scripts/main.ts` | Transcript download CLI |

## Usage

```bash
${BUN_X} {baseDir}/scripts/main.ts <youtube-url-or-id>          # markdown with timestamps (English)
${BUN_X} {baseDir}/scripts/main.ts <url> --languages zh,en,ja   # language priority
${BUN_X} {baseDir}/scripts/main.ts <url> --chapters --speakers
${BUN_X} {baseDir}/scripts/main.ts <url> --format srt
${BUN_X} {baseDir}/scripts/main.ts <url> --translate zh-Hans
${BUN_X} {baseDir}/scripts/main.ts <url> --list
```

| Option | Description | Default |
|--------|-------------|---------|
| `<url-or-id>` | YouTube URL or video ID (multiple allowed) | Required |
| `--languages <codes>` | Language codes, comma-separated, in priority order | `en` |
...

From JimLiu's repository, MIT licence.

Related skills

  • Checked

    YouTube titles and descriptions

    Writes YouTube title options, a description, chapters, tags and a pinned comment, ready for your upload.

    by mohitagw15856 1.6k
    7/101 credit
  • Checked

    Talking head video script

    Turns your voice note ramble into a short video script that sounds like you, with a list of facts to check.

    by dotslashsimran 593
    7/101 credit
  • Checked

    YouTube thumbnail designer

    Designs and fixes YouTube thumbnails and plans test variants, so you keep the one that holds watch time.

    by ericrisco 691
    7/101 credit
  • Checked

    YouTube script writer

    Turns a topic or notes into a tight YouTube script with a strong hook, steady pacing and visual beats.

    by raroque 1.4k
    7/101 credit
  • Checked

    AI video script planner

    Plans a timed AI video script, beat by beat with three hook options, so you know exactly what to generate.

    by vargHQ 61
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added