Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

notebooklm

БесплатноБез исполняемых скриптовНе проверен

Guide for managing Google NotebookLM from the command line using nlm CLI. Use when the user wants to create notebooks, manage sources, generate audio…

ronnycodingот ronnycoding★ 20 звёзд на GitHub

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

NotebookLM CLI Guide

This skill helps you interact with Google's NotebookLM from the command line using the nlm CLI tool. Manage notebooks, sources, notes, and generate audio overviews efficiently.

Quick Start

Basic workflow for using NotebookLM CLI:

  1. Authenticate - Set up credentials with nlm auth
  2. Create notebook - Start with nlm create <title>
  3. Add sources - Populate with nlm add <notebook-id> <input>
  4. Generate content - Create guides, outlines, or audio with generation commands
  5. Manage notes - Organize with note commands
  6. Monitor - Check analytics and source freshness

What is NotebookLM CLI?

nlm is a command-line interface for Google's NotebookLM that enables:

  • Notebook management: Create, list, and delete research notebooks
  • Source operations: Add, remove, rename, and refresh content sources
  • Note management: Create, edit, and organize notes within notebooks
  • Audio generation: Create and share AI-generated audio overviews
  • Content generation: Generate guides, outlines, and sections
  • Analytics: Monitor notebook usage and engagement
  • Batch operations: Execute multiple commands efficiently

Authentication

Initial Setup

Before using nlm commands, authenticate with Google:

nlm auth

This command:

  • Opens browser for Google OAuth flow
  • Requests NotebookLM API permissions
  • Stores credentials securely locally
  • Enables subsequent commands

Re-authentication: Run nlm auth again if:

  • Credentials expire
  • Switching Google accounts
  • Permission errors occur

Notebook Commands

List Notebooks

View all your notebooks:

nlm list
# or shorthand
nlm ls

Output includes:

  • Notebook ID (for use in other commands)
  • Title
  • Creation date
  • Source count
  • Last modified timestamp

Filtering examples:

# List recent notebooks
nlm ls | head -n 10

# Search by title pattern
nlm ls | grep "Research"

Create Notebook

Create a new notebook:

nlm create "Research Project Title"

Best practices:

  • Use descriptive, searchable titles
  • Include project or topic identifiers
  • Consider date prefixes for temporal organization: "2024-Q4: Market Analysis"

Returns:

  • Notebook ID (save this for subsequent operations)
  • Creation confirmation

Example workflow:

# Create and capture ID
NOTEBOOK_ID=$(nlm create "AI Ethics Research" | grep -oE '[a-f0-9-]{36}')
echo "Created notebook: $NOTEBOOK_ID"

Delete Notebook

Remove a notebook permanently:

nlm rm <notebook-id>

Warning: This action is irreversible and deletes:

  • All sources in the notebook
  • All notes
  • Generated content
  • Audio overviews

Safe deletion workflow:

# Review before deletion
nlm analytics <notebook-id>
nlm sources <notebook-id>

# Confirm and delete
nlm rm <notebook-id>

Notebook Analytics

View usage statistics:

nlm analytics <notebook-id>

Metrics include:

  • Total views
  • Source interactions
  • Note creation count
  • Audio overview plays
  • Recent activity timestamps
  • Engagement trends

Use cases:

  • Track research progress
  • Identify popular content
  • Monitor collaboration activity
  • Audit notebook usage

Source Commands

List Sources

View all sources in a notebook:

nlm sources <notebook-id>

Output details:

  • Source ID
  • Source name/title
  • Type (URL, PDF, text, etc.)
  • Upload date
  • Status (processing, ready, error)
  • Word count or size

Sorting and filtering:

# Most recent sources
nlm sources <notebook-id> | head -n 5

# Find specific source type
nlm sources <notebook-id> | grep "PDF"

Add Source

Add content to a notebook:

nlm add <notebook-id> <input>

Supported input types:

URL/webpage:

nlm add <notebook-id> "https://example.com/article"

Local file:

nlm add <notebook-id> "/path/to/document.pdf"
nlm add <notebook-id> "/path/to/notes.txt"

Text content:

nlm add <notebook-id> "Direct text content to add as source"

Multiple sources:

# Add multiple URLs
for url in $(cat urls.txt); do
  nlm add <notebook-id> "$url"
  sleep 2  # Rate limiting
done

Supported file formats:

  • PDF documents
  • Text files (.txt, .md)
  • Word documents (.docx)
  • Webpages (URLs)
  • Google Docs (share links)

Remove Source

Delete a source from notebook:

nlm rm-source <notebook-id> <source-id>

Workflow:

# List sources to find ID
nlm sources <notebook-id>

# Remove specific source
nlm rm-source <notebook-id> <source-id>

# Verify removal
nlm sources <notebook-id>

Note: This does not affect notes or other sources referencing the deleted source.

Rename Source

Change source display name:

nlm rename-source <source-id> "New Source Name"

Best practices:

  • Use descriptive names: "Q3 2024 Financial Report"
  • Include version info: `"API Documentation v2.
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

FAQ

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

Guide for managing Google NotebookLM from the command line using nlm CLI. Use when the user wants to create notebooks, manage sources, generate audio overviews, or mentions NotebookLM, nlm, notebook management, or research organization.

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

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

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

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

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

Сравнить notebooklm с