watch
8
总安装量
8
周安装量
#34213
全站排名
安装命令
npx skills add https://github.com/soul-brews-studio/oracle-skills-cli --skill watch
Agent 安装分布
mcpjam
8
mistral-vibe
8
claude-code
8
junie
8
windsurf
8
zencoder
8
Skill 文档
/watch – YouTube â Gemini â Oracle Knowledge
Alias for /gemini transcribe with Oracle integration.
Learn from YouTube videos by sending to Gemini for transcription, then indexing to Oracle.
Usage
/watch https://youtube.com/watch?v=xxx # Auto-resolve title via yt-dlp
/watch "Custom Title" https://youtu.be/xxx # Override title
/watch --slug custom-slug https://youtube.com/... # Custom slug
Scripts
| Script | Purpose |
|---|---|
scripts/get-metadata.ts <url> |
Get title, duration, channel (JSON) |
scripts/get-cc.ts <url> [lang] |
Get captions in SRT format |
scripts/save-learning.ts <title> <url> <id> <transcript> [cc] |
Save to Ï/memory/learnings/ |
Workflow
Step 1: Run Transcription Script
# Simple (default chat mode)
bun src/skills/watch/scripts/transcribe.ts <youtube-url>
# With Deep Research mode
bun src/skills/watch/scripts/transcribe.ts --mode=research <youtube-url>
# With specific model
bun src/skills/watch/scripts/transcribe.ts --model=thinking <youtube-url>
# Canvas mode for document output
bun src/skills/watch/scripts/transcribe.ts --mode=canvas <youtube-url>
Modes:
| Mode | Use Case |
|---|---|
chat |
Quick transcription (default) |
research |
Deep analysis with fact-checking |
canvas |
Structured document output |
Models:
| Model | Speed | Quality |
|---|---|---|
fast |
Fastest | Good |
thinking |
Slow | Best (reasoning) |
pro |
Medium | High |
The script handles:
- Fetching video metadata (title, channel, duration)
- Creating new Gemini tab with correct mode URL
- Selecting model if specified
- Sending prompt with metadata
- Outputting tab ID for follow-up
Step 2: Wait for Gemini Response
Check the Gemini tab for the transcription. For long videos, this may take 30-60 seconds.
Step 3: Save to Knowledge
Once you have the Gemini transcription, save it:
bun src/skills/watch/scripts/save-learning.ts "$TITLE" "$URL" "$VIDEO_ID" "$TRANSCRIPT" "$CC_TEXT"
Or manually create a learning file at Ï/memory/learnings/YYYY-MM-DD_video-slug.md.
Step 4: Index to Oracle
oracle_learn({
pattern: "YouTube transcript: [TITLE] - [key takeaways summary]",
concepts: ["youtube", "transcript", "video", "[topic-tags from content]"],
source: "/watch skill"
})
Output Summary
## ð¬ Video Learned: [TITLE]
**Source**: [YOUTUBE_URL]
**Gemini**: [GEMINI_CONVERSATION_URL]
### Key Takeaways
[From Gemini response]
### Saved To
- Learning: Ï/memory/learnings/[DATE]_[SLUG].md
- Oracle: Indexed â
### Quick Access
`/trace [SLUG]` or `oracle_search("[TITLE]")`
IMPORTANT: Save Gemini Conversation Link
Always save the Gemini conversation URL in the learning file frontmatter:
---
title: [Video Title]
source: YouTube - [Creator] (youtube_url)
gemini_conversation: https://gemini.google.com/app/[conversation_id]
---
Why:
- Conversations persist and are revisitable
- Can continue asking follow-up questions later
- Provides audit trail of transcription source
- URL visible in browser after sending request
Notes
- Gemini has YouTube understanding built-in (can process video directly)
- Long videos may take 30-60 seconds to process
- If Gemini can’t access video, it will say so â fallback to manual notes
- Works with: youtube.com, youtu.be, youtube.com/shorts/
Error Handling
| Error | Action |
|---|---|
| Gemini blocked | User must be logged into Google |
| Video unavailable | Save URL + notes manually |
| Rate limited | Wait and retry |
| Browser tab closed | Recreate tab, retry |