Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

notebooklmNotebookLM 笔记研究

Agent Skill

notebooklm 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

220

周安装

9

GitHub Stars

80

下载量

71
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:notebooklm(NotebookLM 笔记研究)
来源仓库:https://github.com/robonuggets/notebooklm-skill
仓库路径:skills/notebooklm
安装命令:
npx skills add https://github.com/robonuggets/notebooklm-skill --skill notebooklm
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/robonuggets/notebooklm-skill --skill notebooklm

简介

notebooklm 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 当前分类为研究检索,暂无更多功能细节。

SKILL.md

NotebookLM Skill by RoboNuggets

Connect your AI agent to Google NotebookLM. Add sources automatically, query your notebooks, generate branded slide decks, and keep your session alive without manual re-login.

Built on top of notebooklm-py by Teng Lin.


Prerequisites

1. Install notebooklm-py

pip install "notebooklm-py[browser]"

The [browser] extra installs Playwright, needed for the one-time login. All queries run without a browser after that.

If pip is unavailable or the package is outdated, install from a specific GitHub release tag:

# Get the latest release tag
LATEST_TAG=$(curl -s https://api.github.com/repos/teng-lin/notebooklm-py/releases/latest | grep '"tag_name"' | cut -d'"' -f4)
pip install "git+https://github.com/teng-lin/notebooklm-py@${LATEST_TAG}"
Do NOT install from git+https://github.com/teng-lin/notebooklm-py without a tag — the main branch may contain unstable code.

2. Install Playwright's Chromium browser (one-time)

playwright install chromium

Auth Setup (One-Time)

python scripts/nlm.py login

This opens a browser window. Sign into your Google account, wait until you see the NotebookLM homepage, then press ENTER in the terminal. Your session is saved to ~/.notebooklm/storage_state.json.

After this, your agent can access NotebookLM without any manual login.

Verify it worked

python scripts/nlm.py list

You should see your notebooks listed.


Core Commands

All commands run through python scripts/nlm.py.

Notebooks

# List all notebooks
python scripts/nlm.py list

# Create a new notebook
python scripts/nlm.py create "My Research"

# Describe a notebook (AI summary of contents)
python scripts/nlm.py describe NOTEBOOK_ID

Sources

# Add a URL (articles, YouTube videos, etc.)
python scripts/nlm.py add-source --notebook-id NOTEBOOK_ID --url "https://example.com/article"

# Add a local file (PDF, markdown, txt, docx)
python scripts/nlm.py add-source --notebook-id NOTEBOOK_ID --file "/path/to/doc.pdf"

# Add raw text
python scripts/nlm.py add-source --notebook-id NOTEBOOK_ID --title "My Notes" --text "Content here..."

# List sources in a notebook
python scripts/nlm.py sources --notebook-id NOTEBOOK_ID

Querying

# Ask a question (set active notebook first, or pass --notebook-id)
python scripts/nlm.py ask "What are the main concepts?" --notebook-id NOTEBOOK_ID

Local Library (save notebook metadata)

# Add to local library with a name and description
python scripts/nlm.py library-add --notebook-id NOTEBOOK_ID --name "Claude Docs" --description "All Claude documentation"

# Set as the active (default) notebook
python scripts/nlm.py library-activate claude-docs

# List library
python scripts/nlm.py library-list

Audio & Reports

# Generate deep-dive audio (podcast style)
python scripts/nlm.py generate-audio --notebook-id NOTEBOOK_ID

# Generate a briefing doc
python scripts/nlm.py generate-report --notebook-id NOTEBOOK_ID

# Generate a study guide
python scripts/nlm.py generate-report --notebook-id NOTEBOOK_ID --format study_guide

# Generate a blog post
python scripts/nlm.py generate-report --notebook-id NOTEBOOK_ID --format blog_post

Artifacts

# List all generated artifacts (audio, reports, etc.)
python scripts/nlm.py artifacts --notebook-id NOTEBOOK_ID

Slide Generation

Before generating slides — ask the user for their brand colors

Agent instruction: Before running any slide generation, always ask the user:

"What are your brand colors? I need: - Primary color (main accent — e.g. #FF6B2C) - Secondary color (supporting — e.g. #FFBE2E) - Background color (e.g. #000000 for black, #1A1A2E for dark navy) - Text color (e.g. #F5F5F5 for off-white) If you don't have hex codes, describe them and I'll pick the closest match."

Once you have the colors, substitute them into the slide prompt template below.


Slide Prompt Template (Blackboard Style)

Use this as a Focus Prompt inside NotebookLM (Studio → Focus). The agent fills in the placeholders before sending.

Create a [NUMBER]-slide presenter deck for "[VIDEO TITLE]."

Design: Dark blackboard on [BACKGROUND_COLOR]. TITLES: bold slab serif (Rockwell or Roboto Slab), stamped/typeset, color [PRIMARY_COLOR]. Body text: handwritten chalk-style, color [TEXT_COLOR]. Each slide features one key glossy 3D object that floats above the chalk background. Chalk dashed connector lines link 3D elements to surrounding sketch labels. Every slide: dashed border in [PRIMARY_COLOR] + [CORNER_ICON] icon top-right corner. [PRIMARY_COLOR] PRIMARY, [SECONDARY_COLOR] SECONDARY, [TEXT_COLOR] text, [BACKGROUND_COLOR] background.

Slide 1: [SLIDE_1_DESCRIPTION]
Slide 2: [SLIDE_2_DESCRIPTION]
...

CRITICAL: Every slide — slab serif TITLE in [PRIMARY_COLOR] at top, dashed [PRIMARY_COLOR] border, [CORNER_ICON] icon top-right. Chalk body text. [BACKGROUND_COLOR] background. One 3D object per slide. [PRIMARY_COLOR] PRIMARY.

Placeholders to fill:

PlaceholderWhat to fill
[NUMBER]How many slides
[VIDEO TITLE]The topic/title of the content
[PRIMARY_COLOR]User's primary brand color (hex)
[SECONDARY_COLOR]User's secondary brand color (hex)
[BACKGROUND_COLOR]Background color (hex)
[TEXT_COLOR]Text color (hex)
[CORNER_ICON]Icon that appears on every slide (e.g. lightning bolt, star, logo description)
[SLIDE_N_DESCRIPTION]Per-slide: what the slide covers, what 3D object appears, what labels surround it

Per-slide description format

Each slide description should be ~150 characters. Be specific:

Slide 2: [TOPIC]. 3D [OBJECT] floating [POSITION]. Chalk labels: "[LABEL 1]," "[LABEL 2]," "[LABEL 3]." [PRIMARY_COLOR] dashed arrow pointing to [KEY ELEMENT].

3D object suggestions by topic:

  • Data / knowledge → glowing books or filing cabinet
  • Actions / automation → terminal / monitor
  • Time / scheduling → clock or calendar
  • Mobile / notifications → smartphone
  • AI / thinking → brain model
  • Cloud / remote → glowing cloud
  • Steps / process → numbered podium

How to submit the focus prompt

Once filled in, run:

python scripts/nlm.py generate-report --notebook-id NOTEBOOK_ID --format custom --prompt "YOUR FILLED PROMPT HERE"

Or paste it directly into NotebookLM → Studio → Focus prompt.

Note: NotebookLM has a ~5,000 character limit on focus prompts. If your prompt is too long, shorten the per-slide descriptions.

Keeping Auth Alive (Optional)

Google session cookies expire after 7–30 days. There are two approaches:

Option A — Simple (re-login when it breaks)

When you get an auth error, just run:

python scripts/nlm.py login

Takes 30 seconds. Fine for occasional use.

Option B — Headless Auto-Refresh (recommended for agent setups)

scripts/refresh_auth.py silently refreshes your cookies using the persistent browser profile — no browser window, no manual steps. Run it every few days before cookies expire.

python scripts/refresh_auth.py          # Refresh cookies
python scripts/refresh_auth.py --check  # Just check if they're valid

To automate this, add a scheduled task or cron job:

# Cron example — refresh every 3 days at 5:30am
30 5 */3 * * python /path/to/scripts/refresh_auth.py

For Claude Code agent setups, add this to your agent's cron-registry.json:

{
  "id": "notebooklm-auth-refresh",
  "name": "NotebookLM cookie refresh (every 3 days)",
  "cron": "30 5 */3 * *",
  "prompt": "Run: python /path/to/scripts/refresh_auth.py — if it fails, alert the user to run notebooklm login manually.",
  "enabled": true
}
How it works: Your first login saves a full browser profile to ~/.notebooklm/browser_profile/. Google keeps this session alive much longer than raw cookies because the browser handles token rotation automatically. The refresh script uses this profile headlessly to export fresh cookies — no human interaction needed.

Troubleshooting

Auth error / "Authentication expired" Run python scripts/refresh_auth.py first. If that fails, run python scripts/nlm.py login to do a full re-login.

nlm command not found in terminal Use python scripts/nlm.py instead. This is a Windows PATH issue with certain Python installations (common with Windows Store Python). The scripts work fine when called with python directly.

"No notebook specified" Either pass --notebook-id YOUR_ID or set an active notebook first:

python scripts/nlm.py library-activate your-notebook-name

Slide generation times out NotebookLM can take 3–6 minutes to generate custom reports. If the command times out, check your artifacts list — the generation likely completed on NotebookLM's side:

python scripts/nlm.py artifacts --notebook-id NOTEBOOK_ID

Playwright / Chromium not found Run playwright install chromium to install the browser.

Windows: "UnicodeEncodeError" on output Set PYTHONUTF8=1 in your environment, or run $env:PYTHONUTF8="1" in PowerShell before running the script.


Credits

  • notebooklm-py by Teng Lin — the library that makes this possible
  • This skill by RoboNuggets — CLI wrapper, headless refresh, slide generation workflow

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.56%
按下载量换算27

Claude

29.42%
按下载量换算21

Cursor

20.53%
按下载量换算15

Gemini CLI

10%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills