返回顶部
y

youtube-digest

Understand, summarize, translate, and extract key points from YouTube videos. Use when a user provides a YouTube URL and wants: (1) a Chinese summary, (2) a transcript or subtitle extraction, (3) translation of spoken content, (4) timestamps / chapter notes, (5) visual understanding via key frames, or (6) question answering about a video. Prefer this skill for transcript-first workflows.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
104
下载量
0
收藏
概述
安装方式
版本历史

youtube-digest

# YouTube Digest Use a transcript-first workflow. ## Quick workflow 1. Run `scripts/fetch_youtube.py <url> --out <dir>` to collect metadata and subtitles. If behind a proxy, add `--proxy <proxy-url>`. 2. If subtitles exist, read `summary.json` and the generated transcript file first. 3. If the user only wants a quick answer, summarize directly from the transcript. 4. If the user needs stronger visual grounding, extract key frames with ffmpeg after downloading the video or by using an existing local video file. 5. If no subtitles are available, report that transcript extraction needs `yt-dlp` + a speech-to-text path (for example Whisper) before promising a result. ## Default behavior - Prefer manual subtitles over auto subtitles. - Prefer Chinese subtitles when available; otherwise use English auto/manual subtitles. - Keep downloads minimal: subtitles + metadata first, full video only when visual analysis is necessary. - For long videos, produce: - 3-line executive summary - bullet timeline with timestamps - key insights / actionable points - open questions or uncertainties ## Outputs For normal requests, return: - Video topic - Summary (in user's language) - Key timestamps - Notable quotes / insights - If confidence is limited, say whether the result came from manual subtitles, auto subtitles, or partial metadata only. ## Files produced by the script The fetch script writes an output directory containing: - `summary.json` — chosen subtitle file, title, uploader, duration, and extraction status - `transcript.txt` — plain text transcript when subtitles are available - raw subtitle files from `yt-dlp` (VTT/SRT) Read `summary.json` first to decide what to do next. ## Required runtime tools - `yt-dlp` for metadata + subtitle extraction - `deno` as JS runtime (required by yt-dlp 2026+) - `ffmpeg` for media conversion / optional frame extraction (optional) ## Key commands Basic extraction: ```bash python3 scripts/fetch_youtube.py "<youtube-url>" --out /tmp/youtube-digest ``` With proxy: ```bash python3 scripts/fetch_youtube.py "<youtube-url>" --proxy http://your-proxy:port --out /tmp/youtube-digest ``` Prefer specific subtitle languages: ```bash python3 scripts/fetch_youtube.py "<youtube-url>" --langs zh.*,en.* --out /tmp/youtube-digest ``` ## Failure handling - If `yt-dlp` is missing, stop and install it instead of improvising. - If YouTube blocks the request (429 or bot detection), try using a proxy or report the limitation. - If only metadata is available, do not pretend you understood the full video. - If subtitles are auto-generated, mention that wording may be noisy. ## References - Read `references/install-and-deploy.md` for deployment instructions. - Read `references/usage-patterns.md` for output templates for summaries, translations, or Q&A.

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 youtube-digest-1775995683 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 youtube-digest-1775995683 技能

通过命令行安装

skillhub install youtube-digest-1775995683

下载 Zip 包

⬇ 下载 youtube-digest v1.0.0

文件大小: 7.23 KB | 发布时间: 2026-4-13 12:40

v1.0.0 最新 2026-4-13 12:40
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部