返回顶部
n

notebooklm-cliNotebookLM命令行工具

Comprehensive CLI for Google NotebookLM including notebooks, sources, audio podcasts, reports, quizzes, flashcards, mind maps, slides, infographics, videos, and data tables. Use when working with NotebookLM programmatically: managing notebooks/sources, generating audio overviews (podcasts), creating study materials (quizzes, flashcards), producing presentations (slides, infographics), or querying sources via chat.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 0.1.0
安全检测
已通过
3,329
下载量
免费
免费
3
收藏
概述
安装方式
版本历史

notebooklm-cli

NotebookLM CLI

概述

本技能提供通过命令行界面完整访问Google NotebookLM的功能。可管理笔记本和来源,并生成包括音频播客、报告、测验、闪卡、思维导图、幻灯片、信息图、视频和数据表在内的多种内容格式。

使用场景

在以下情况下使用本技能:

  • - 以编程方式管理NotebookLM笔记本和来源
  • 从笔记本来源生成音频概览(播客)
  • 创建学习资料:测验、闪卡、报告
  • 制作视觉内容:幻灯片、信息图、思维导图、视频
  • 通过聊天或一次性提问查询来源
  • 自动研究并导入新来源

快速入门

身份验证

bash
nlm login

启动Chrome浏览器,导航至NotebookLM,并提取会话Cookie。需要已安装Google Chrome。

列出笔记本

bash
nlm notebook list

创建笔记本并添加来源

bash
nlm notebook create 我的研究
nlm source add <笔记本ID> --url https://example.com/article
nlm source add <笔记本ID> --text 此处填写内容 --title 我的笔记

生成内容(所有类型)

所有生成命令都需要 --confirm 或 -y 参数:

bash
nlm audio create --confirm # 播客
nlm report create --confirm # 简报文档或学习指南
nlm quiz create --confirm # 测验题目
nlm flashcards create --confirm # 闪卡
nlm mindmap create --confirm # 思维导图
nlm slides create --confirm # 幻灯片
nlm infographic create --confirm # 信息图
nlm video create --confirm # 视频概览
nlm data-table create 描述 --confirm # 数据表

身份验证

命令描述
nlm login使用NotebookLM进行身份验证(打开Chrome)
nlm login --check
验证当前凭证 | | nlm auth status | 检查会话有效性 | | nlm auth list | 列出所有配置文件 | | nlm auth delete <配置文件> --confirm | 删除配置文件 | | nlm login --profile <名称> | 登录到特定配置文件 |

会话持续时间约20分钟。如果命令失败,请使用 nlm login 重新进行身份验证。

笔记本管理

命令描述
nlm notebook list列出所有笔记本
nlm notebook create 标题
创建新笔记本 | | nlm notebook get | 获取笔记本详情 | | nlm notebook describe | AI生成的摘要 | | nlm notebook query 问题 | 与来源聊天 | | nlm notebook delete --confirm | 删除笔记本 |

来源管理

命令描述
nlm source list <笔记本ID>列出笔记本中的来源
nlm source list <笔记本ID> --drive
显示Drive来源及其新鲜度 | | nlm source add --url ... | 添加URL或YouTube来源 | | nlm source add --text ... --title ... | 添加粘贴文本 | | nlm source add --drive <文档ID> | 添加Google Drive文档 | | nlm source describe <来源ID> | 来源的AI摘要 | | nlm source content <来源ID> | 获取原始文本内容 | | nlm source stale <笔记本ID> | 列出过时的Drive来源 | | nlm source sync <笔记本ID> --confirm | 同步Drive来源 |

内容生成

所有生成命令都需要 --confirm 或 -y 参数:

媒体类型

命令输出
nlm audio create <ID> --confirm音频播客概览
nlm report create <ID> --confirm
简报文档或学习指南 | | nlm quiz create --confirm | 测验题目 | | nlm flashcards create --confirm | 闪卡 | | nlm mindmap create --confirm | 思维导图 | | nlm slides create --confirm | 幻灯片 | | nlm infographic create --confirm | 信息图 | | nlm video create --confirm | 视频概览 | | nlm data-table create 描述 --confirm | 数据表提取 |

工作室(工件管理)

命令描述
nlm studio status <笔记本ID>列出所有生成的工件
nlm studio delete <笔记本ID> <工件ID> --confirm
删除工件 |

聊天

命令描述
nlm chat start <笔记本ID>启动交互式REPL会话
nlm chat configure <笔记本ID>
配置聊天目标和回复风格 | | nlm notebook query 问题 | 一次性提问(无会话) |

聊天REPL命令:/sources、/clear、/help、/exit

研究

命令描述
nlm research start 查询 --notebook-id <ID>网络搜索(约30秒)
nlm research start 查询 --notebook-id <ID> --mode deep
深度研究(约5分钟) | | nlm research start 查询 --notebook-id --source drive | 搜索Google Drive | | nlm research status <笔记本ID> | 检查研究进度 | | nlm research import <笔记本ID> <任务ID> | 导入发现的来源 |

别名(UUID快捷方式)

bash
nlm alias set myproject # 创建别名
nlm notebook get myproject # 使用别名
nlm alias list # 列出所有别名
nlm alias get myproject # 解析为UUID
nlm alias delete myproject # 删除别名

输出格式

大多数列表命令支持多种格式:

bash
nlm notebook list # 富表格(默认)
nlm notebook list --json # JSON输出
nlm notebook list --quiet # 仅显示ID(适用于脚本)
nlm notebook list --title # ID: 标题格式
nlm notebook list --full # 所有列

配置文件(多账户)

bash
nlm login --profile work # 登录到配置文件
nlm notebook list --profile work # 使用配置文件
nlm auth list # 列出所有配置文件
nlm auth delete work --confirm # 删除配置文件

配置

bash
nlm config show # 显示当前配置
nlm config get <键> # 获取特定设置
nlm config set <键> <值> # 更新设置

AI文档

为AI助手生成全面的文档:

bash
nlm --ai

输出400多行,涵盖所有命令、身份验证流程、错误处理、任务序列和自动化技巧。

参考

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 notebooklm-cli-1776381002 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 notebooklm-cli-1776381002 技能

通过命令行安装

skillhub install notebooklm-cli-1776381002

下载

⬇ 下载 notebooklm-cli v0.1.0(免费)

文件大小: 9.1 KB | 发布时间: 2026-4-17 16:12

v0.1.0 最新 2026-4-17 16:12
- Initial release of notebooklm-cli, a comprehensive CLI for Google NotebookLM.
- Manage notebooks, sources, and authentication profiles via command-line.
- Generate content in various formats: audio podcasts, reports, quizzes, flashcards, mind maps, slides, infographics, videos, and data tables.
- Includes artifact management, source syncing, AI-generated summaries, chat interface, and automated research/import features.
- Supports multi-account profiles, aliases, flexible output formats, and detailed configuration options.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部