notebooklm
Original:🇺🇸 English
Translated
14 scripts
Interact with Google NotebookLM notebooks — chat with the AI, generate artifacts (slides, audio, video, mind maps, quizzes, flashcards, infographics, reports, data tables), manage sources (add URLs, YouTube, files, text), run research (fast/deep web research), and manage notes. Use when the user wants to query, create content from, or manage their NotebookLM notebooks and sources.
5installs
Added on
NPX Install
npx skill4agent add proyecto26/notebooklm-ai-plugin notebooklmTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →NotebookLM AI Plugin
Supports:
- Chat with Notebook AI (source-grounded Q&A with citations)
- Slide Deck generation (PDF/PPTX)
- Audio Overview (M4A -- deep dive, brief, critique, debate formats)
- Video Overview (MP4 -- classic, whiteboard, kawaii, anime, watercolor styles)
- Mind Map (HTML)
- Flashcards (HTML/JSON)
- Quiz (HTML/JSON)
- Infographic (PNG -- landscape, portrait, square)
- Report (Markdown -- briefing doc, study guide, blog post)
- Data Table (CSV / Google Sheets export)
- Source management (add URLs, YouTube, files, pasted text; list, delete)
- Fast/Deep web research with auto-import
- Notes management (create, update, delete, list)
- Notebook library management (add, list, search, activate)
Quick start
bash
# Authenticate first (opens Chrome for Google login)
npx -y bun scripts/main.ts login
# Add a notebook to library
npx -y bun scripts/main.ts notebooks add https://notebooklm.google.com/notebook/abc123 --name "My Research"
# Generate artifacts
npx -y bun scripts/main.ts generate slide_deck --notebook abc123 --output slides.pdf
npx -y bun scripts/main.ts generate audio --format deep_dive --length long
npx -y bun scripts/main.ts generate video --style whiteboard --output explainer.mp4
npx -y bun scripts/main.ts generate quiz --difficulty medium --quantity more --json
npx -y bun scripts/main.ts generate mind_map --output mindmap.png
npx -y bun scripts/main.ts generate infographic --orientation portrait --output info.png
npx -y bun scripts/main.ts generate report --format study_guide --output report.md
npx -y bun scripts/main.ts generate flashcards --difficulty easy --json
npx -y bun scripts/main.ts generate data_table --output data.csvCommands
Authentication
bash
npx -y bun scripts/main.ts loginFirst run opens Chrome for Google login. Cookies are cached for subsequent runs.
bash
# Force cookie refresh
npx -y bun scripts/main.ts login --forceNotebook Management
bash
# List all notebooks in library
npx -y bun scripts/main.ts notebooks list
# Add a notebook by URL
npx -y bun scripts/main.ts notebooks add <url> [--name <name>] [--description <desc>] [--topics <t1,t2>]
# Remove a notebook from library
npx -y bun scripts/main.ts notebooks remove <id>
# Set active notebook (used as default for generation)
npx -y bun scripts/main.ts notebooks activate <id>
# Search notebooks
npx -y bun scripts/main.ts notebooks search <query>Chat with Notebook AI
bash
# Ask a question about your notebook sources
npx -y bun scripts/main.ts chat --question "What are the key findings?" --notebook abc123
# Continue a conversation
npx -y bun scripts/main.ts chat --question "Tell me more about that" --conversation-id <id>
# Get JSON output with citations
npx -y bun scripts/main.ts chat --question "Summarize the methodology" --jsonSource Management
bash
# List all sources in a notebook
npx -y bun scripts/main.ts sources list --notebook abc123
# Add sources
npx -y bun scripts/main.ts sources add-url https://example.com/article --notebook abc123
npx -y bun scripts/main.ts sources add-youtube https://youtube.com/watch?v=xxx --notebook abc123
npx -y bun scripts/main.ts sources add-text --title "My Notes" --content "Important findings..." --notebook abc123
npx -y bun scripts/main.ts sources add-file ./paper.pdf --notebook abc123
# Delete a source
npx -y bun scripts/main.ts sources delete <sourceId> --notebook abc123Supported file types: PDF, TXT, MD, DOCX, CSV, EPUB, images (PNG, JPG, WEBP, etc.), audio/video files.
Research
bash
# Fast web research (finds relevant sources quickly)
npx -y bun scripts/main.ts research fast --query "latest AI agent frameworks" --notebook abc123
# Deep research (comprehensive report with analysis)
npx -y bun scripts/main.ts research deep --query "state of LLM reasoning" --notebook abc123
# Auto-import found sources into the notebook
npx -y bun scripts/main.ts research fast --query "topic" --notebook abc123 --import
# Check research status
npx -y bun scripts/main.ts research status --notebook abc123Notes
bash
# List notes in a notebook
npx -y bun scripts/main.ts notes list --notebook abc123
# Create a note
npx -y bun scripts/main.ts notes create --title "Key Takeaways" --content "1. Finding one..." --notebook abc123
# Update a note
npx -y bun scripts/main.ts notes update <noteId> --title "Updated Title" --content "New content" --notebook abc123
# Delete a note
npx -y bun scripts/main.ts notes delete <noteId> --notebook abc123Artifact Generation
bash
npx -y bun scripts/main.ts generate <type> [options]Types: , , , , , , , ,
slide_deckaudiovideomind_mapflashcardsquizinfographicreportdata_tableOptions
Global Options
| Option | Description |
|---|---|
| Notebook URL or library ID (defaults to active notebook) |
| Output file path (auto-named if omitted) |
| Custom instructions for generation |
| Output as JSON |
| Refresh cookies only, then exit |
| Show help |
Slide Deck Options
| Option | Description |
|---|---|
| Output format: |
Audio Overview Options
| Option | Description |
|---|---|
| Audio format: |
| Duration: |
| Language code (default: |
Video Overview Options
| Option | Description |
|---|---|
| Visual style: |
| Video format: |
Quiz Options
| Option | Description |
|---|---|
| Difficulty: |
| Number of questions: |
Flashcards Options
| Option | Description |
|---|---|
| Difficulty: |
| Number of cards: |
Infographic Options
| Option | Description |
|---|---|
| Layout: |
Report Options
| Option | Description |
|---|---|
| Report format: |
Data Table Options
| Option | Description |
|---|---|
| Output format: |
Artifact Types
| Type | Output Format | Description |
|---|---|---|
| PDF/PPTX | Presentation slides summarizing notebook sources |
| M4A | Audio overview in conversation format (deep dive, brief, critique, debate) |
| MP4 | Animated video overview with visual styles |
| PNG | Visual mind map of key concepts and relationships |
| HTML/JSON | Study flashcards generated from source material |
| HTML/JSON | Multiple-choice quiz with answer key |
| PNG | Visual summary infographic in various orientations |
| Markdown | Written report (briefing doc, study guide, blog post) |
| CSV/Sheets | Structured data extracted from sources |
Authentication
First run opens Chrome to authenticate with Google. Cookies are cached for subsequent runs. Uses CDP browser automation for the login flow, then direct batchexecute RPC calls for all operations.
bash
# Force cookie refresh
npx -y bun scripts/main.ts login --forceEnvironment variables
| Variable | Description |
|---|---|
| Data directory override |
| Cookie file path |
| Chrome profile directory |
| Default output directory |
Rate Limits
NotebookLM free tier limits:
| Resource | Limit |
|---|---|
| Audio/video overviews | 3 per day |
| Reports/flashcards/quizzes | 10 per day |
| Daily chats | 50 |
| Total notebooks | 100 |
| Sources per notebook | 50 |
Examples
Generate a slide deck from a specific notebook
bash
npx -y bun scripts/main.ts generate slide_deck \
--notebook https://notebooklm.google.com/notebook/abc123 \
--output presentation.pdfCreate an audio deep dive with custom instructions
bash
npx -y bun scripts/main.ts generate audio \
--format deep_dive \
--length long \
--instructions "Focus on the methodology section and compare approaches"Generate a whiteboard-style video overview
bash
npx -y bun scripts/main.ts generate video \
--style whiteboard \
--length medium \
--output explainer.mp4Create a quiz and get JSON output for integration
bash
npx -y bun scripts/main.ts generate quiz \
--difficulty hard \
--quantity more \
--json > quiz_data.jsonGenerate a portrait infographic
bash
npx -y bun scripts/main.ts generate infographic \
--orientation portrait \
--instructions "Highlight the three main findings" \
--output summary.pngExport structured data as CSV
bash
npx -y bun scripts/main.ts generate data_table \
--format csv \
--output extracted_data.csv