Install, authenticate, and operate Gemini Notebook through the notebooklm-py CLI or async Python API.

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.2K
GitHub stars
20.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers notebook and source management, grounded chat and research, and artifact generation or download
  • Requires Python 3.10+ and an authenticated session checked with notebooklm auth check --test --json
  • Enforces explicit notebook IDs, source wait before chat, and confirmation before destructive or downloading actions
  • Designed for agent workflows and headless automation that need inspectable, ID-pinned operations

Install

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

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

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.

Details

Repository
github.com/teng-lin/notebooklm-py
Categories
Research & Academic, Productivity & Notes
First seen
May 16, 2026

More from teng-lin/notebooklm-py

All 2

Similar to Notebooklm

More Research & Academic