youtube-transcribe-skill

仓库创建 2025年7月18日最近提交 5 小时前SkillHot 收录 20 天前
▸ 精选理由

快速把视频内容变成可搜索文本,适合内容编辑与研究。

▸ 风险提示

需联网访问 YouTube,可能涉及受版权保护的内容与隐私问题。

这个 Skill 做什么

从 YouTube 视频提取字幕/转录并保存为本地文件。

把 YouTube 视频里的字幕或自动转写抓下来并保存成本地文件,支持 youtube.com/watch?v、youtu.be 和 shorts 等常见链接格式。常用于做视频笔记、字幕校对或把视频内容导入文本分析流程。会先校验 URL 格式,再抓取并导出可编辑的转录文件,省去手动听写和复制字幕的麻烦。

▸ 展开 SKILL.md 英文原文

Extract subtitles/transcripts from YouTube videos. Triggers: "youtube transcript", "extract subtitles", "video captions", "视频字幕", "字幕提取", "YouTube转文字", "提取字幕".

数据与抓取字幕提取YouTube转写通用
1.6k
Stars
242
Forks
12
仓库内 Skill
+33
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/plugins/youtube-transcribe-skill/skills/youtube-transcribe-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/plugins/youtube-transcribe-skill/skills/youtube-transcribe-skill/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# YouTube Transcript Extraction

Extract subtitles/transcripts from a YouTube video URL and save them as a local file.

Input YouTube URL: $ARGUMENTS

## Step 1: Verify URL

Confirm the input is a valid YouTube URL (supports `youtube.com/watch?v=`, `youtu.be/`, and `youtube.com/shorts/` formats). If no URL is provided via arguments, check the conversation context for a YouTube link.

## Step 2: CLI Quick Extraction (Priority Attempt)

Use command-line tools to quickly extract subtitles.

### 2.1 Check Tool Availability

Execute `which yt-dlp`.

- If `yt-dlp` is **found**, proceed to 2.2.
- If `yt-dlp` is **not found**, skip to **Step 3**.

### 2.2 Get Video Title

```bash
yt-dlp --cookies-fr
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有