notebooklm
Google NotebookLM 非官方 Python API 的 OpenClaw Skill。支持内容生成(播客、视频、幻灯片、测验、思维导图等)、文档管理和研究自动化。当用户需要使用 NotebookLM 生成音频概述、视频、学习材料或管理知识库时触发。
About this skill
This AI agent skill allows seamless interaction with Google NotebookLM, transforming your AI assistant into a powerful research tool. It enables direct querying of your personal NotebookLM notebooks, retrieving answers that are not only source-grounded and citation-backed but also exclusively derived from your uploaded documents. This design drastically reduces the risk of AI hallucinations, providing highly reliable information. The skill automates browser interaction, manages libraries, and handles persistent authentication, making it efficient for tasks such as asking specific questions about your documentation, summarizing content, or adding new research materials. A key feature is "Smart Discovery" for adding notebooks, which intelligently extracts content overviews to auto-populate metadata, saving users significant manual effort. Ideal for researchers, students, and professionals, it empowers AI agents to perform in-depth document analysis and information retrieval from your curated knowledge base. By ensuring answers are rooted in your specific sources, it enhances the trustworthiness and utility of AI-assisted research, providing verifiable insights directly from your NotebookLM library.
Best use case
The primary use case is to empower AI agents to act as specialized research assistants, querying and managing curated knowledge bases within Google NotebookLM. Researchers, developers, and knowledge workers who rely on accurate, source-grounded information from their personal documentation will benefit most by streamlining access to their private knowledge.
Google NotebookLM 非官方 Python API 的 OpenClaw Skill。支持内容生成(播客、视频、幻灯片、测验、思维导图等)、文档管理和研究自动化。当用户需要使用 NotebookLM 生成音频概述、视频、学习材料或管理知识库时触发。
Users should expect precise, citation-backed answers derived exclusively from their specified Google NotebookLM documents or the successful addition/management of their NotebookLM content.
Practical example
Example input
Ask my NotebookLM "https://notebooklm.google.com/notebook/123xyz" about the main findings on large language model ethics, citing sources.
Example output
Based on your NotebookLM notebook, the main findings on LLM ethics include concerns about bias in training data [Source: 'Ethical AI Report.pdf', p.15], potential for misinformation generation [Source: 'LLM Impact Study.docx', Intro], and data privacy issues [Source: 'GDPR Compliance.pdf', s.3.2].
When to use this skill
- When the user explicitly mentions NotebookLM or shares a NotebookLM URL.
- When the user asks to query their personal notebooks or documentation for specific information.
- When the user wants to add new documentation or a web page to their NotebookLM library.
- When seeking source-grounded, citation-backed answers exclusively from uploaded documents.
When not to use this skill
- When needing general web search or information not contained within NotebookLM.
- When the desired information is not present in the user's uploaded NotebookLM documents.
- When looking to creatively brainstorm or generate content without specific document grounding.
- When the user intends to edit the content of documents already within NotebookLM (the skill focuses on query and add).
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/notebooklm-py/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How notebooklm Compares
| Feature / Agent | notebooklm | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | medium | N/A |
Frequently Asked Questions
What does this skill do?
Google NotebookLM 非官方 Python API 的 OpenClaw Skill。支持内容生成(播客、视频、幻灯片、测验、思维导图等)、文档管理和研究自动化。当用户需要使用 NotebookLM 生成音频概述、视频、学习材料或管理知识库时触发。
How difficult is it to install?
The installation complexity is rated as medium. You can find the installation instructions above.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
Best AI Skills for ChatGPT
Find the best AI skills to adapt into ChatGPT workflows for research, writing, summarization, planning, and repeatable assistant tasks.
AI Agent for Product Research
Browse AI agent skills for product research, competitive analysis, customer discovery, and structured product decision support.
AI Agent for SaaS Idea Validation
Use AI agent skills for SaaS idea validation, market research, customer discovery, competitor analysis, and documenting startup hypotheses.
SKILL.md Source
# NotebookLM Skill
通过非官方 Python API 访问 Google NotebookLM 的全部功能。
## 前置要求
```bash
pip install notebooklm-py
pip install "notebooklm-py[browser]" # 首次登录需要
playwright install chromium
```
## 认证
首次使用需要登录:
```bash
notebooklm login
```
或使用 Edge(某些企业环境需要):
```bash
notebooklm login --browser msedge
```
## 核心功能
### 1. 笔记本管理
```bash
# 创建笔记本
notebooklm create "我的研究"
# 列出所有笔记本
notebooklm list
# 切换当前笔记本
notebooklm use <notebook_id>
# 删除笔记本
notebooklm delete <notebook_id>
```
### 2. 添加来源
```bash
# 添加网页
notebooklm source add "https://example.com/article"
# 添加本地文件(PDF、Word、Markdown、音频、视频、图片)
notebooklm source add "./paper.pdf"
notebooklm source add "./lecture.mp3"
# 添加 YouTube 视频
notebooklm source add "https://youtube.com/watch?v=xxx"
# 执行网络研究并自动导入
notebooklm source add-research "人工智能发展趋势" --mode deep
```
### 3. 内容生成
```bash
# 生成音频概述(播客)
notebooklm generate audio "让内容更生动有趣" --wait
# 生成视频概述
notebooklm generate video --style whiteboard --wait
# 生成电影风格视频
notebooklm generate cinematic-video "纪录片风格总结" --wait
# 生成幻灯片
notebooklm generate slide-deck
# 生成信息图
notebooklm generate infographic --orientation landscape
# 生成测验
notebooklm generate quiz --difficulty hard --quantity 10
# 生成记忆卡片
notebooklm generate flashcards --quantity 20
# 生成思维导图
notebooklm generate mind-map
# 生成数据表格
notebooklm generate data-table "对比主要观点"
# 生成报告
notebooklm generate report "研究简报"
```
**音频格式选项**:
- `deep-dive` - 深入探讨
- `brief` - 简要概述
- `critique` - 批判性分析
- `debate` - 辩论形式
**视频风格选项**:
- `whiteboard` - 白板风格
- `news` - 新闻风格
- `cinematic` - 电影风格
### 4. 下载生成的内容
```bash
# 下载音频(播客)
notebooklm download audio ./podcast.mp3
# 下载视频
notebooklm download video ./overview.mp4
# 下载幻灯片(支持 PDF 和 PPTX)
notebooklm download slide-deck ./slides.pdf
notebooklm download slide-deck --format pptx ./slides.pptx
# 下载测验(支持 JSON、Markdown、HTML)
notebooklm download quiz --format json ./quiz.json
notebooklm download quiz --format markdown ./quiz.md
# 下载记忆卡片
notebooklm download flashcards --format json ./flashcards.json
# 下载思维导图
notebooklm download mind-map ./mindmap.json
# 下载信息图
notebooklm download infographic ./infographic.png
# 下载数据表格
notebooklm download data-table ./data.csv
```
### 5. 聊天问答
```bash
# 向笔记本提问
notebooklm ask "总结核心观点"
notebooklm ask "解释这个概念"
# 使用自定义人格
notebooklm ask "用简单的语言解释" --persona "友好导师"
```
## 完整工作流示例
### 学术研究转播客
```bash
# 1. 创建笔记本
notebooklm create "论文解读"
# 2. 上传论文 PDF
notebooklm source add "./research-paper.pdf"
# 3. 生成播客(深入探讨风格)
notebooklm generate audio "深入分析研究方法" --format deep-dive --wait
# 4. 下载 MP3
notebooklm download audio ./paper-podcast.mp3
```
### 批量视频生成
```bash
# 1. 创建笔记本并添加多个来源
notebooklm create "课程笔记"
notebooklm source add "./lecture1.pdf"
notebooklm source add "./lecture2.pdf"
notebooklm source add "https://reference-site.com"
# 2. 生成白板风格教学视频
notebooklm generate video --style whiteboard --wait
# 3. 同时生成测验检验学习效果
notebooklm generate quiz --difficulty medium
# 4. 下载所有材料
notebooklm download video ./lesson.mp4
notebooklm download quiz --format markdown ./quiz.md
```
### 研究项目自动化
```bash
# 1. 执行深度网络研究
notebooklm create "市场调研"
notebooklm source add-research "2024年电动汽车市场趋势" --mode deep
# 2. 生成综合分析报告
notebooklm generate report "市场分析报告"
# 3. 生成数据对比表格
notebooklm generate data-table "对比主要厂商的市场份额"
# 4. 生成演示幻灯片
notebooklm generate slide-deck
# 5. 批量下载所有材料
notebooklm download report ./report.md
notebooklm download data-table ./data.csv
notebooklm download slide-deck ./presentation.pdf
```
## Python API 使用
当需要更复杂的逻辑时,使用 Python API:
```python
import asyncio
from notebooklm import NotebookLMClient
async def research_workflow():
async with await NotebookLMClient.from_storage() as client:
# 创建笔记本
nb = await client.notebooks.create("自动化研究")
# 批量添加来源
await client.sources.add_url(nb.id, "https://example.com/1", wait=True)
await client.sources.add_file(nb.id, "./doc.pdf", wait=True)
# 生成内容
status = await client.artifacts.generate_audio(
nb.id,
instructions="制作引人入胜的播客",
format="deep-dive"
)
await client.artifacts.wait_for_completion(nb.id, status.task_id)
# 下载
await client.artifacts.download_audio(nb.id, "output.mp3")
return nb.id
# 运行
nb_id = asyncio.run(research_workflow())
print(f"完成!笔记本ID: {nb_id}")
```
## 故障排查
```bash
# 检查认证状态
notebooklm auth check --test
# 查看元数据
notebooklm metadata --json
# 查看分享状态
notebooklm share status
# 列出支持的语言
notebooklm language list
```
## 注意事项
- 这是**非官方**库,使用 Google 内部 API,可能随时变动
- 大量使用时可能触发 rate limit
- 适合原型、研究和个人项目
- 首次登录后,凭据会保存在本地,后续无需重复登录Related Skills
tavily-search
Use Tavily API for real-time web search and content extraction. Use when: user needs real-time web search results, research, or current information from the web. Requires Tavily API key.
baidu-search
Search the web using Baidu AI Search Engine (BDSE). Use for live information, documentation, or research topics.
openclaw-search
Intelligent search for agents. Multi-source retrieval with confidence scoring - web, academic, and Tavily in one unified API.
aisa-tavily
AI-optimized web search via AIsa's Tavily API proxy. Returns concise, relevant results for AI agents through AIsa's unified API gateway.
Market Sizing — TAM/SAM/SOM Calculator
Build defensible market sizing for any product, pitch deck, or business case. Top-down and bottom-up methodologies combined.
Data Analyst — AfrexAI ⚡📊
**Transform raw data into decisions. Not just charts — answers.**
Competitor Monitor
Tracks and analyzes competitor moves — pricing changes, feature launches, hiring, and positioning shifts
afrexai-competitive-intel
Complete competitive intelligence system — market mapping, product teardowns, pricing intel, win/loss analysis, battlecards, and strategic monitoring. Goes far beyond SEO to cover the full business landscape.
trending-news-aggregator
智能热点新闻聚合器 - 自动抓取多平台热点新闻, AI分析趋势,支持定时推送和热度评分。 核心功能: - 每天自动聚合多平台热点(微博、知乎、百度等) - 智能分类(科技、财经、社会、国际等) - 热度评分算法 - 增量检测(标记新增热点) - AI趋势分析
search-cluster
Aggregated search aggregator using Google CSE, GNews RSS, Wikipedia, Reddit, and Scrapling.
data-analysis-partner
智能数据分析 Skill,输入 CSV/Excel 文件和分析需求,输出带交互式 ECharts 图表的 HTML 自包含分析报告
china-vehicle-sourcing
Comprehensive vehicle sourcing guide for international buyers – provides detailed information about China's passenger car, commercial vehicle, motorcycle, and new energy vehicle manufacturing industry, including regional clusters, production bases, key players, and sourcing best practices (2026 updated).