Command Palette

Search for a command to run...

Назад к скиллам
скилл № 48366

notebooklm

Programmatic access to Google NotebookLM via the notebooklm-py CLI and Python API. Use this skill whenever the user wants to create notebooks, add sources…

БесплатноБез исполняемых скриптов
julianobarbosaот julianobarbosa★ 18 звёзд на GitHub

Установить notebooklm в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

NotebookLM Automation

Unofficial Python CLI and API for Google NotebookLM (notebooklm-py). Provides full programmatic access including capabilities the web UI doesn't expose.

Prerequisites

  • Python 3.10+
  • Google account with NotebookLM access
  • One-time browser login via Playwright

Installation

# Install with browser login support
pip install "notebooklm-py[browser]"
playwright install chromium

# Linux only: also run
playwright install-deps chromium

Authentication

First-time setup requires browser login:

notebooklm login
# Opens Chromium → sign into Google → press Enter when done
# Session saved to ~/.notebooklm/storage_state.json

Without TLS inspection, verify auth using your existing trust settings:

notebooklm auth check --test

On a host behind TLS inspection, first install the inspection CA in the operating-system trust store and, if Chromium still rejects the inspected connection, in Chromium's trust store. The browser login flow does not use Python/Requests CA variables, so those variables cannot repair browser trust.

For CLI clients that honor Python/OpenSSL and Requests trust variables, substitute the operating system's actual CA-bundle path for <system-ca-bundle> and apply both values to every NotebookLM network command, including create, source add, research, chat, and generation:

SSL_CERT_FILE="<system-ca-bundle>" \
REQUESTS_CA_BUNDLE="<system-ca-bundle>" \
notebooklm auth check --test

For a multi-command workflow, export both variables in the shell that runs it instead. Do not disable certificate verification or assemble throwaway CA bundles.

For headless/CI environments, copy storage_state.json from a local machine or set NOTEBOOKLM_AUTH_JSON env var.

Environment Variables

Variable Description Default
NOTEBOOKLM_HOME Config directory ~/.notebooklm
NOTEBOOKLM_AUTH_JSON Inline auth JSON (CI/CD) —
NOTEBOOKLM_LOG_LEVEL DEBUG/INFO/WARNING/ERROR WARNING
NOTEBOOKLM_DEBUG_RPC Enable RPC debug (1) false
SSL_CERT_FILE Python/OpenSSL CA bundle; on TLS-inspection hosts, set to the OS trust bundle that contains the inspection CA Unset
REQUESTS_CA_BUNDLE Requests CA bundle; on TLS-inspection hosts, set it to the same bundle as SSL_CERT_FILE certifi bundle

Core Workflow

The typical workflow is: create notebook → add sources → generate content → download.

1. Notebook Management

notebooklm create "My Research"       # Create notebook
notebooklm list                        # List all notebooks
notebooklm use <id>                    # Set active notebook (supports partial ID)
notebooklm summary                     # AI summary of current notebook
notebooklm rename "New Title"          # Rename
notebooklm delete <id>                 # Delete

2. Adding Sources

Sources are auto-detected by type:

notebooklm source add "https://example.com/article"          # URL
notebooklm source add "https://youtube.com/watch?v=..."       # YouTube
notebooklm source add ./document.pdf                           # File (PDF, MD, DOCX, TXT, audio, video, images)
notebooklm source add-drive <drive-file-id> "Title"           # Google Drive
notebooklm source add-research "climate policy" --mode deep --import-all  # Research agent

Other source commands:

notebooklm source list                # List sources
notebooklm source fulltext <id>       # Get source full text
notebooklm source guide <id>          # AI-generated source guide
notebooklm source rename <id> "New"   # Rename
notebooklm source refresh <id>        # Re-fetch URL source
notebooklm source delete <id>         # Delete

3. Chat / Q&A

notebooklm ask "What are the key findings?" -s <source_id>
notebooklm ask "Compare sources" --json --save-as-note --note-title "Comparison"
notebooklm history                     # View chat history
notebooklm history --save              # Save history as note

4. Content Generation

All generate commands support: -s/--source (repeatable, limit to specific sources), --json, --language, --retry N.

Most are async — use --wait to block until complete.

Audio Overviews (Podcasts)

notebooklm generate audio "Focus on practical applications" \
  --format deep-dive \    # deep-dive | brief | critique | debate
  --length long \         # short | default | long
  --wait

Video Overviews

notebooklm generate video "Explain the architecture" \
  --format explainer \    # explainer | brief
  --style whiteboard \    # auto | classic | whiteboard | kawaii | anime | watercolor | retro-print | heritage | paper-craft
  --wait

Slide Decks

notebooklm generate slide-deck "Executive summary" \
  --format detailed \     # detailed | presenter
  --length default \      # default | short
  --wait

# Revise a specific slide
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл notebooklm?

Programmatic access to Google NotebookLM via the notebooklm-py CLI and Python API. Use this skill whenever the user wants to create notebooks, add sources (URLs, YouTube, PDFs, files), generate audio overviews/podcasts, videos, slide decks, quizzes, flashcards, infographics, reports, mind maps, or data tables from their research materials. Also use when the user mentions NotebookLM, wants to turn documents into podcasts, generate study materials, or automate any NotebookLM workflow — even if they don't explicitly say "NotebookLM". Triggers on: podcast from documents, audio overview, NotebookLM, notebook research, generate quiz from PDF, flashcards from notes, study materials, deep dive audio.

Как установить скилл notebooklm?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл notebooklm запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить notebooklm с