Extracts YouTube video transcripts and provides concise summaries highlighting main points, arguments, and conclusions without watching the full video.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install tldw或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install tldw⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/tldw/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
too long; didn't watch
Extract and summarize YouTube video transcripts quickly and efficiently.
The tldw skill takes a YouTube URL, extracts the video transcript, and provides a comprehensive summary of the content. This allows you to quickly understand video content without watching the entire video.
This skill solves the problem of information overload from video content. Instead of spending 10-60 minutes watching a video, you can get the key points, main arguments, and conclusions in a concise summary within seconds.
Use this skill when:
This skill is based on the tldw project by stong. Full attribution and licensing details are available in ATTRIBUTION.md.
---
The skill uses a Python virtual environment with the following dependencies:
All dependencies are installed in the local virtual environment at venv/.
- Format: Netscape cookie format (can be exported from browser) - Place in skill directory and reference with --cookies flag
tldw/
├── SKILL.md # This documentation
├── ATTRIBUTION.md # Credit to original project
├── LICENSE # AGPL-3.0 license
├── scripts/
│ └── extract_transcript.py # Main extraction script
├── cache/ # Cached transcripts (auto-created)
└── venv/ # Python virtual environment
├── bin/
│ └── yt-dlp # Video transcript downloader
└── lib/ # Python packages
Follow these steps to set up the tldw skill:
```bash cd tldw/ ```
```bash python3 -m venv venv ```
```bash venv/bin/pip install yt-dlp webvtt-py ```
```bash venv/bin/yt-dlp --version ```
The skill is now ready to use!
---
When a user provides a YouTube URL and requests a summary, use the following workflow:
cd tldw/ && \
venv/bin/python scripts/extract_transcript.py \
--json --cache-dir cache "YOUTUBE_URL"
The script returns JSON with the following structure:
{
"transcript": "Full cleaned transcript text...",
"video_id": "video_id_here",
"title": "Video Title",
"description": "Video description...",
"duration": 1234,
"uploader": "Channel Name",
"upload_date": "20260101",
"view_count": 12345,
"webpage_url": "https://www.youtube.com/watch?v=..."
}
Extract the transcript field and process it directly to create a comprehensive summary.
--json: Output in JSON format (recommended for parsing)--cache-dir : Specify cache directory (default: cache/)--cookies : Path to Netscape-format cookie file for age-restricted content# 1. Extract transcript
cd tldw/ && \
venv/bin/python scripts/extract_transcript.py \
--json --cache-dir cache "https://www.youtube.com/watch?v=VIDEO_ID"
# 2. Parse the JSON output and extract the transcript field
# 3. Summarize the transcript directly (include main points, key arguments, conclusions)
# 4. Return formatted summary to user
For age-restricted or members-only videos, export cookies from your browser:
youtube_cookies.txt)--cookies youtube_cookies.txt---
Error message: "No subtitles/captions found"
What it means: The video has no auto-generated or manual captions available.
Solution: Inform the user that the video cannot be transcribed because it lacks captions.
Error message: "ERROR: unable to download video data"
What it means: The URL is malformed, the video doesn't exist, or it's private/deleted.
Solution: Verify the URL is correct and check if the video is publicly accessible.
Error message: "Sign in to confirm your age" or similar authentication errors
What it means: The video requires age verification or YouTube login.
Solution: Use the --cookies flag with exported browser cookies (see "Accessing Age-Restricted Content" above).
Error messages: "Unable to download", "Connection timeout", extraction failures
What it means: Network issues, YouTube blocking the request, or outdated yt-dlp that's incompatible with current YouTube.
Solution:
```bash cd tldw/ && \ venv/bin/pip install --upgrade yt-dlp ```
YouTube frequently changes their API, so keeping yt-dlp updated is essential.
Symptoms: Permission errors, disk full errors
What it means: The cache directory has permission problems or insufficient disk space.
Solution: Check available disk space with df -h and verify write permissions on the cache/ directory.
Note: Transcripts over 50,000 characters may take longer to process.
Best practice: Process large transcripts directly in the main agent session. Do not delegate to sub-agents, as they have been found unreliable with large payloads.
To see full error output (not just the last 100 lines):
cd tldw/ && \
venv/bin/python scripts/extract_transcript.py \
--json --cache-dir cache "YOUTUBE_URL"
To inspect cached transcripts:
ls -lh tldw/cache/
---
...
安装 tl;dw - YouTube Video Summarizer 后,可以对 AI 说这些话来触发它
Help me get started with tl;dw - YouTube Video Summarizer
Explains what tl;dw - YouTube Video Summarizer does, walks through the setup, and runs a quick demo based on your current project
Use tl;dw - YouTube Video Summarizer to extracts YouTube video transcripts and provides concise summaries h...
Invokes tl;dw - YouTube Video Summarizer with the right parameters and returns the result directly in the conversation
What can I do with tl;dw - YouTube Video Summarizer in my design & creative workflow?
Lists the top use cases for tl;dw - YouTube Video Summarizer, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/tldw/ 目录(个人级,所有项目可用),或 .claude/skills/tldw/(项目级)。重启 AI 客户端后,用 /tldw 主动调用,或让 AI 根据上下文自动发现并使用。
tl;dw - YouTube Video Summarizer 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
tl;dw - YouTube Video Summarizer 可免费安装使用。请查阅仓库了解许可证信息。
Extracts YouTube video transcripts and provides concise summaries highlighting main points, arguments, and conclusions without watching the full video.
tl;dw - YouTube Video Summarizer 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using tl;dw - YouTube Video Summarizer
Identifies repetitive steps in your workflow and sets up tl;dw - YouTube Video Summarizer to handle them automatically