azuma520/youtube-to-notebooklm/yt-search
Claude Code and agent skill by azuma520/youtube-to-notebooklm
- community
Checking that the SKILL.md file is still in the repository.
Search YouTube videos, get video metadata, and download subtitles/transcripts using yt-dlp. Use when the user wants to find videos, search YouTube, look up a YouTube channel, get video info, download captions, grab subtitles, or extract a transcript. Triggers include "找影片", "搜影片", "YouTube 搜尋", "抓字幕", "逐字稿", "search videos", "find videos on YouTube", "get subtitles", "video transcript", "youtube tutorial", "watch video about", "影片推薦", "有沒有影片", "教學影片". Make sure to use this skill whenever the user mentions YouTube, video search, subtitles, or transcripts — even if they don't explicitly say "yt-search".
Install
npx vskill@latest install azuma520/youtube-to-notebooklm/yt-searchSKILL.md
yt-search
YouTube 影片搜尋、元數據查詢、字幕下載。依賴 yt-dlp(pip install yt-dlp)。
搜尋影片
N = 結果數(預設 10,建議最多 20)。每行一個 JSON,取 title、channel、duration_string、view_count、url、id。
呈現為表格讓用戶挑選(按觀看數排序):
按上傳日期搜尋(找最新內容):用 ytsearchdateN: 取代 ytsearchN:。
過濾搜尋結果:用 --match-filters 在搜尋層直接篩選,比下載後再過濾高效:
用戶挑選後可進一步:取元數據、抓字幕、或推送到 NotebookLM(搭配 anything-to-notebooklm skill)。
取得影片元數據
除基本欄位外,channel_follower_count 可評估頻道規模,like_count / comment_count 可評估內容互動度。
下載字幕
先確認可用字幕(避免下載失敗):
確認有字幕後再下載。--sub-langs 支援正則,可抓所有語言變體:
也可同時抓手動字幕(品質更好)和自動字幕:
手動字幕(--write-subs)品質優於自動字幕(--write-auto-subs),有手動的優先用。
輸出 VTT 檔,用內建腳本轉純文字:
如果 --list-subs 顯示無字幕,告知用戶該影片沒有可用字幕。
年齡限制 / 會員內容
遇到年齡限制或需要登入才能觀看的影片,可從瀏覽器提取 Cookie:
支援 chrome、firefox、edge、brave 等瀏覽器。先詢問用戶慣用的瀏覽器。
與 anything-to-notebooklm 的銜接
用戶常見流程:搜影片 → 選一部 → 推 NotebookLM。選定影片後,記住 URL,直接傳給 anything-to-notebooklm skill 使用(YouTube URL 可直接 source add,不需要先抓字幕)。
如果用戶想看逐字稿再決定是否推送,先抓字幕讓用戶確認內容。
注意事項
- Windows 中文輸出亂碼 → 指令前加
PYTHONUTF8=1 - 搜尋結果受地區影響 → 可加
--geo-bypass - 長影片字幕檔很大 → 先確認
duration再決定是否下載 - 批量操作加
--sleep-requests 1避免被 YouTube 限流 - 用完字幕後清理暫存:
rm "$TEMP"/VIDEO_ID.*.vtt
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/yt-search/skill.md
Popularity
- Repository stars
- 30
- Repository forks
- 7
- 7-day trend score
- 17
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 22 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/azuma520/youtube-to-notebooklm/yt-search)