闲社服务运行正常AI智能体自动化平台
n

NotebookLM音频生成

技能标识:notebooklm-audio-generator

Automates uploading multiple sources (files, URLs, YouTube, Drive, text) to a NotebookLM notebook, generating a deep dive audio overview in a preferred language, and downloading the result. It guides the user through notebook management, source addition, audio generation, and downloading using the notebooklm-mcp-cli.

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

NotebookLM音频生成

NotebookLM 音频生成技能

该技能可自动使用 Google 的 NotebookLM 从多种来源生成深度音频概览,并将其下载到指定目录。

前置条件

本技能依赖 notebooklm-mcp-cli 包和用于支持 .epub 格式的 epub2txt 工具。在继续之前,请确保用户已安装并完成身份验证。

安装与设置

如果用户尚未设置 CLI 或转换工具,请指导他们先完成以下操作:

  1. 1. 安装 NotebookLM CLI:
bash uv tool install notebooklm-mcp-cli # 或 pip install notebooklm-mcp-cli
  1. 2. 身份验证:
bash nlm login
  1. 3. 安装 epub2txt(用于支持 .epub 格式):
本技能要求将 epub2txt 安装在您的程序目录中。使用以下命令克隆并初始化: bash mkdir -p ~/Programs cd ~/Programs git clone https://github.com/SPACESODA/epub2txt.git cd epub2txt chmod +x run.sh ./run.sh # 初始化虚拟环境

工作流程

激活后,请严格按以下步骤顺序执行。不要跳过任何步骤。

步骤 1:收集信息

逐一询问用户以下信息,为生成做准备:

  1. 1. 询问新笔记本的名称。如果未提供,则使用默认名称音频概览笔记本。
  2. 来源选择: 让用户从以下选项中选择来源:

- 本地文件: .pdf、.txt 和 .epub(将自动转换)。使用 GUI 选择器:
- macOS: osascript -e set theFiles to choose file with prompt \请选择您的源文件:\ multiple selections allowed true ...
- Linux: zenity --file-selection --multiple ...
- Windows: PowerShell OpenFileDialog。
- 网页/视频网址: 让用户提供任何网站或 YouTube 网址。
- Google Drive: 询问 Google Drive 文档 ID。
  1. 3. 首选语言: 询问用户偏好的输出语言(BCP-47 代码)。

- 选项: 提供常用选项:en(英语 - 默认)、zh(中文)、ja(日语)、es(西班牙语)、fr(法语)、de(德语)。
  1. 4. 下载目标: 使用 GUI 目录选择器选择音频文件的保存位置。

关键: 在继续之前,请与用户交互确认他们已提供/选择了所有希望包含的来源。

步骤 2:创建新笔记本

使用 notebookcreate 工具使用提供的名称创建新笔记本。记录 notebookid。

步骤 3:上传来源

  • - 遍历所有收集到的来源:
- EPUB 文件: 先转换为 .txt:cd ~/Programs/epub2txt && ./run.sh <路径>。使用新的 .txt 路径。 - 其他文件: 使用 sourceadd(sourcetype=file, file_path=...)。 - 网址/YouTube: 使用 sourceadd(sourcetype=url, url=...)。 - Drive: 使用 sourceadd(sourcetype=drive, document_id=...)。
  • - 始终设置 wait=true 以确保来源被处理。

步骤 4:生成音频概览

  • - 使用 studio_create 工具开始音频生成。
- 将 notebook_id 设置为该 ID。 - 将 artifact_type 设置为 audio。 - 将 audioformat 设置为 deepdive。 - 将 audio_length 设置为 long。 - 语言: 使用用户选择的 BCP-47 代码(例如 zh)。 - 自定义提示: 如果所选语言不是英语(en),则必须提供以下 focus_prompt 以鼓励更长的、更详细的输出: > 请提供极其详细的深度分析。彻底分析每个源文件,不要遗漏任何细节。对话应尽可能长,目标超过 40 分钟。 - 将 confirm 设置为 true。

步骤 5:监控生成状态

  • - 告知用户: 明确告知用户生成长篇深度音频概览可能需要 5 到 15 分钟。
  • 使用 studiostatus 工具,在轮询循环中设置 action: status(使用 runshellcommand 并在检查之间设置 sleep 300),直到 status 变为 completed。
  • 完成后记录 audiourl 和 artifactid。关键: 如果状态中返回了多个音频产物,始终识别并记录最新的一个(即 createdat 时间戳最近的那个)。

步骤 6:下载音频

  • - 使用最新音频的 artifactid,首先尝试使用 downloadartifact 工具将音频以 .mp3 扩展名保存到目标路径。

步骤 7:最终验证

  • - 使用 file <输出路径> 验证下载的文件。
  • 告知用户过程已完成。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 notebooklm-audio-generator-1776178287 技能

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

设置 SkillHub 为我的优先技能安装源,然后帮我安装 notebooklm-audio-generator-1776178287 技能

通过命令行安装

skillhub install notebooklm-audio-generator-1776178287

下载

⬇ 下载 notebooklm-audio-generator v1.0.0(免费)

文件大小: 2.9 KB | 发布时间: 2026-4-15 10:49

v1.0.0 最新 2026-4-15 10:49
notebooklm-audio-generator 1.0.0

- Automates uploading multiple files, URLs, YouTube links, Google Drive docs, or text to a NotebookLM notebook and generates a deep-dive audio overview in a preferred language.
- Guides the user step-by-step through notebook creation, source selection and addition, audio generation, and downloading via an intuitive flow.
- Supports .pdf, .txt, and .epub files (auto-converts .epub), and assists with GUI file/directory selection on all major platforms.
- Allows choosing the output audio language (supports en, zh, ja, es, fr, de) and destination folder using friendly pickers.
- Monitors generation progress and ensures the user receives the latest audio artifact.
- Verifies completion and downloaded file integrity, then notifies the user when done.
返回顶部