youtube-transcript-cn_skill

This skill extracts YouTube subtitles and converts them to Chinese text, automatically translating non-Chinese captions when needed.
  • Python

79

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill zephyrwang6/myskill --skill youtube-transcript-cn

  • SKILL.md2.9 KB
  • youtube-transcript-cn.skill4.2 KB

Overview

This skill extracts subtitles from a YouTube video link and produces a Chinese transcript. It supports both uploaded/manual captions and auto-generated subtitles, and will translate English captions into natural Chinese when needed. Output can be plain text, Markdown, or JSON and can include timestamps on request.

How this skill works

The skill parses the user message to find a YouTube URL or video ID, then runs a transcript extraction routine to fetch available captions in priority: Simplified Chinese, Traditional Chinese, any Chinese, English, then auto-generated captions. If the retrieved captions are not Chinese, the text is translated into fluent Chinese while preserving paragraph breaks and timing. Finally the result is returned or saved to a file path and formatted per the requested output type.

When to use it

  • You have a YouTube link and need the spoken content in Chinese
  • You want a readable Chinese transcript from English or auto-generated captions
  • You need a Markdown or JSON file for editing or downstream processing
  • You want timestamps included for editing, quoting, or subtitles alignment

Best practices

  • Provide a full YouTube URL or the exact video ID to avoid extraction errors
  • Specify preferred output format (markdown, text, json) and whether to include timestamps
  • If automatic captions are low quality, request conservative translation and mark sections as ‘auto-generated’
  • Confirm desired language preference list (e.g., zh,en) if you expect multilingual captions
  • For long videos, request chunked output or file save to avoid large single-message payloads

Example use cases

  • Convert an English lecture video into a Chinese transcript for study notes
  • Generate a Markdown transcript for a podcast episode with timestamps for editing
  • Extract and translate captions for a tutorial video to create localized documentation
  • Produce JSON output with per-segment text and timestamps for automated processing
  • Save a video transcript to a file for archival or content repurposing

FAQ

I will inform you that no captions are available and suggest enabling auto-generated subtitles or providing a different link.

Can I get timestamps in the transcript?

Yes — you can request timestamps; the script can include per-segment timing in the chosen output format.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
youtube-transcript-cn skill by zephyrwang6/myskill | VeilStrat