跳转到主要内容

YouTube 视频字幕下载器

技能 已验证 活跃

当用户提供 YouTube URL 或要求从 YouTube 下载/获取/提取字幕时,下载 YouTube 视频字幕。当用户希望从 YouTube 视频转录或获取字幕/隐藏式字幕时,也请使用此功能。

目的

轻松提取和清理任何 YouTube 视频中的文本内容,使用户能够审查、分析或存档口语信息。

功能

  • 下载 YouTube 字幕(手动和自动生成)
  • 回退到 Whisper 音频转录
  • yt-dlp 的自动依赖项安装
  • 重复 VTT 行以获得干净的文本输出
  • 使用视频标题作为输出文件名

使用场景

  • 从教程中提取教育内容
  • 存档重要的采访或讲座
  • 分析视频中的口语内容
  • 从没有广告或导航的 YouTube 视频中获取干净的文本

非目标

  • 下载视频内容本身
  • 将字幕翻译成其他语言
  • 对字幕内容进行复杂的分析
  • 从 YouTube 以外的平台提取文本

工作流

  1. 检查 yt-dlp 是否已安装
  2. 列出可用的字幕
  3. 尝试下载手动字幕
  4. 回退到自动生成的字幕
  5. 如果不存在字幕,则选择提供 Whisper 转录(需要用户确认和 Whisper 安装)
  6. 将 VTT 转换为带有去重的纯文本
  7. 以视频标题作为文件名保存输出文件
  8. 清理临时文件

先决条件

  • yt-dlp(自动安装或手动安装)
  • Whisper(可选,可通过 pip 手动安装)

版本控制

  • warning:发布管理未检测到显式版本控制(如前置元数据中的 semver 或 GitHub releases)。README 提到了“Tapestry Skills Contributors”,但没有提供版本控制方案,安装说明引用了存储库本身。

执行

  • warning:固定的依赖项虽然提供了像 `yt-dlp` 和 `openai-whisper` 这样的依赖项的安装说明,但没有提到显式的版本固定或锁文件,这可能导致未来的依赖项更新出现问题。

安装

npx skills add michalparkola/tapestry-skills

通过 npx 运行 Vercel skills CLI(skills.sh)— 需要本地安装 Node.js,以及至少一个兼容 skills 的智能体(Claude Code、Cursor、Codex 等)。前提是仓库遵循 agentskills.io 格式。

质量评分

已验证
98 /100
1 day ago 分析

信任信号

最近提交2 months ago
星标400
许可证MIT
状态
查看源代码

类似扩展

Baoyu Youtube Transcript

99

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.

技能
jimliu

YouTube Clipper Skill

95

YouTube 视频智能剪辑工具。下载视频和字幕,AI 分析生成精细章节(几分钟级别), 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频,并生成总结文案。 使用场景:当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词:视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video

技能
op7418

Video to Text (Groq)

95

Transcribe video/audio URL or local file to text + SRT using yt-dlp + Groq Whisper API (free tier). Preferred default for v2 transcription. Returns raw text and segments; summary is caller's responsibility.

技能
0xmariowu

Session Export

100

将 Claude Code 会话导出为干净、可读的 markdown 格式的会话记录。当用户想要导出会话、创建会话记录、将会话历史记录保存到文件或说“导出此会话”时使用。

技能
apappascs

Automate This

100

Analyze a screen recording of a manual process and produce targeted, working automation scripts. Extracts frames and audio narration from video files, reconstructs the step-by-step workflow, and proposes automation at multiple complexity levels using tools already installed on the user machine.

技能
github

YouTube Downloader

100

Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation

技能
guia-matthieu