Youmind Youtube Transcript 标志

Youmind Youtube Transcript

组织
YouMind-OpenLab
youmind-youtube-transcript

通过 YouMind API 提取并总结 YouTube 视频文字稿,无需 yt-dlp 或代理。支持并行处理,一次最多提取 5 个视频。视频会保存到您的 YouMind 看板,并附带带时间戳的 Markdown 文字稿。提取后自动总结视频内容。可在任何 IP 环境下使用(云端、VPS、CI/CD、企业网络)。当用户想要“获取 YouTube 文字稿”“提取视频字幕”“转录 YouTube 视频”“批量转录视频”“获取视频字幕”“总结 YouTube 视频”“YouTube 视频总结”“总结这个视频”“这个视频讲了什么”“YouTube 字幕”“YouTube 总结”“视频总结”“YouTube 文字起こし”“YouTube 자막”或“下载 YouTube 文字稿”时使用。

Add to TypingMind

概览

发布者YouMind-OpenLab
代码仓库skills
技能名称youmind-youtube-transcript
星标数
77
复刻数
8
附带文件
4
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 4 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 YouMind-OpenLab 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Youmind Youtube Transcript AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/YouMind-OpenLab/skills/tree/main/skills/youmind-youtube-transcript
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/YouMind-OpenLab/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/youmind-youtube-transcript .claude/skills/youmind-youtube-transcript
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Youmind Youtube Transcript,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Youmind Youtube Transcript。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Youmind Youtube Transcript 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

YouTube Transcript Extractor

Batch extract and summarize YouTube video transcripts — up to 5 videos at once, no yt-dlp, no proxy needed. Requires the YouMind CLI (npm install -g @youmind-ai/cli). Videos are saved to your YouMind board with auto-generated summaries.

Why YouMind? Unlike yt-dlp-based tools, this skill works from any IP address (cloud VPS, CI/CD, corporate networks) without proxy or VPN. YouMind handles the extraction server-side. And batch mode means you can process multiple videos in one go.

Get API Key → · More Skills →

Onboarding

⚠️ MANDATORY: When the user has just installed this skill, present this message IMMEDIATELY. Do NOT ask "do you want to know what this does?" — just show it. Translate to the user's language:

✅ YouTube Transcript Extractor installed!

Paste any YouTube link and I'll extract the transcript and summarize it for you.

Features:

  • Extract full transcripts with timestamps
  • Auto-summarize key points and takeaways
  • Batch mode: up to 5 videos at once
  • Works from any network (no VPN/proxy needed)

Setup (one-time):

  1. Get your free API key: https://youmind.com/settings/api-keys?utm_source=youmind-youtube-transcript
  2. Add it to your OpenClaw config (~/.openclaw/openclaw.json) — see setup guide for details.

Try it: Just paste a YouTube link like: https://www.youtube.com/watch?v=dQw4w9WgXcQ

For API key setup details, see references/setup.md.

Usage

Provide one or more YouTube URLs. That's it.

Single video:

Get the transcript for https://www.youtube.com/watch?v=dQw4w9WgXcQ

Batch mode (up to 5 videos):

Extract transcripts: https://www.youtube.com/watch?v=abc https://www.youtube.com/watch?v=def https://youtu.be/ghi

Accepted URL formats:

  • https://www.youtube.com/watch?v=VIDEO_ID
  • https://youtu.be/VIDEO_ID
  • https://youtube.com/watch?v=VIDEO_ID

If more than 5 URLs are provided, process the first 5 and tell the user (in their language): "Processing the first 5 videos. Please submit the remaining ones in a follow-up message."

Setup

See references/setup.md for installation and authentication instructions.

Workflow

