关于 notebooklm-superskill
notebooklm-superskill 可从 NotebookLM 笔记本生成演示文稿、音频、信息图和视频,适合将研究内容整理为面向不同受众的多种材料。
主要功能
- 01按受众定制幻灯片
- 02生成播客风格音频概览
- 03制作研究信息图
- 04生成视频讲解
- 05通过 run.py 执行脚本
适用场景
- 01准备投资者或高管演示文稿
- 02创建多语言音频摘要
- 03将研究转为社交媒体图片
- 04制作培训或说明视频
安装
复制下面的命令,在终端中运行。
$
npx skills add https:/ / github.com/ ainergiz/ notebooklm-superskill --skill notebooklm-superskill安装后在 Claude Code 中输入/notebooklm-superskill确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
requirements.txtREADME.md.gitignorereferences/slides_guide.mdscripts/__init__.pyauth_manager.pybrowser_factory.pydownload_handler.pyconfig.pyelement_finder.pyartifact_monitor.pygenerate_audio.pygenerate_infographic.pygenerate_video.pyrun.pystealth_utils.pygenerate_slides.pysetup_environment.py详细介绍
NotebookLM SuperSkill
从 NotebookLM 笔记本生成专业内容:幻灯片、播客、信息图和视频。
何时使用此 Skill
在用户希望执行以下操作时使用此 Skill:
- 为不同受众(技术人员、投资者、客户、高管、初学者)生成幻灯片
- 创建 AI 播客风格的音频概览
- 根据研究制作可视化信息图
- 生成视频概览或讲解视频
- 自动化 NotebookLM 内容创建
重要:始终使用 run.py 包装器
所有脚本都必须通过 run.py 运行,以确保正确设置虚拟环境:
python scripts/run.py <script_name> [args...]
身份验证(一次性设置)
首次使用前,请通过 Google 进行身份验证:
# Interactive login (browser opens)
python scripts/run.py auth_manager.py setup
# Check status
python scripts/run.py auth_manager.py status
# Validate credentials work
python scripts/run.py auth_manager.py validate
快速参考
1. 幻灯片
生成针对不同受众定制的演示幻灯片。
# Single slide deck
python scripts/run.py generate_slides.py \
--notebook-url "https://notebooklm.google.com/notebook/..." \
--audience technical \
--format detailed \
--length default
# Multiple audiences at once
python scripts/run.py generate_slides.py \
--notebook-url URL \
--audiences technical,investor,customer
选项:
| 选项 | 值 | 说明 |
|---|---|---|
--audience | technical, investor, customer, executive, beginner | 目标受众 |
--audiences | comma-separated | 生成多套幻灯片 |
--format | detailed, presenter | 幻灯片格式 |
--length | short, default, long | 幻灯片数量 |
--source | path | 先上传源文件 |
--prompt | text | 自定义提示词(覆盖受众设置) |
2. 音频概览(播客)
生成 AI 播客风格的深入讨论。
python scripts/run.py generate_audio.py \
--notebook-url URL \
--format deep-dive \
--language en-US
选项:
| 选项 | 值 | 说明 |
|---|---|---|
--format | deep-dive, brief, critique, debate | 播客风格 |
--language | en-US, es-ES, fr-FR, de-DE, ja-JP, etc. | 支持 80 多种语言 |
--prompt | text | 自定义指令 |
**注意:**音频生成需要 5-10 分钟。
3. 信息图
为不同平台生成可视化信息图。
python scripts/run.py generate_infographic.py \
--notebook-url URL \
--orientation landscape \
--detail standard
选项:
| 选项 | 值 | 说明 |
|---|---|---|
--orientation | square, portrait, landscape | 宽高比 |
--detail | concise, standard, detailed | 信息密度 |
--prompt | text | 自定义指令 |
方向:
square- 1:1,适用于社交媒体帖子portrait- 9:16,适用于 Instagram Stories、TikToklandscape- 16:9,适用于 LinkedIn、演示文稿
4. 视频概览
使用视觉主题生成讲解视频。
python scripts/run.py generate_video.py \
--notebook-url URL \
--format explainer \
--theme futuristic
选项:
| 选项 | 值 | 说明 |
|---|---|---|
--format | brief, explainer | 视频时长 |
--theme | retro-90s, futuristic, corporate, minimal | 视觉风格 |
--custom-theme | text | 自定义主题描述 |
--prompt | text | 自定义指令 |
**注意:**视频生成需要 10-15 分钟。
决策流程
-
用户想要幻灯片? → 使用
generate_slides.py- 多个受众?使用
--audiences标志 - 单个受众?使用
--audience标志
- 多个受众?使用
-
用户想要播客/音频? → 使用
generate_audio.py- 非英语内容?指定
--language - 快速摘要?使用
--format brief
- 非英语内容?指定
-
用户想要可视化摘要? → 使用
generate_infographic.py- 社交媒体?考虑使用
--orientation portrait - 演示文稿?使用
--orientation landscape
- 社交媒体?考虑使用
-
用户想要视频? → 使用
generate_video.py- 快速概览?使用
--format brief - 培训材料?使用
--format explainer
- 快速概览?使用
常用选项
所有脚本都支持:
--output DIR- 输出目录(默认:当前目录)--headless- 在不显示浏览器的情况下运行--help- 显示详细帮助
示例工作流
投资者推介材料
# Generate investor slides
python scripts/run.py generate_slides.py --notebook-url URL --audience investor
# Create brief overview podcast
python scripts/run.py generate_audio.py --notebook-url URL --format brief
# Make landscape infographic for deck
python scripts/run.py generate_infographic.py --notebook-url URL --orientation landscape
培训内容
# Beginner-friendly slides
python scripts/run.py generate_slides.py --notebook-url URL --audience beginner --length long
# Deep dive podcast
python scripts/run.py generate_audio.py --notebook-url URL --format deep-dive
# Explainer video
python scripts/run.py generate_video.py --notebook-url URL --format explainer
社交媒体内容
# Portrait infographic for stories
python scripts/run.py generate_infographic.py --notebook-url URL --orientation portrait --detail concise
# Brief video with trendy theme
python scripts/run.py generate_video.py --notebook-url URL --format brief --theme retro-90s
故障排除
身份验证问题:
python scripts/run.py auth_manager.py reauth
未找到脚本:
- 确保你位于 Skill 目录中
- 使用完整路径:
python /path/to/scripts/run.py ...
超时错误:
- 音频/视频生成需要时间(5-15 分钟)
- 使用
--headless加快执行速度 - 检查笔记本是否包含足够的源内容
其他资源
有关各项功能的详细指南,请参阅:
评论
支持 Markdown