youtube-transcribe-skill

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

快速获取视频文字信息,便于检索与编辑。

▸ 风险提示

可能会下载视频或调用外部服务,注意版权与网络请求。

这个 Skill 做什么

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

把 YouTube 视频里的字幕或转录提取出来并保存成本地文件(比如 SRT、TXT),支持常见的 watch、youtu.be 和 shorts 链接格式。适合要做笔记、整理会议或二次剪辑但不想手动听写的场景。会优先抓取已有字幕或生成自动转录,方便后续编辑和检索。

▸ 展开 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/skills/youtube-transcribe-skill/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/feiskyer/claude-code-settings/main/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 公开信息 · 原文版权归作者所有