notebooklm-cli

0
0
Source

Comprehensive CLI for Google NotebookLM including notebooks, sources, audio podcasts, reports, quizzes, flashcards, mind maps, slides, infographics, videos, and data tables. Use when working with NotebookLM programmatically: managing notebooks/sources, generating audio overviews (podcasts), creating study materials (quizzes, flashcards), producing presentations (slides, infographics), or querying sources via chat.

Install

mkdir -p .claude/skills/notebooklm-cli && curl -L -o skill.zip "https://mcp.directory/api/skills/download/7662" && unzip -o skill.zip -d .claude/skills/notebooklm-cli && rm skill.zip

Installs to .claude/skills/notebooklm-cli

About this skill

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 <profile> --confirmDelete a profile
nlm login --profile <name>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 <id>Get notebook details
nlm notebook describe <id>AI-generated summary
nlm notebook query <id> "question"Chat with sources
nlm notebook delete <id> --confirmDelete a notebook

Source Management

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

Content Generation

All generation commands require --confirm or -y:

Media Types

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

Studio (Artifact Management)

CommandDescription
nlm studio status <notebook-id>List all generated artifacts
nlm studio delete <notebook-id> <artifact-id> --confirmDelete an artifact

Chat

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

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

Research

CommandDescription
nlm research start "query" --notebook-id <id>Web search (~30s)
nlm research start "query" --notebook-id <id> --mode deepDeep research (~5min)
nlm research start "query" --notebook-id <id> --source driveSearch Google Drive
nlm research status <notebook-id>Check research progress
nlm research import <notebook-id> <task-id>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

You might also like

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

9521,094

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

846846

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

571699

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

548492

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

673466

fastapi-templates

wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

514280

Stay ahead of the MCP ecosystem

Get weekly updates on new skills and servers.