| name | notebooklm-kd |
| description | Automate NotebookLM research workflow - from YouTube links to structured reports (Knowledge Distillery). |
| homepage | https://notebooklm.google.com/ |
| metadata | {"openclaw":{"emoji":"🎓","requires":{"bins":["uv"]},"install":[{"id":"uv-brew","kind":"brew","formula":"uv","bins":["uv"],"label":"Install uv (brew)"}]}} |
NotebookLM-KD (Knowledge Distillery)
Automate the workflow of extracting structured knowledge from YouTube videos or articles using NotebookLM + Gemini AI.
Quick Start
Generate a research report from YouTube videos:
uv run {baseDir}/scripts/kd.py research \
--topic "Financial Research" \
--urls "https://youtube.com/watch?v=xxx,https://youtube.com/watch?v=yyy" \
--format briefing
Parameters
--topic: Topic name (used for folder name)
--urls: Comma-separated YouTube/article URLs
--format: Report format (briefing/study-guide/blog)
--output: Output path (default: workspace/{topic}_KD/)
Output
Creates a complete research folder:
workspace/{topic}_KD/
├── README.md # Index with NotebookLM link
└── YYYY-MM-DD_{topic}_KD報告.md # Full report
Notes
- Uses OpenClaw browser automation (no API key needed)
- Requires Google account with NotebookLM access
- Max 50 sources per NotebookLM notebook
- Public YouTube videos only (with transcripts)
- Report generated by Gemini AI via NotebookLM
Workflow
- Opens NotebookLM in browser
- Creates new notebook
- Batch imports URLs
- Waits for Gemini analysis
- Generates report (selected format)
- Copies report content
- Creates folder structure
- Saves report with templates
- Records NotebookLM link
Total time: ~3-5 minutes for 4 videos