notebooklm by arlenagreer/claude_configuration_docs
npx skills add https://github.com/arlenagreer/claude_configuration_docs --skill notebooklm通过 notebooklm-mcp-cli 包(v0.3.3)中的 nlm CLI 提供全面的 Google NotebookLM 管理功能。此技能支持完整的笔记本生命周期管理,包括创建笔记本、添加多样化来源、生成 AI 驱动的音频/视频概览、创建学习材料、使用 AI 查询来源、研究主题以及分享笔记本。
CLI 工具 : nlm(通过 uv tool install notebooklm-mcp-cli 安装)
注意 : 此技能不与 Google OAuth 技能(日历、联系人、云端硬盘、文档)共享身份验证。它使用其自身基于浏览器 cookie 的身份验证方法。
适用于任何 Google NotebookLM 操作:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
触发关键词 : "notebooklm", "notebook lm", "audio overview", "podcast from sources", "create notebook", "add sources to notebook", "study materials", "flashcards from sources", "query notebook", "video overview", "research topic", "mind map"
nlm CLI 通过从您的 NotebookLM 浏览器会话中提取 cookie 进行身份验证。
初始登录 :
# 默认登录(打开浏览器以提取 cookie)
nlm login
# 检查当前身份验证是否有效
nlm login --check
配置文件管理(适用于多个 Google 账户):
# 使用指定名称的配置文件登录
nlm login --profile work
nlm login --profile personal
# 切换默认配置文件
nlm login switch <profile-name>
# 管理配置文件
nlm login profile
手动 Cookie 模式(如果浏览器提取失败):
nlm login --manual --file cookies.txt
诊断 :
nlm doctor
重要提示 : 此身份验证与 Google OAuth 技能(日历、联系人、云端硬盘、文档、表格)使用的 Google OAuth 完全独立。每个系统维护其自身的凭据。
列出所有笔记本 :
nlm notebook list
创建新笔记本 :
nlm notebook create "Research Project"
获取笔记本详情 :
nlm notebook get <notebook_id>
获取 AI 生成的笔记本摘要 :
nlm notebook describe <notebook_id>
重命名笔记本 :
nlm notebook rename <notebook_id> "New Name"
删除笔记本 :
nlm notebook delete <notebook_id>
添加 URL 来源 :
nlm source add <notebook_id> --url "https://example.com/article"
添加 URL 并等待处理完成 :
nlm source add <notebook_id> --url "https://example.com/article" --wait
直接添加文本内容 :
nlm source add <notebook_id> --text "Your content here..."
添加 YouTube 视频 :
nlm source add <notebook_id> --youtube "https://youtube.com/watch?v=..."
添加本地文件(PDF 等) :
nlm source add <notebook_id> --file document.pdf --wait
添加 Google 云端硬盘文档 :
nlm source add <notebook_id> --drive <drive_doc_id>
nlm source add <notebook_id> --drive <drive_doc_id> --type slides
使用自定义标题添加来源 :
nlm source add <notebook_id> --url "https://example.com" --title "My Article"
列出笔记本中的来源 :
nlm source list <notebook_id>
获取来源详情 :
nlm source get <source_id>
获取 AI 生成的来源摘要 :
nlm source describe <source_id>
获取原始来源内容 :
nlm source content <source_id>
删除来源 :
nlm source delete <source_id>
同步云端硬盘来源以获取最新内容 :
nlm source sync <notebook_id>
检查过时的云端硬盘来源 :
nlm source stale <notebook_id>
询问有关笔记本来源的问题 :
nlm notebook query <notebook_id> "What are the key findings?"
或使用顶级查询命令 :
nlm query notebook <notebook_id> "Summarize the main arguments"
使用默认设置创建音频概览(深度探讨格式) :
nlm audio create <notebook_id> --confirm
使用特定格式创建 :
# 格式: deep_dive, brief, critique, debate
nlm audio create <notebook_id> --format brief --confirm
nlm audio create <notebook_id> --format debate --confirm
nlm audio create <notebook_id> --format critique --confirm
控制长度 :
# 长度: short, default, long
nlm audio create <notebook_id> --length short --confirm
nlm audio create <notebook_id> --length long --confirm
指定语言 :
nlm audio create <notebook_id> --language es --confirm
聚焦特定主题 :
nlm audio create <notebook_id> --focus "market trends" --confirm
仅使用特定来源 :
nlm audio create <notebook_id> --source-ids "src1,src2,src3" --confirm
下载生成的音频 :
nlm download audio <notebook_id>
创建视频概览 :
nlm video create <notebook_id>
下载生成的视频 :
nlm download video <notebook_id>
创建闪卡 :
nlm flashcards create <notebook_id>
创建测验 :
nlm quiz create <notebook_id>
下载闪卡/测验 :
nlm download flashcards <notebook_id>
nlm download quiz <notebook_id>
创建报告 :
nlm report create <notebook_id>
创建思维导图 :
nlm mindmap create <notebook_id>
创建幻灯片 :
nlm slides create <notebook_id>
创建信息图 :
nlm infographic create <notebook_id>
创建数据表 :
nlm data-table create <notebook_id>
下载制品 :
nlm download report <notebook_id> # Markdown
nlm download slide-deck <notebook_id> # PDF
nlm download infographic <notebook_id> # PNG
nlm download mind-map <notebook_id> # JSON
nlm download data-table <notebook_id> # CSV
启动研究任务以查找关于某个主题的来源 :
nlm research start <notebook_id> "topic description"
检查研究进度 :
nlm research status <task_id>
导入发现的来源 :
nlm research import <task_id>
将笔记本设为公开(任何拥有链接的人都可以查看) :
nlm share public <notebook_id>
将笔记本设为私有(仅限协作者访问) :
nlm share private <notebook_id>
通过电子邮件邀请协作者 :
nlm share invite <notebook_id> --email user@example.com
检查分享状态 :
nlm share status <notebook_id>
列出所有工作室制品及其状态 :
nlm studio status <notebook_id>
重命名制品 :
nlm studio rename <artifact_id> "New Name"
删除制品 :
nlm studio delete <artifact_id>
将制品导出到 Google 文档/表格 :
nlm export <artifact_id>
为笔记本 ID 设置别名 :
nlm alias set myproject <notebook_id>
# 然后使用别名代替 ID
nlm notebook get myproject
管理配置 :
nlm config
# 1. 创建一个笔记本
nlm notebook create "Article Podcast"
# 2. 添加 URL 来源
nlm source add <notebook_id> --url "https://article1.com" --wait
nlm source add <notebook_id> --url "https://article2.com" --wait
nlm source add <notebook_id> --url "https://article3.com" --wait
# 3. 生成音频概览
nlm audio create <notebook_id> --format deep_dive --confirm
# 4. 下载音频文件
nlm download audio <notebook_id>
# 1. 创建一个笔记本
nlm notebook create "Video Summary"
# 2. 添加 YouTube 来源
nlm source add <notebook_id> --youtube "https://youtube.com/watch?v=abc123" --wait
# 3. 查询摘要
nlm notebook query <notebook_id> "Provide a comprehensive summary of this video"
# 1. 创建一个笔记本
nlm notebook create "Study Material"
# 2. 上传 PDF
nlm source add <notebook_id> --file textbook-chapter.pdf --wait
# 3. 生成闪卡
nlm flashcards create <notebook_id>
# 4. 下载闪卡
nlm download flashcards <notebook_id>
# 1. 创建一个笔记本
nlm notebook create "Weekly Briefing"
# 2. 添加 Google 云端硬盘文档
nlm source add <notebook_id> --drive <doc_id_1>
nlm source add <notebook_id> --drive <doc_id_2>
# 3. 生成简短的音频概览
nlm audio create <notebook_id> --format brief --length short --confirm
# 4. 下载音频
nlm download audio <notebook_id>
# 1. 创建一个笔记本
nlm notebook create "AI Trends Research"
# 2. 开始研究
nlm research start <notebook_id> "latest AI trends 2026"
# 3. 检查进度
nlm research status <task_id>
# 4. 导入发现的来源
nlm research import <task_id>
# 5. 生成报告
nlm report create <notebook_id>
# 6. 下载报告
nlm download report <notebook_id>
# 检查当前分享状态
nlm share status <notebook_id>
# 邀请团队成员
nlm share invite <notebook_id> --email alice@company.com
nlm share invite <notebook_id> --email bob@company.com
# 或者将其设为公开
nlm share public <notebook_id>
未通过身份验证 :
{
"error": "Not authenticated",
"action": "Run 'nlm login' to authenticate via browser cookie extraction"
}
操作 : 运行 nlm login 重新进行身份验证。
未找到笔记本 :
{
"error": "Notebook not found",
"action": "Verify notebook ID with 'nlm notebook list'"
}
操作 : 使用 nlm notebook list 列出笔记本以找到正确的 ID。
添加来源失败 :
{
"error": "Failed to add source",
"action": "Check URL accessibility, file path, or Drive permissions"
}
操作 : 验证 URL 是否可访问、文件是否存在或云端硬盘文档是否已与您的账户共享。
音频生成失败 :
{
"error": "Audio creation failed",
"action": "Ensure notebook has at least one processed source"
}
操作 : 使用 nlm source list <notebook_id> 验证来源是否已处理,然后重试。
未找到配置文件 :
{
"error": "Profile not found",
"action": "Run 'nlm login --profile <name>' to create a new profile"
}
操作 : 使用 nlm login --profile <name> 创建配置文件。
--wait —— 确保在查询或生成之前处理完成nlm notebook query 确认来源已正确索引nlm login --profile work / nlm login --profile personalnlm alias set myproject <id> 以便利--format 实现音频多样性 —— deep_dive 用于全面探讨,brief 用于快速概览,debate 用于对比观点,critique 用于分析nlm download <type> <notebook_id> 保存到本地nlm source sync 以拉取最新的内容更改nlm doctor 进行诊断 —— 排查任何问题时的第一步# 首先运行诊断
nlm doctor
# 重新进行身份验证
nlm login
# 检查身份验证是否有效
nlm login --check
# 如果浏览器提取失败,尝试手动 cookie 模式
nlm login --manual --file cookies.txt
# 检查 nlm 是否在 PATH 中
which nlm
# 常见位置
ls ~/.local/bin/nlm
# 如果需要,重新安装
uv tool install notebooklm-mcp-cli
# 检查来源状态
nlm source list <notebook_id>
# 获取特定来源的详细信息
nlm source get <source_id>
# 尝试删除并重新添加
nlm source delete <source_id>
nlm source add <notebook_id> --url "https://..." --wait
# 验证笔记本是否有已处理的来源
nlm source list <notebook_id>
# 检查现有制品的工作室状态
nlm studio status <notebook_id>
# 确保在生成之前至少有一个完全处理好的来源
# 列出配置文件
nlm login profile
# 切换到不同的配置文件
nlm login switch <profile-name>
# 重新验证特定配置文件
nlm login --profile <name>
nlm --version 检查已安装版本每周安装次数
1
仓库
GitHub 星标数
3
首次出现
1 天前
安全审计
安装于
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1
Provide comprehensive Google NotebookLM management through the nlm CLI from the notebooklm-mcp-cli package (v0.3.3). This skill enables full notebook lifecycle management including creating notebooks, adding diverse sources, generating AI-powered audio/video overviews, creating study materials, querying sources with AI, researching topics, and sharing notebooks.
CLI Tool : nlm (installed via uv tool install notebooklm-mcp-cli)
Note : This skill does NOT share authentication with Google OAuth skills (calendar, contacts, drive, docs). It uses its own browser cookie-based authentication method.
Use this skill for ANY Google NotebookLM operations:
Trigger Keywords : "notebooklm", "notebook lm", "audio overview", "podcast from sources", "create notebook", "add sources to notebook", "study materials", "flashcards from sources", "query notebook", "video overview", "research topic", "mind map"
The nlm CLI authenticates by extracting cookies from your browser session with NotebookLM.
Initial Login :
# Default login (opens browser for cookie extraction)
nlm login
# Check if current auth is valid
nlm login --check
Profile Management (for multiple Google accounts):
# Login with a named profile
nlm login --profile work
nlm login --profile personal
# Switch default profile
nlm login switch <profile-name>
# Manage profiles
nlm login profile
Manual Cookie Mode (if browser extraction fails):
nlm login --manual --file cookies.txt
Diagnostics :
nlm doctor
Important : This authentication is completely separate from Google OAuth used by other Google skills (calendar, contacts, drive, docs, sheets). Each system maintains its own credentials.
List all notebooks :
nlm notebook list
Create a new notebook :
nlm notebook create "Research Project"
Get notebook details :
nlm notebook get <notebook_id>
Get AI-generated notebook summary :
nlm notebook describe <notebook_id>
Rename a notebook :
nlm notebook rename <notebook_id> "New Name"
Delete a notebook :
nlm notebook delete <notebook_id>
Add a URL source :
nlm source add <notebook_id> --url "https://example.com/article"
Add a URL and wait for processing :
nlm source add <notebook_id> --url "https://example.com/article" --wait
Add text content directly :
nlm source add <notebook_id> --text "Your content here..."
Add a YouTube video :
nlm source add <notebook_id> --youtube "https://youtube.com/watch?v=..."
Add a local file (PDF, etc.) :
nlm source add <notebook_id> --file document.pdf --wait
Add a Google Drive document :
nlm source add <notebook_id> --drive <drive_doc_id>
nlm source add <notebook_id> --drive <drive_doc_id> --type slides
Add source with custom title :
nlm source add <notebook_id> --url "https://example.com" --title "My Article"
List sources in a notebook :
nlm source list <notebook_id>
Get source details :
nlm source get <source_id>
Get AI-generated source summary :
nlm source describe <source_id>
Get raw source content :
nlm source content <source_id>
Delete a source :
nlm source delete <source_id>
Sync Drive sources with latest content :
nlm source sync <notebook_id>
Check for stale Drive sources :
nlm source stale <notebook_id>
Ask a question about notebook sources :
nlm notebook query <notebook_id> "What are the key findings?"
Or using the top-level query command :
nlm query notebook <notebook_id> "Summarize the main arguments"
Create audio overview with defaults (deep dive format) :
nlm audio create <notebook_id> --confirm
Create with specific format :
# Formats: deep_dive, brief, critique, debate
nlm audio create <notebook_id> --format brief --confirm
nlm audio create <notebook_id> --format debate --confirm
nlm audio create <notebook_id> --format critique --confirm
Control length :
# Lengths: short, default, long
nlm audio create <notebook_id> --length short --confirm
nlm audio create <notebook_id> --length long --confirm
Specify language :
nlm audio create <notebook_id> --language es --confirm
Focus on specific topic :
nlm audio create <notebook_id> --focus "market trends" --confirm
Use specific sources only :
nlm audio create <notebook_id> --source-ids "src1,src2,src3" --confirm
Download the generated audio :
nlm download audio <notebook_id>
Create video overview :
nlm video create <notebook_id>
Download generated video :
nlm download video <notebook_id>
Create flashcards :
nlm flashcards create <notebook_id>
Create quizzes :
nlm quiz create <notebook_id>
Download flashcards/quizzes :
nlm download flashcards <notebook_id>
nlm download quiz <notebook_id>
Create a report :
nlm report create <notebook_id>
Create a mind map :
nlm mindmap create <notebook_id>
Create slides :
nlm slides create <notebook_id>
Create an infographic :
nlm infographic create <notebook_id>
Create a data table :
nlm data-table create <notebook_id>
Download artifacts :
nlm download report <notebook_id> # Markdown
nlm download slide-deck <notebook_id> # PDF
nlm download infographic <notebook_id> # PNG
nlm download mind-map <notebook_id> # JSON
nlm download data-table <notebook_id> # CSV
Start a research task to find sources on a topic :
nlm research start <notebook_id> "topic description"
Check research progress :
nlm research status <task_id>
Import discovered sources :
nlm research import <task_id>
Make notebook public (anyone with link can view) :
nlm share public <notebook_id>
Make notebook private (restricted to collaborators) :
nlm share private <notebook_id>
Invite a collaborator by email :
nlm share invite <notebook_id> --email user@example.com
Check sharing status :
nlm share status <notebook_id>
List all studio artifacts and their status :
nlm studio status <notebook_id>
Rename an artifact :
nlm studio rename <artifact_id> "New Name"
Delete an artifact :
nlm studio delete <artifact_id>
Export artifacts to Google Docs/Sheets :
nlm export <artifact_id>
Set an alias for a notebook ID :
nlm alias set myproject <notebook_id>
# Then use alias instead of ID
nlm notebook get myproject
Manage configuration :
nlm config
# 1. Create a notebook
nlm notebook create "Article Podcast"
# 2. Add URL sources
nlm source add <notebook_id> --url "https://article1.com" --wait
nlm source add <notebook_id> --url "https://article2.com" --wait
nlm source add <notebook_id> --url "https://article3.com" --wait
# 3. Generate audio overview
nlm audio create <notebook_id> --format deep_dive --confirm
# 4. Download the audio file
nlm download audio <notebook_id>
# 1. Create a notebook
nlm notebook create "Video Summary"
# 2. Add YouTube source
nlm source add <notebook_id> --youtube "https://youtube.com/watch?v=abc123" --wait
# 3. Query for summary
nlm notebook query <notebook_id> "Provide a comprehensive summary of this video"
# 1. Create a notebook
nlm notebook create "Study Material"
# 2. Upload the PDF
nlm source add <notebook_id> --file textbook-chapter.pdf --wait
# 3. Generate flashcards
nlm flashcards create <notebook_id>
# 4. Download flashcards
nlm download flashcards <notebook_id>
# 1. Create a notebook
nlm notebook create "Weekly Briefing"
# 2. Add Google Drive docs
nlm source add <notebook_id> --drive <doc_id_1>
nlm source add <notebook_id> --drive <doc_id_2>
# 3. Generate brief audio overview
nlm audio create <notebook_id> --format brief --length short --confirm
# 4. Download audio
nlm download audio <notebook_id>
# 1. Create a notebook
nlm notebook create "AI Trends Research"
# 2. Start research
nlm research start <notebook_id> "latest AI trends 2026"
# 3. Check progress
nlm research status <task_id>
# 4. Import discovered sources
nlm research import <task_id>
# 5. Generate a report
nlm report create <notebook_id>
# 6. Download report
nlm download report <notebook_id>
# Check current sharing status
nlm share status <notebook_id>
# Invite team members
nlm share invite <notebook_id> --email alice@company.com
nlm share invite <notebook_id> --email bob@company.com
# Or make it public
nlm share public <notebook_id>
Not Authenticated :
{
"error": "Not authenticated",
"action": "Run 'nlm login' to authenticate via browser cookie extraction"
}
Action : Run nlm login to re-authenticate.
Notebook Not Found :
{
"error": "Notebook not found",
"action": "Verify notebook ID with 'nlm notebook list'"
}
Action : List notebooks to find correct ID with nlm notebook list.
Source Add Failed :
{
"error": "Failed to add source",
"action": "Check URL accessibility, file path, or Drive permissions"
}
Action : Verify the URL is accessible, the file exists, or Drive document is shared with your account.
Audio Generation Failed :
{
"error": "Audio creation failed",
"action": "Ensure notebook has at least one processed source"
}
Action : Verify sources are processed with nlm source list <notebook_id>, then retry.
Profile Not Found :
{
"error": "Profile not found",
"action": "Run 'nlm login --profile <name>' to create a new profile"
}
Action : Create the profile with nlm login --profile <name>.
--wait when adding sources -- ensures processing completes before querying or generatingnlm notebook query to confirm sources are properly indexed before generating audio/videonlm login --profile work / nlm login --profile personalnlm alias set myproject <id> for convenience--format for audio variety -- deep_dive for comprehensive, for quick, for contrasting views, for analysis# Run diagnostics first
nlm doctor
# Re-authenticate
nlm login
# Check if auth is valid
nlm login --check
# Try manual cookie mode if browser extraction fails
nlm login --manual --file cookies.txt
# Check if nlm is on PATH
which nlm
# Common location
ls ~/.local/bin/nlm
# Reinstall if needed
uv tool install notebooklm-mcp-cli
# Check source status
nlm source list <notebook_id>
# Get details on specific source
nlm source get <source_id>
# Try removing and re-adding
nlm source delete <source_id>
nlm source add <notebook_id> --url "https://..." --wait
# Verify notebook has processed sources
nlm source list <notebook_id>
# Check studio status for existing artifacts
nlm studio status <notebook_id>
# Ensure you have at least one fully processed source before generating
# List profiles
nlm login profile
# Switch to different profile
nlm login switch <profile-name>
# Re-authenticate a specific profile
nlm login --profile <name>
nlm --version to check installed versionWeekly Installs
1
Repository
GitHub Stars
3
First Seen
1 day ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
amp1
cline1
opencode1
cursor1
kimi-cli1
codex1
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
60,400 周安装
briefdebatecritiquenlm download <type> <notebook_id> to save locallynlm source sync to pull latest content changesnlm doctor for diagnostics -- first step when troubleshooting any issue