notebooklm-cliCommand-line interface to manage Google NotebookLM notebooks, sources, and generate audio, quizzes, reports, presentations, and visual study materials progra...
Install via ClawdBot CLI:
clawdbot install oconnell-carl/notebooklm-cliThis 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.
Use this skill when:
nlm login
Launches Chrome, navigates to NotebookLM, and extracts session cookies. Requires Google Chrome installed.
nlm notebook list
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"
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
| Command | Description |
|---------|-------------|
| nlm login | Authenticate with NotebookLM (opens Chrome) |
| nlm login --check | Verify current credentials |
| nlm auth status | Check session validity |
| nlm auth list | List all profiles |
| nlm auth delete | Delete a profile |
| nlm login --profile | Login to specific profile |
Sessions last ~20 minutes. Re-authenticate with nlm login if commands fail.
| Command | Description |
|---------|-------------|
| nlm notebook list | List 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 | Chat with sources |
| nlm notebook delete | Delete a notebook |
| Command | Description |
|---------|-------------|
| nlm source list | List sources in notebook |
| nlm source list | Show Drive sources with freshness |
| nlm source add | Add URL or YouTube source |
| nlm source add | Add pasted text |
| nlm source add | 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 | Sync Drive sources |
All generation commands require --confirm or -y:
| Command | Output |
|---------|--------|
| nlm audio create | Audio podcast overview |
| nlm report create | Briefing doc or study guide |
| nlm quiz create | Quiz questions |
| nlm flashcards create | Flashcards |
| nlm mindmap create | Mind map |
| nlm slides create | Slide deck |
| nlm infographic create | Infographic |
| nlm video create | Video overview |
| nlm data-table create | Data table extraction |
| Command | Description |
|---------|-------------|
| nlm studio status | List all generated artifacts |
| nlm studio delete | Delete an artifact |
| Command | Description |
|---------|-------------|
| nlm chat start | Start interactive REPL session |
| nlm chat configure | Configure chat goal and response style |
| nlm notebook query | One-shot question (no session) |
Chat REPL commands: /sources, /clear, /help, /exit
| Command | Description |
|---------|-------------|
| nlm research start "query" --notebook-id | Web search (~30s) |
| nlm research start "query" --notebook-id | Deep research (~5min) |
| nlm research start "query" --notebook-id | Search Google Drive |
| nlm research status | Check research progress |
| nlm research import | Import discovered sources |
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
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
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
nlm config show # Show current configuration
nlm config get <key> # Get specific setting
nlm config set <key> <value> # Update setting
For AI assistants, generate comprehensive documentation:
nlm --ai
Outputs 400+ lines covering all commands, authentication flow, error handling, task sequences, and automation tips.
Generated Mar 1, 2026
Students and researchers use the CLI to create notebooks from academic papers and articles, then generate study materials like quizzes, flashcards, and mind maps for exam preparation. They also produce audio podcasts for on-the-go review and reports to summarize findings efficiently.
Marketing teams aggregate sources from industry reports and competitor websites into notebooks, then generate slides, infographics, and videos for presentations or social media content. They use chat queries to extract key insights and data tables for data-driven campaigns.
HR departments compile training materials and company documents into notebooks, creating interactive quizzes, flashcards, and briefing documents for employee onboarding. They automate the sync of Drive sources to keep content updated and generate audio overviews for flexible learning.
Podcasters and journalists use the CLI to import articles and interviews as sources, then generate audio podcasts automatically for episode outlines or summaries. They leverage research features to discover new content and create infographics or videos to complement their media output.
Consultants gather client data and market research into notebooks, producing detailed reports, slides, and data tables for presentations. They use chat to query sources for quick answers during meetings and generate mind maps to visualize complex strategies for stakeholders.
Offer tiered subscriptions for access to advanced CLI features like deep research, unlimited content generation, and priority support. Target enterprises and educational institutions with custom pricing based on usage volume and integration needs.
Provide a free version with basic notebook management and limited generation, then charge for premium add-ons such as high-quality video creation, advanced analytics, or API access for automation. Upsell to individual users and small teams.
Sell enterprise licenses with custom integrations, dedicated support, and enhanced security features. Offer development services to tailor the CLI for specific workflows, such as automated reporting or compliance-driven content generation in regulated industries.
💬 Integration Tip
Integrate with existing workflows by using the CLI's JSON output for data pipelines and automating source additions via scripts to streamline content generation.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.