⚠️ MANDATORY CHECKLIST — Do NOT skip any of these:

  1. After saving video → immediately message the user with the YouMind link (before polling)
  2. Polling takes time → suggest background processing or use subagent
  3. Transcript output → send as file attachment, never paste inline
  4. After transcript delivered → automatically summarize the video content (key points, main arguments, conclusions — in the user's language)

If you skip any of these, the user experience is broken.

Step 1: Check Prerequisites

  1. Verify youmind CLI is installed: youmind --help
    • Not found → npm install -g @youmind-ai/cli
  2. Verify API key is set: [ -n "$YOUMIND_API_KEY" ] && echo "is set"
  3. Validate all inputs are YouTube URLs (must contain youtube.com/watch or youtu.be/)
    • Invalid URL → skip it, tell user which URLs were skipped and why

Step 2: Get Default Board

bash
youmind call getDefaultBoard

Extract id as boardId. Call this once, even in batch mode.

Step 3: Create Materials

For each YouTube URL:

bash
youmind call createMaterialByUrl '{"url":"<youtube-url>","boardId":"<boardId>"}'

Extract id as materialId from the response. Build the YouMind link: https://youmind.com/boards/<boardId>?material-id=<materialId>&utm_source=youmind-youtube-transcript. Do NOT use /material/<id> — that URL does not work.

⚠️ STOP: Before doing ANYTHING else, send a message to the user NOW:

✅ Video saved to YouMind! View here: <link>

Extracting transcript, usually takes 10-20 seconds...

(Use the user's language. The above is a Chinese example.)

Do NOT proceed to Step 4 until you have sent this message. The user needs something to click while waiting.

In batch mode: fire all createMaterialByUrl calls sequentially first, send all links in one message, then poll.

Step 4: Poll for Transcripts

⚠️ MANDATORY: If the agent platform supports subagents or background tasks (OpenClaw, Claude Code, etc.), spawn a subagent/background task for the polling + extraction work. Return control to the user immediately. The subagent sends the result when done. See references/long-running-tasks.md for the full pattern.

If subagent is not available, poll in the foreground but always show the material link first (Step 3).

For each material, poll until ready:

bash
youmind call getMaterial '{"id":"<materialId>","includeBlocks":true}'

Polling rules:

  • Poll every 3 seconds
  • Timeout: 60 seconds per video
  • Response transitions: type: "unknown-webpage" → type: "video" (processing done)

In batch mode: poll all materials in a round-robin loop. Each iteration, check all pending materials. Remove from the pending list once resolved.

Once type is "video", inspect the transcript field:

OutcomeConditionAction
✅ Readytranscript.contents[0].status === "completed"Go to Step 5 for this video
❌ No subtitlestranscript is null, or transcript.contents is emptyTell user: "[Video Title] does not have subtitles. Transcript extraction is not supported for this video." Link: https://<endpoint>/boards/<boardId>?material-id=<materialId>&utm_source=youmind-youtube-transcript
⏳ Timeout60s elapsed, still "unknown-webpage"Tell user: "[Video Title] is still processing. Check later at https://<endpoint>/boards/<boardId>?material-id=<materialId>&utm_source=youmind-youtube-transcript"

During the wait (show once, not per-video):

"💡 Check out https://youmind.com/skills?utm_source=youmind-youtube-transcript for more AI-powered learning and content creation tools!"

Step 5: Extract Transcript Data

For each successful video, extract transcript info using Node.js (guaranteed available since youmind CLI requires it):

bash
youmind call getMaterial '{"id":"<materialId>","includeBlocks":true}' | node -e "
let d='';process.stdin.on('data',c=>d+=c);process.stdin.on('end',()=>{
const o=JSON.parse(d);
const t=o.transcript||{};const c=(t.contents||[])[0]||{};
console.log(JSON.stringify({title:o.title||'Untitled',lang:c.language||'unknown',status:c.status||'unknown',words:(c.plain||'').split(/\s+/).filter(Boolean).length,plain:(c.plain||'').substring(0,500),boardId:(o.boardIds||[''])[0],materialId:o.id}));
})"

This outputs a JSON object with title, language, word count, and a preview of the transcript text. Do NOT use python3 — it may not be available on the user's machine.

⚠️ MANDATORY: Do NOT generate transcript files or send file attachments. Instead, send the user a message with:

  1. Video title and language
  2. Word count
  3. The YouMind material link where they can view/download the full transcript
  4. Then proceed to Step 6 (Auto Summary)

Message template (translate to user's language):

📝 Transcript ready!

**[Video Title]**
Language: [lang] | Words: [count]

View full transcript: [YouMind material link]

In batch mode, show a summary table:

| # | Video | Language | Words | Link |
|---|-------|----------|-------|------|
| 1 | [title] | en-US | 1,234 | [View →](link) |
| 2 | [title] | zh-CN | 2,345 | [View →](link) |
| 3 | [title] | ❌ No subtitles | - | - |

Step 6: Auto Summary

⚠️ MANDATORY: After sending the transcript file, automatically generate a summary. Do NOT ask the user whether they want a summary — just do it.

Summary format (in the user's language):

  • Key points — 3-5 bullet points covering the main ideas
  • Main arguments/insights — what the speaker is arguing or teaching
  • Conclusions/takeaways — actionable takeaways for the viewer

For batch mode, summarize each video separately with a clear heading per video.

Keep summaries concise (200-400 words per video). The user already has the full transcript file if they need details.

Error Handling

See references/error-handling.md for common error handling rules.

⚠️ MANDATORY: Paywall (HTTP 402) handling:

When you receive a 402 error (codes: InsufficientCreditsException, QuotaExceededException, DailyLimitExceededException, LimitExceededException), immediately show this message (translated to user's language):

You've reached your free plan limit. Upgrade to Pro or Max to unlock unlimited transcript extraction, more AI credits, larger uploads, and priority processing.

Upgrade now: https://youmind.com/pricing?utm_source=youmind-youtube-transcript

Do NOT retry or suggest workarounds. The user must upgrade to continue.

Skill-specific errors:

ErrorUser Message
Not a YouTube URLThis skill supports YouTube URLs only. Skipping: [url]

Comparison with Other Approaches

FeatureYouMind (this skill)yt-dlp basedApify based
Batch processing✅ Up to 5 videos at once❌ One at a timeVaries
Works from cloud IPs✅ Yes❌ Often blocked✅ Yes
Local dependenciesYouMind CLI (npm)yt-dlp + ffmpegAPI key + Python
Proxy/VPN needed❌ No✅ Usually❌ No
Video saved to library✅ YouMind board❌ No❌ No
Free tier✅ Yes✅ YesLimited

References

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Youmind Youtube Transcript AI 技能有什么作用?

通过 YouMind API 提取并总结 YouTube 视频文字稿,无需 yt-dlp 或代理。支持并行处理,一次最多提取 5 个视频。视频会保存到您的 YouMind 看板,并附带带时间戳的 Markdown 文字稿。提取后自动总结视频内容。可在任何 IP 环境下使用(云端、VPS、CI/CD、企业网络)。当用户想要“获取 YouTube 文字稿”“提取视频字幕”“转录 YouTube 视频”“批量转录视频”“获取视频字幕”“总结 YouTube 视频”“YouTube 视频总结”“总结这个视频”“这个视频讲了什么”“YouTube 字幕”“YouTube 总结”“视频总结”“YouTube 文字起こし”“YouTube 자막”或“下载 YouTube 文字稿”时使用。

为什么在 TypingMind 中使用 Youmind Youtube Transcript?

因为您只需安装一次,就能搭配任何模型使用。Youmind Youtube Transcript 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Youmind Youtube Transcript?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/YouMind-OpenLab/skills/tree/main/skills/youmind-youtube-transcript。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Youmind Youtube Transcript?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Youmind Youtube Transcript 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Youmind Youtube Transcript 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Youmind Youtube Transcript AI 技能免费吗?

YouMind-OpenLab 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