Use this skill whenever the user wants to generate content from YouTube videos or website URLs using NotebookLM — including podcasts, slide decks, infographics, videos, reports, quizzes, flashcards, or data tables. Auto-trigger on requests like "この動画でポッドキャスト作って", "このURLをレポートにまとめて", "YouTube動画からスライド生成して", "generate a podcast from this video", "summarize this article as a report", or any request that combines a URL/video with content generation. Also trigger when the user asks to batch-process multiple sources at once.
notebooklm-batch is a tool that uses NotebookLM to batch-generate content
(podcasts, slides, reports, etc.) from YouTube videos and websites.
Create a YAML instruction file and pass it to run_batch.py for automated generation.
Full spec: README.md (YAML schema and option values), AGENTS.md (authentication and error handling)
Before running any commands, change to the repository root:
cd $(git rev-parse --show-toplevel)
This ensures correct paths regardless of where you invoke the skill from.
ls ~/.notebooklm/storage_state.json
If the file does not exist, stop and ask the user to:
notebooklm loginstorage_state.json to fail to save)Read as much as possible from the conversation context. Only ask about items that are unclear.
| Item | Required | Notes |
|---|---|---|
| source | ✅ | YouTube URL / Website URL / file path |
| title | ✅ (non-YouTube) | YouTube sources may omit (falls back to video_id) |
| content type | ✅ | See table below |
| prompt | Recommended | Optional, but generic without one — confirm if not provided |
| options | Optional | Defaults from AGENTS.md apply when omitted |
| type | Description | Key options |
|---|---|---|
podcast | Audio podcast | format: deep-dive/brief/critique/debate, length: short/default/long |
slide | Slide deck (PDF) | format: detailed/presenter, length: default/short |
image | Infographic (PNG) | orientation: landscape/portrait/square, detail: concise/standard/detailed |
video | Explainer video (MP4) | format: explainer/brief, style: whiteboard/kawaii/anime etc. |
report | Report (Markdown) | format: briefing-doc/faq/study-guide/timeline etc. |
quiz | Quiz (JSON) | quantity: standard/more/fewer, difficulty: easy/medium/hard |
flashcards | Flashcards (JSON) | quantity: standard/more/fewer, difficulty: easy/medium/hard |
data-table | Data table (CSV) | (prompt required, no options) |
Create a YAML file in ./instructions/.
File name: {safe_title}_{YYYYMMDD}.yaml (e.g., ai_news_20240308.yaml)