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
累計下載
3466
星標
2
全站排名
#3,198
全站前 63% · 「知識管理」前 66%
平台累計安裝累計下載星標評論
ClawHub ↗113330921
SkillHub ↗33134662—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

先讓使用者選擇影片,再由 yt-dlp 獲取字幕,交給 Python 處理器提取主題、摘要、時間點和引文。依賴 Python、requests 和 yt-dlp;字幕會寫入本地,可能是自動生成或缺失,因此結果是字幕閱讀輔助,不是完整畫面分析。

資料釋出於 2026-10-27

可以用來做什麼

  • 不完整觀看影片也能先了解其中的口述主題

什麼時候用

  • 所選 YouTube 影片有可用英語字幕時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

查詢這個主題的影片,讓我選擇後再總結可用字幕,並註明缺失或自動轉寫情況。

月度資料趨勢

累計下載3466
2510302435372026-03 · 累計下載 25812026-05 · 累計下載 28512026-06 · 累計下載 29802026-07 · 累計下載 32082026-08 · 累計下載 32662026-09 · 累計下載 346626-0326-09
星標2
1232026-03 · 星標 22026-05 · 星標 22026-06 · 星標 22026-07 · 星標 22026-08 · 星標 22026-09 · 星標 226-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-093466—2
2026-083266+1.8%2
2026-073208+7.7%2
2026-062980+4.5%2
2026-052851—2
2026-032581—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),按月更新。口徑說明見資料方法。