NotebookLM CLI
Commands
notebooklm list
notebooklm create "Name"
notebooklm source add "<url_or_file>" -n <ID>
notebooklm source add "<url>" -n <ID> --wait
notebooklm source list -n <ID>
notebooklm ask "Question" -n <ID>
Rules
- No playlists. Extract individual YouTube URLs and add one by one.
- Max 50 sources per notebook.
- Use
--wait when adding sources in scripts to ensure processing completes.
- Auth Recovery: If
notebooklm fails with "Authentication expired", you MUST ask the user for explicit permission before recovering. Propose running python {WORKSPACE_DIR}/skills/notebooklm-bypass/scripts/auto_playwright.py. If and only if they approve, run the script. This script steals fresh cookies and automatically injects them into your Windows Environment Variables. Once complete, retry your command.