← 返回
开发者工具

notebooklm-cli

Command-line interface to manage Google NotebookLM notebooks, sources, and generate audio, quizzes, reports, presentations, and visual study materials progra...
命令行工具,用于管理 Google NotebookLM 笔记本与来源,并以编程方式生成音频、测验、报告、演示文稿及可视化学习材料。
oconnell-carl
开发者工具 clawhub v0.1.0 1 版本 99044.9 Key: 无需
★ 4
Stars
📥 4,068
下载
💾 20
安装
1
版本
#audio#cli#google#latest#notebooklm#podcast

概述

NotebookLM CLI

Overview

This skill provides complete access to Google NotebookLM through a command-line interface. Manage notebooks, sources, and generate various content formats including audio podcasts, reports, quizzes, flashcards, mind maps, slides, infographics, videos, and data tables.

When to Use This Skill

Use this skill when:

  • Managing NotebookLM notebooks and sources programmatically
  • Generating audio overviews (podcasts) from notebook sources
  • Creating study materials: quizzes, flashcards, reports
  • Producing visual content: slides, infographics, mind maps, videos
  • Querying sources via chat or one-shot questions
  • Researching and importing new sources automatically

Quick Start

Authentication

nlm login

Launches Chrome, navigates to NotebookLM, and extracts session cookies. Requires Google Chrome installed.

List Notebooks

nlm notebook list

Create Notebook and Add Sources

nlm notebook create "My Research"
nlm source add <notebook-id> --url "https://example.com/article"
nlm source add <notebook-id> --text "Your content here" --title "My Notes"

Generate Content (All Types)

All generation commands require --confirm or -y:

nlm audio create <id> --confirm          # Podcast
nlm report create <id> --confirm         # Briefing doc or study guide
nlm quiz create <id> --confirm           # Quiz questions
nlm flashcards create <id> --confirm     # Flashcards
nlm mindmap create <id> --confirm        # Mind map
nlm slides create <id> --confirm         # Slide deck
nlm infographic create <id> --confirm    # Infographic
nlm video create <id> --confirm          # Video overview
nlm data-table create <id> "description" --confirm  # Data table

Authentication

CommandDescription
----------------------
nlm loginAuthenticate with NotebookLM (opens Chrome)
nlm login --checkVerify current credentials
nlm auth statusCheck session validity
nlm auth listList all profiles
nlm auth delete --confirmDelete a profile
nlm login --profile Login to specific profile

Sessions last ~20 minutes. Re-authenticate with nlm login if commands fail.

Notebook Management

CommandDescription
----------------------
nlm notebook listList all notebooks
nlm notebook create "Title"Create a new notebook
nlm notebook get Get notebook details
nlm notebook describe AI-generated summary
nlm notebook query "question"Chat with sources
nlm notebook delete --confirmDelete a notebook

Source Management

CommandDescription
----------------------
nlm source list List sources in notebook
nlm source list --driveShow Drive sources with freshness
nlm source add --url "..."Add URL or YouTube source
nlm source add --text "..." --title "..."Add pasted text
nlm source add --drive Add Google Drive document
nlm source describe AI summary of source
nlm source content Get raw text content
nlm source stale List outdated Drive sources
nlm source sync --confirmSync Drive sources

Content Generation

All generation commands require --confirm or -y:

Media Types

CommandOutput
-----------------
nlm audio create --confirmAudio podcast overview
nlm report create --confirmBriefing doc or study guide
nlm quiz create --confirmQuiz questions
nlm flashcards create --confirmFlashcards
nlm mindmap create --confirmMind map
nlm slides create --confirmSlide deck
nlm infographic create --confirmInfographic
nlm video create --confirmVideo overview
nlm data-table create "description" --confirmData table extraction

Studio (Artifact Management)

CommandDescription
----------------------
nlm studio status List all generated artifacts
nlm studio delete --confirmDelete an artifact

Chat

CommandDescription
----------------------
nlm chat start Start interactive REPL session
nlm chat configure Configure chat goal and response style
nlm notebook query "question"One-shot question (no session)

Chat REPL commands: /sources, /clear, /help, /exit

Research

CommandDescription
----------------------
nlm research start "query" --notebook-id Web search (~30s)
nlm research start "query" --notebook-id --mode deepDeep research (~5min)
nlm research start "query" --notebook-id --source driveSearch Google Drive
nlm research status Check research progress
nlm research import Import discovered sources

Aliases (UUID Shortcuts)

nlm alias set myproject <uuid>           # Create alias
nlm notebook get myproject               # Use alias
nlm alias list                           # List all aliases
nlm alias get myproject                  # Resolve to UUID
nlm alias delete myproject               # Remove alias

Output Formats

Most list commands support multiple formats:

nlm notebook list                # Rich table (default)
nlm notebook list --json         # JSON output
nlm notebook list --quiet        # IDs only (for scripting)
nlm notebook list --title        # "ID: Title" format
nlm notebook list --full         # All columns

Profiles (Multiple Accounts)

nlm login --profile work         # Login to profile
nlm notebook list --profile work # Use profile
nlm auth list                    # List all profiles
nlm auth delete work --confirm   # Delete profile

Configuration

nlm config show                  # Show current configuration
nlm config get <key>             # Get specific setting
nlm config set <key> <value>     # Update setting

AI Documentation

For AI assistants, generate comprehensive documentation:

nlm --ai

Outputs 400+ lines covering all commands, authentication flow, error handling, task sequences, and automation tips.

References

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-28 11:26 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,726
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 425 📥 118,019
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,786