This gives you programmatic control over Google NotebookLM, including features not exposed in the web UI. You can create notebooks, add sources from URLs, YouTube, PDFs, or media files, generate artifacts like podcasts and quizzes, and download everything in multiple formats. The authentication story is thorough: browser OAuth, cookie extraction for headless environments, profile management for parallel agents, and a refresh command to keep sessions alive without full re-login. Intent detection means you can just say "create a podcast about X" without invoking it explicitly. The installation guide is unusually detailed about Python version gotchas with the cookies extra. If you're building workflows that need to orchestrate NotebookLM at scale or access generation types the UI doesn't expose, this is the API wrapper to reach for.

install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
5
skills.sh installs
10.1K
GitHub stars
20.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add teng-lin/notebooklm-py --skill notebooklm --agent claude-code

Installs into .claude/skills of the current project.

Files

Gemini Notebook Automation

Use the notebooklm CLI for agent workflows. Prefer --json and explicit IDs so every operation is inspectable and safe under concurrency. Use the typed async Python API only when the user requests application code or the CLI cannot express the workflow. The readiness, identity, authorization, and credential-handling rules below apply to both interfaces.

Setup and Authentication

Requires Python 3.10+. Install the package in the user's existing environment; do not create a separate environment unless requested:

pip install "notebooklm-py[browser]"
pip install "notebooklm-py[cookies]"  # optional browser-cookie extraction

If system pip reports externally-managed-environment, do not use --break-system-packages. For CLI-only use, offer uv tool install "notebooklm-py[browser]" or the equivalent pipx command; for application code, use the user's active project environment.

Sponsors

Details

Repository
github.com/teng-lin/notebooklm-py
Categories
Backend & APIs, Video & Audio Editing
First seen
May 16, 2026

More from teng-lin/notebooklm-py

All 2
1anthropics avatarcode-reviewanthropics/knowledge-work-pluginsReview code changes for security, performance, and correctness. Trigger with a PR URL or diff, "review this before I merge", "is this code safe?", or when check10.1Kskills.sh installs
2nomadamas avatarlh-notice-searchnomadamas/k-skillSearch official LH 청약 (Korea Land & Housing Corporation lease/subscription) 공고 lists through k-skill-proxy. Use when a user asks about 청년/행복/영구/국민/매입/전세임대, 분양주택10.1Kskills.sh installs
3langchain-ai avatarmanaged-deep-agentslangchain-ai/langchain-skillsINVOKE THIS SKILL when building, testing, or deploying Managed Deep Agents in LangSmith with the mda CLI. Covers the code-first, file-based project layout; defi10Kskills.sh installs
4shopify avatarshopify-customershopify/shopify-ai-toolkitThe Customer Account API allows customers to access their own data including orders, payment methods, and addresses.10Kskills.sh installs
5shopify avatarshopify-partnershopify/shopify-ai-toolkitThe Partner API lets you programmatically access data about your Partner Dashboard, including your apps, themes, and affiliate referrals.9.7Kskills.sh installs
6aws avataraws-billing-and-cost-managementaws/agent-toolkit-for-awsAnalyze AWS costs, find savings, manage budgets, evaluate Savings Plans and Reserved Instances, right-size EC2/Lambda/RDS/EBS with Compute Optimizer, look up se9.6Kskills.sh installs