YouTube Watcher
技能介绍
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.
使用场景
文档(原文)
来源:SKILL.mdname: 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:
- Get the transcript:
python3 {baseDir}/scripts/get_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" - Read the output and summarize it for the user.
Find specific information:
- Get the transcript.
- Search the text for keywords or answer the user's question based on the content.
Notes
- Requires
yt-dlpto 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.
安全审计
摘要
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.
ToxicSkills 分析
Toxic 标签
当前静态检测未发现 Toxic 信号。
关键风险 0 项
确定性发现(证据)
| 规则 | 严重性 | 文件 | 片段 |
|---|---|---|---|
| PROC_EXEC | 高 | skills/Michaelgathara/youtube-watcher/scripts/get_transcript.py 行 52 | subprocess.run(cmd, cwd=temp_dir, check=True, capture_output=True) |
评分标准
每个技能从 5 个维度评分,加权总分决定星级。
星级说明
为何是这个评分?
所有维度均高于 60 分,该技能通过安全基线。