youtube-summary
由 sunghyo 提供
Coding Agents & IDEs简介
Summarize YouTube videos into structured Markdown with youtube2md, including chaptered notes, timestamp links.
描述
该技能的功能
Converts YouTube videos into structured Markdown using the youtube2md CLI. Outputs chaptered notes, timestamp links, and key takeaways in full mode, or raw transcript JSON and plain text in extract mode. Works without an OpenAI key by falling back to local transcript extraction.
Extract mode pulls structured transcripts locally without sending content to any external API, making it viable in sensitive or air-gapped environments where full summarization is not acceptable.
何时使用
- Taking study notes from a university lecture video
- Extracting a transcript without sending content to an external API
- Summarizing a conference talk in a specific language
- Batch processing multiple YouTube URLs into separate Markdown files
- Getting key takeaways from a long podcast-style video
示例工作流
User asks: Summarize this YouTube video: https://youtube.com/watch?v=abc123
- 1
Validate the URL as a youtube.com or youtu.be link
- 2
Check whether OPENAI_API_KEY is set to select full or extract mode
- 3
Run scripts/run_youtube2md.sh with the URL in full mode
- 4
Verify the output Markdown file exists and is non-empty
- 5
Return the summary with chapter headings, timestamp links, and key takeaways
Structured Markdown with chaptered notes, clickable timestamp links, and a key takeaways section
前置要求
- OPENAI_API_KEY environment variable (optional, required only for full summarization mode)
- youtube2md CLI installed globally (npm i -g youtube2md@1.0.1)
安装
clawhub install sunghyo/youtube-summary运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。