dillera

tube-summary

知识管理v1.0.0
作者:dillera更新于 2026-05-11@clawhub_dillera/tube-summary
信息检索摘要总结#Summarize

据 AlphaMoat 统计,截至 2026-09,tube-summary 累计下载 3,466 次、获 2 个星标,在全部 5,078 个 AI 技能中排名第 3,198 位,在「知识管理」分类(442 个)中排名第 288 位。

累计安装
331
累计下载
3,466
星标
2
全站排名
#3,198
全站前 63% · 「知识管理」前 66%
平台累计安装累计下载星标评论
ClawHub ↗1133,30921
SkillHub ↗3313,4662—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

先让用户选择视频,再由 yt-dlp 获取字幕,交给 Python 处理器提取主题、摘要、时间点和引文。依赖 Python、requests 和 yt-dlp;字幕会写入本地,可能是自动生成或缺失,因此结果是字幕阅读辅助,不是完整画面分析。

资料发布于 2026-10-27

可以用来做什么

  • 不完整观看视频也能先了解其中的口述主题

什么时候用

  • 所选 YouTube 视频有可用英语字幕时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

查找这个主题的视频,让我选择后再总结可用字幕,并注明缺失或自动转写情况。

月度数据趋势

累计下载3,466
2,5103,0243,5372026-03 · 累计下载 2,5812026-05 · 累计下载 2,8512026-06 · 累计下载 2,9802026-07 · 累计下载 3,2082026-08 · 累计下载 3,2662026-09 · 累计下载 3,46626-0326-09
星标2
1232026-03 · 星标 22026-05 · 星标 22026-06 · 星标 22026-07 · 星标 22026-08 · 星标 22026-09 · 星标 226-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-093,466—2
2026-083,266+1.8%2
2026-073,208+7.7%2
2026-062,980+4.5%2
2026-052,851—2
2026-032,581—2

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

2.5 KB · ClawHub v1.0.0
---
name: tube-summary
description: Search YouTube for videos on any topic and get intelligent summaries from video subtitles. Use when you need to: (1) Find and preview YouTube videos on a subject, (2) Get a detailed description of what a video covers based on its actual content, (3) Quickly understand video topics without watching. Workflow: search YouTube → pick a video → extract and summarize subtitles.
---

# tube-summary

Search YouTube for videos on any topic, then extract and summarize their content using subtitles.

## Quick Start
展开全部(共 84 行)

### Step 1: Search for Videos

When asked about a topic, search YouTube and list the top 10 results:

```bash
python3 scripts/youtube-search.py "your search query"
```

This returns a numbered list of videos with titles, channels, and view counts.

### Step 2: User Picks a Video

The user selects one video by number (e.g., "3" for the third video).

### Step 3: Download Subtitles

Extract English subtitles from the selected video using yt-dlp:

```bash
yt-dlp --write-subs --sub-langs en --skip-download "VIDEO_URL"
```

This creates a `.en.vtt` subtitle file without downloading the video.

### Step 4: Process & Summarize

Use the subtitle processor to analyze and summarize:

```bash
python3 scripts/process-subtitles.py "path/to/subtitle-file.vtt"
```

This generates:
- **Key Topics**: Main subjects covered in the video
- **Summary**: Concise 2-3 paragraph description of content
- **Timestamps**: Notable moments with context
- **Key Quotes**: Important statements from speakers

## Workflow

1. **Search** → `youtube-search.py "<topic>"` → Display top 10 videos
2. **User selects** → e.g., "Video 5"
3. **Extract URL** → From the search results
4. **Download subs** → `yt-dlp --write-subs --sub-langs en --skip-download "URL"`
5. **Process** → `process-subtitles.py "subtitle.vtt"`
6. **Present** → Formatted summary with key points

## Prerequisites

- `yt-dlp` (install: `pip install yt-dlp`)
- `requests` (for YouTube search fallback)
- Python 3.7+

## Notes

- If YouTube search API is unavailable, the fallback uses web scraping via requests
- Subtitles may be auto-generated if not manually authored
- Some videos may not have English subtitles available
- The subtitle file is created in the same directory as yt-dlp is run

## Example Usage

```
User: "Tell me about Rust programming language"

→ Search returns 10 videos about Rust

User: "Summarize video 3"

→ Downloads subtitles from video 3
→ Processes and returns detailed summary
```

「知识管理」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。