Skill
notebooklm-py
Unofficial Python API and agentic skill for Google Gemini Notebook. Full programmatic access to NotebookLM's features—including capabilities the web UI doesn't expose—via Python, CLI, and AI agents like Claude Code, Codex, and OpenClaw.
Features
- ✓**Batch downloads** - Download all artifacts of a type at once
- ✓**Quiz/Flashcard export** - Get structured JSON, Markdown, or HTML (web UI only shows interactive view)
- ✓**Mind map data extraction** - Export hierarchical JSON for visualization tools
- ✓**Data table CSV export** - Download structured tables as spreadsheets
- ✓**Slide deck as PPTX** - Download editable PowerPoint files (web UI only offers PDF)
- ✓**Slide revision** - Modify individual slides with natural-language prompts
- ✓**Report template customization** - Append extra instructions to built-in format templates
- ✓**Save chat to notes** - Save Q&A answers or conversation history as notebook notes
- ✓**Source fulltext access** - Retrieve the indexed text content of any source
- ✓**Programmatic sharing** - Manage permissions without the UI
Installation Guide
bash
# Basic installation
pip install notebooklm-py
# With browser login support (required for first-time setup)
pip install "notebooklm-py[browser]"
playwright install chromiumIf playwright install chromium fails with TypeError: onExit is not a function, see the Linux workaround in [Troubleshooting](docs/troubleshooting.md#linux).
Development Installation
For contributors or testing unreleased features:
bash
pip install git+https://github.com/teng-lin/notebooklm-py@main⚠️ The main branch may contain unstable changes. Use PyPI releases for production.