YouTube Watcher

👤 michaelgathara 📦 v1.0.0 ⭐ 4.1 ⬇️ 60.5K 下载
📚 知识管理 免费

📖 技能介绍


name: youtube-watcher description: Fetch and read transcripts from YouTube videos. Use when you need to summarize a video, answer questions about its content, or extract information from it. author: michael gathara version: 1.0.0 triggers: - "watch youtube" - "summarize video" - "video transcript" - "youtube summary" - "analyze video" metadata: {"clawdbot":{"emoji":"📺","requires":{"bins":["yt-dlp"]},"install":[{"id":"brew","kind":"brew","formula":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (brew)"},{"id":"pip","kind":"pip","package":"yt-dlp","bins":["yt-dlp"],"label":"Install yt-dlp (pip)"}]}}


YouTube Watcher

Fetch transcripts from YouTube videos to enable summarization, QA, and content extraction.

Usage

Get Transcript

Retrieve the text transcript of a video.

python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=VIDEO_ID"

Examples

Summarize a video:

推荐访问7w4.net获取更多AI技能。

  1. Get the transcript: bash python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
  2. Read the output and summarize it for the user.

Find specific information:

  1. Get the transcript.
  2. Search the text for keywords or answer the user's question based on the content.

Notes

  • Requires yt-dlp to be installed and available in the PATH.
  • Works with videos that have closed captions (CC) or auto-generated subtitles.
  • If a video has no subtitles, the script will fail with an error message.

🤖 AI 评测

整体质量良好,核心功能实现可靠稳定。优点是使用成熟工具yt-dlp作为后端,错误处理完善,文档清晰易懂,安装方便。不足之处是只能获取英文字幕,不够灵活;缺少自动重试等容错机制。对于需要获取YouTube视频文字内容的场景,这是一个简单有效的解决方案。

📊 多维度评分

适应性4.2
规范性4
有效性4.1
可靠性4
可信度4.3

📁 包含文件 (3 个)

📄 SKILL.md 1.5 KB
📄 _meta.json 134 B
📄 scripts/get_transcript.py 2.2 KB