mcpField
N
notebooklm-superskill

notebooklm-superskill

github.com/ainergiz创意与媒体351 次安装43 周前更新
代码仓库

关于 notebooklm-superskill

notebooklm-superskill 可从 NotebookLM 笔记本生成演示文稿、音频、信息图和视频,适合将研究内容整理为面向不同受众的多种材料。

主要功能

  1. 01按受众定制幻灯片
  2. 02生成播客风格音频概览
  3. 03制作研究信息图
  4. 04生成视频讲解
  5. 05通过 run.py 执行脚本

适用场景

  1. 01准备投资者或高管演示文稿
  2. 02创建多语言音频摘要
  3. 03将研究转为社交媒体图片
  4. 04制作培训或说明视频

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/ainergiz/notebooklm-superskill --skill notebooklm-superskill

安装后在 Claude Code 中输入/notebooklm-superskill确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

requirements.txt
README.md
.gitignore
references/
slides_guide.md
scripts/
__init__.py
auth_manager.py
browser_factory.py
download_handler.py
config.py
element_finder.py
artifact_monitor.py
generate_audio.py
generate_infographic.py
generate_video.py
run.py
stealth_utils.py
generate_slides.py
setup_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

选项:

选项值说明
--audiencetechnical, investor, customer, executive, beginner目标受众
--audiencescomma-separated生成多套幻灯片
--formatdetailed, presenter幻灯片格式
--lengthshort, default, long幻灯片数量
--sourcepath先上传源文件
--prompttext自定义提示词(覆盖受众设置)
2. 音频概览(播客)

生成 AI 播客风格的深入讨论。

python scripts/run.py generate_audio.py \
  --notebook-url URL \
  --format deep-dive \
  --language en-US

选项:

选项值说明
--formatdeep-dive, brief, critique, debate播客风格
--languageen-US, es-ES, fr-FR, de-DE, ja-JP, etc.支持 80 多种语言
--prompttext自定义指令

**注意:**音频生成需要 5-10 分钟。

3. 信息图

为不同平台生成可视化信息图。

python scripts/run.py generate_infographic.py \
  --notebook-url URL \
  --orientation landscape \
  --detail standard

选项:

选项值说明
--orientationsquare, portrait, landscape宽高比
--detailconcise, standard, detailed信息密度
--prompttext自定义指令

方向:

  • square - 1:1,适用于社交媒体帖子
  • portrait - 9:16,适用于 Instagram Stories、TikTok
  • landscape - 16:9,适用于 LinkedIn、演示文稿
4. 视频概览

使用视觉主题生成讲解视频。

python scripts/run.py generate_video.py \
  --notebook-url URL \
  --format explainer \
  --theme futuristic

选项:

选项值说明
--formatbrief, explainer视频时长
--themeretro-90s, futuristic, corporate, minimal视觉风格
--custom-themetext自定义主题描述
--prompttext自定义指令

**注意:**视频生成需要 10-15 分钟。

决策流程

  1. 用户想要幻灯片? → 使用 generate_slides.py

    • 多个受众?使用 --audiences 标志
    • 单个受众?使用 --audience 标志
  2. 用户想要播客/音频? → 使用 generate_audio.py

    • 非英语内容?指定 --language
    • 快速摘要?使用 --format brief
  3. 用户想要可视化摘要? → 使用 generate_infographic.py

    • 社交媒体?考虑使用 --orientation portrait
    • 演示文稿?使用 --orientation landscape
  4. 用户想要视频? → 使用 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