Watch youtube
Learn from YouTube videos by extracting transcripts and presenting structured knowledge. Use when users share YouTube URLs or ask about video tutorials.From its SKILL.md
npx -y skills add peilingjiang/skills --skill watch-youtubeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
3.2 KB, as published. Nobody here has run it
Watch YouTube
Extract knowledge from YouTube videos and present it in the conversation.
Quick Reference
| User Intent | Action |
|---|---|
| Shares YouTube URL(s) | Extract and present knowledge |
| "search/find videos about X" | Search → show results → user picks |
| "watch videos about X" | Search → watch top results |
| "save as skill" / "remember this" | Save extracted knowledge as SKILL.md |
Step 1: Get Video(s)
Option A: User Provides URL(s)
Extract transcript from each URL:
python {{SKILL_DIR}}/scripts/transcript.py "VIDEO_URL"
Option B: User Wants to Search
python {{SKILL_DIR}}/scripts/search.py "QUERY" --max-results 5
Then either:
- "watch videos about X" → Auto-select top 3 (or top 1 if "a video")
- "search/find videos about X" → Show list, let user choose
After selection, extract transcripts for chosen video(s).
Step 2: Extract Knowledge
Analyze the transcript(s) and extract the knowledge (either to use for the next steps or present to the user based on the context):
- Summary - What the video teaches (2-3 sentences)
- Key Steps - Actionable instructions with commands/code
- Important Concepts - Core ideas explained clearly
- Warnings - Common pitfalls mentioned
- Tips - Pro recommendations from the video
For multiple videos: combine insights, deduplicate overlapping concepts, note differing perspectives.
Step 3: Save as Skill (Only When Requested)
Default behavior: Use knowledge for the ongoing tasks, do not save files.
Only save when user explicitly asks with phrases like:
- "save this as a skill"
- "remember this for later"
- "make it a skill"
To Save:
-
Read the extraction prompt: references/extract-knowledge.md
-
Read the appropriate template:
- Single video: assets/templates/skill-single.md
- Multiple videos: assets/templates/skill-series.md
-
Ask where to save:
- Project (default):
.claude/skills/{skill-name}/SKILL.md - Personal:
~/.claude/skills/{skill-name}/SKILL.md
- Project (default):
-
Save and confirm with skill name and how to invoke it (
/skill-name) -
Remind the user that the skill can only be loaded when Claude Code is reloaded
Error Handling
| Error | Solution |
|---|---|
| "No transcript available" | Suggest alternative video |
| "Video not found" | Ask user to verify URL |
| "Module not found" | Run setup command below |
First-Time Setup
pip install -r {{SKILL_DIR}}/scripts/requirements.txt