360 Secure SkillHub
360 安全技能中心

YouTube Watcher

该 Skill 通过 python3 调用本地脚本 get_transcript.py,借助 yt-dlp 获取指定 YouTube 视频的字幕(关闭字幕或自动生成字幕)文本,供后续摘要、问答或信息提取使用。仅适用于带字幕的视频,无字幕时脚本报错;运行需网络及 yt-dlp 可用。文件列表仅含 SKILL.md,脚本本身未随包提供。

naliehu
naliehu
热度 81.17
最近更新 2026-05-11 15:57:11
分类:效率依赖:代码执行 / 第三方 API应用场景:摘要总结 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add youtube-watcherkx
Metadata
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

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:

  1. Get the transcript:
    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.