notebooklm-cli
Command-line interface to manage Google NotebookLM notebooks, sources, and generate audio, quizzes, reports, presentations, and visual study materials progra...
Command-line interface to manage Google NotebookLM notebooks, sources, and generate audio, quizzes, reports, presentations, and visual study materials progra...
Real data. Real impact.
Emerging
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
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.
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 |
|---|---|
| Authenticate with NotebookLM (opens Chrome) |
| Verify current credentials |
| Check session validity |
| List all profiles |
| Delete a profile |
| Login to specific profile |
Sessions last ~20 minutes. Re-authenticate with
nlm login if commands fail.
| Command | Description |
|---|---|
| List all notebooks |
| Create a new notebook |
| Get notebook details |
| AI-generated summary |
| Chat with sources |
| Delete a notebook |
| Command | Description |
|---|---|
| List sources in notebook |
| Show Drive sources with freshness |
| Add URL or YouTube source |
| Add pasted text |
| Add Google Drive document |
| AI summary of source |
| Get raw text content |
| List outdated Drive sources |
| Sync Drive sources |
All generation commands require
--confirm or -y:
| Command | Output |
|---|---|
| Audio podcast overview |
| Briefing doc or study guide |
| Quiz questions |
| Flashcards |
| Mind map |
| Slide deck |
| Infographic |
| Video overview |
| Data table extraction |
| Command | Description |
|---|---|
| List all generated artifacts |
| Delete an artifact |
| Command | Description |
|---|---|
| Start interactive REPL session |
| Configure chat goal and response style |
| One-shot question (no session) |
Chat REPL commands:
/sources, /clear, /help, /exit
| Command | Description |
|---|---|
| Web search (~30s) |
| Deep research (~5min) |
| Search Google Drive |
| Check research progress |
| 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.
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.