Skip to content
Agents tracked: 504 Releases (7d): 733 Agent status: 2 with issuesSince last limit reset: Claude 12d · Codex 10d For AI agents: Markdown Updated Nov 23, 2026

notebooklm-py: drive Google NotebookLM from your assistant

teng-lin/notebooklm-py

Your assistant can work Google NotebookLM (now called Gemini Notebook) for you from the command line. It makes notebooks, adds your links and files, asks questions with cited answers, and makes podcasts, slides, quizzes or reports, then saves them to your computer. It is an unofficial tool that signs in as your Google account.

Pack description by its author: “Your assistant can work Google NotebookLM (now called Gemini Notebook) for you from the command line. It makes notebooks, adds your links and files, asks questions with cited answers, and makes podcasts, slides, quizzes or reports, then saves them to your computer. It is an unofficial tool that signs in as your Google account.”

Design and frontendGives your assistant new abilities with scriptsKnowledge and rules for your assistant

GitHub

Checked against the pack's files at commit 4f91416, on Nov 2, 2026. Tap a verdict to see its source.How we checkedReport an error

The pack has changed since AgentGid checked it on Nov 2, 2026. Some details may be out of date.

Gives your assistant new abilities with scriptsKnowledge and rules for your assistant

Good for you if

  • You use NotebookLM and want your assistant to do the clicking for you
  • You want many sources added, or many podcasts, quizzes or slide decks made and saved in one go
  • You want cited answers from your own documents inside Claude Code or Codex

Probably not for you if

  • You want the general Gemini model, not NotebookLM notebooks
  • You do not want a tool that keeps your Google sign-in in a file on your computer

What its answer looks like

The skill's source-to-podcast workflow

notebooklm create "Research: topic" --json
notebooklm source add <input> -n {notebook_id} --json
notebooklm source wait {source_id} -n {notebook_id} --timeout 600
notebooklm generate audio "instructions" -n {notebook_id} -s {source_id} --json
notebooklm artifact wait {artifact_id} -n {notebook_id} --timeout 1200
notebooklm download audio ./podcast.m4a -a {artifact_id} -n {notebook_id}

The skill's own example, from SKILL.md. More examples

What you'll notice

  • Before work starts, your assistant runs a sign-in check and asks you to log in to Google in a browser if it fails
  • It asks before deleting, making long podcasts or videos, or saving files
  • Downloads land as files: audio, video, slide PDFs, quiz files, tables, mind maps
  • Your sign-in is kept in a .notebooklm folder in your home folder

What you need

  • Claude Code, Codex, OpenClaw
  • Free, MIT license
  • Install the Python tool, log in to Google once, then add the skill
  • An API key or account (see below)
  • A Google account with NotebookLM; Python 3.10 or newer. Cinematic video needs Google AI Ultra.
Words on this page
Skill
A set of written instructions your AI assistant follows. Installing one is like giving it a playbook.
CLI
A program you run by typing commands in a terminal.
MCP
A standard way to connect an AI assistant to outside tools and data.
API
A way for programs to talk to a service, usually with a key.
Repositoryteng-lin/notebooklm-py · website
GitHub stars20,328
Skills1
CategoryDesign and frontend
LicenseMIT
Last updatedNov 19, 2026 · card checked Nov 2, 2026 at commit 4f91416
Install countsteng-lin/notebooklm-py on skills.sh, Vercel's skills directory, which shows installs and security audits per skill

teng-lin/notebooklm-py popularity over time

Most starred skill packs

teng-lin/notebooklm-py: GitHub starstotal over time 20,328
teng-lin/notebooklm-py: new stars per weekGitHub 68

What notebooklm-py does

  • Checks that the Google sign-in really works before any task (notebooklm auth check --test --json)
  • Uses the notebooklm command with JSON output and keeps the exact notebook, source and artifact IDs
  • Waits until every added source is ready before chatting or generating
  • Generates audio, video, slide decks, infographics, reports, mind maps, data tables, quizzes and flashcards, waits for them, then downloads that exact item
  • Runs only read-only commands when something fails, before trying a fix
  • Writes Python code with the library only when you ask for application code

Never cut, per the skill: Asks first before deleting, generating, long waits, downloads, changing the account language or importing research; never prints or commits the sign-in files.

From the pack's SKILL.md files, summarised by AgentGid.

The skill, explained

notebooklm

Runs NotebookLM for you and saves what it makes to your computer

You give

  • Your sources: web links, YouTube, PDFs and other files, Google Drive, or pasted text
  • What to make: podcast, video, slide deck, infographic, report, mind map, data table, quiz or flashcards
  • Your question, for a cited answer
  • A Google sign-in in a browser the first time

You get

  • A new notebook and its ID
  • Cited answers from your sources
  • The finished podcast, video, slides, quiz or table, downloaded to a file
  • Web or Drive research that can import what it finds, after you agree
Say: “Make a NotebookLM notebook from these three links and download an audio overview as podcast.m4a”

See it in action

The skill defines what its answer looks like. Its own example:

notebooklm create "Research: topic" --json
notebooklm source add <input> -n {notebook_id} --json
notebooklm source wait {source_id} -n {notebook_id} --timeout 600
notebooklm generate audio "instructions" -n {notebook_id} -s {source_id} --json
notebooklm artifact wait {artifact_id} -n {notebook_id} --timeout 1200
notebooklm download audio ./podcast.m4a -a {artifact_id} -n {notebook_id}

From SKILL.md.

When to reach for it

You wantUse
Make a podcast, video or slides from your sourcesAsk in plain words; it runs create → source add → generate → download
Cited answers from your documentsnotebooklm ask "question" -n <notebook> --json
Web research that adds sources to a notebooknotebooklm source add-research "query" --mode fast (or deep)
Check whether the sign-in still worksnotebooklm auth check --test --json
Sign-in stopped workingnotebooklm login again, or notebooklm auth refresh
Try it. After installing and logging in, ask your assistant: "List my NotebookLM notebooks." It should run notebooklm auth check --test --json first, then notebooklm list --json, and show your notebooks with their IDs.

Skills in teng-lin/notebooklm-py

SkillIn plain wordsChanges files?What it does (author)
notebooklm Runs NotebookLM for you and saves what it makes to your computerUnclear Install, authenticate, troubleshoot, and operate Gemini Notebook through the notebooklm-py CLI or typed async Python API. Use for notebook and source management, grounded chat and research, and artifact generation or download when the user mentions Gemini Notebook, notebooklm-py, the notebooklm…
npx skills add teng-lin/notebooklm-py --skill notebooklm

The author's descriptions come from each skill's SKILL.md; the plain-words column is AgentGid's.

Good to know before you install

  • Unofficial: it talks to undocumented Google services that can change or break without notice; not affiliated with Google.
  • Your Google sign-in is saved as files (storage_state.json with live cookies, optionally master_token.json) in ~/.notebooklm/profiles/<name>/, created with owner-only permissions.
  • The optional master token is a long-lived full-account credential that survives password changes; the author advises a dedicated Google account.
  • Login choices: a browser window (Chromium, about 170 MB, downloads on first login), copying cookies from a browser you are already signed in to, or a master token.
  • notebooklm skill install writes the skill into your home folder (~/.claude/skills/notebooklm and ~/.agents/skills/notebooklm), not into one project.
  • An opt-in setting (NOTEBOOKLM_TRANSPORT=curl_cffi) makes its requests look like a web browser's, for networks where Google blocks the default connection.
  • Google rate-limits generation; the skill says to retry only when you allow it.

Before you start

Works in

  • Claude Code: skills folder
  • Codex: AGENTS.md and .agents skills folder
  • Any agent with a skills folder: skills CLI
  • Claude Desktop, Claude Code, Cursor, Windsurf: MCP server
  • Sandboxed agents (uploaded skill): skill archive

You will need

  • Python 3.10+: The notebooklm CLI and library are Python
  • Google account with NotebookLM: Every command signs in as your Google account
  • Chromium via Playwright: The default login opens a browser window (downloaded on first login)
  • Google AI Ultra: Only for cinematic video

Steps only you can do

  1. Sign in to Google in the browser window that notebooklm login opens (or be signed in to a browser for --browser-cookies) (README.md (Quick Start) and docs/installation.md)
    Then: The agent runs notebooklm auth check --test --json and starts the workflow
  2. On macOS, allow Keychain access if you choose to import cookies from Chrome, Edge, Brave or Opera (docs/installation.md (platform notes))
    Then: The tool reads the browser's Google cookies and saves the profile
  3. For unattended use, create a master token on a trusted machine with a dedicated Google account, and revoke it if exposed (docs/installation.md (master-token auth))
    Then: The agent can refresh the sign-in without a browser
  4. Get Google AI Ultra if you want cinematic video (SKILL.md (Generation Notes))
    Then: The agent can run generate video --format cinematic

Mistakes to avoid

  • Force a pip install into the system Python with --break-system-packages
    Install the CLI with uv tool install or pipx, or into the project's own environment for application code
    The skill forbids breaking an externally managed system Python
  • Run notebooklm status to see whether the sign-in works
    Run notebooklm auth check --test --json and require status ok and token_fetch true
    status only shows the selected notebook, not whether the sign-in is valid
  • Download whatever artifact is newest in the notebook
    Keep the artifact ID from the generate command and pass it with -a and -n to wait and download
    Another run may have made a newer artifact, so the wrong file gets saved
  • Let several agents share one profile and its storage_state.json
    Give each concurrent run its own NOTEBOOKLM_PROFILE with its own credentials
    Profile and context writes collide between agents
  • Chat or generate right after adding a source
    Run source wait for every source ID and continue only when each is ready
    The add command returns before the source is processed and carries no status

Which one to pick

If you needPick
You want Google NotebookLM to read your sources and make podcasts, slides, quizzes or cited answersThis pack
You want the agent itself to run structured deep research with human-in-the-loop control, without a Google accountWeizhena/Deep-Research-skills
You want agent memory kept as plain markdown in your own Obsidian vault instead of on Google's serverseugeniughelbur/obsidian-second-brain

Works well with

  • claude-code: notebooklm skill install writes the skill into Claude Code's skills folder
  • openai-codex: The repo ships Codex guidance in AGENTS.md and installs to the .agents skills folder
  • uv: The skill suggests uv tool install for the notebooklm CLI
  • playwright: The default Google login opens a Chromium window through Playwright

May I use it like this?

UseAnswerCondition
In a commercial app YesMIT: keep the license notice; using NotebookLM itself is subject to Google's own terms
Passing the files on YesMIT: keep the copyright and permission notice in copies
Work for clients YesMIT allows use in work for others

What leaves your machine

  • Your Google session cookies with every request, plus the sources you add (links, files, pasted text), your questions and generation prompts → Google NotebookLM servers (notebook.google.com, notebooklm.google.com or the enterprise hosts), Every notebooklm command that talks to a notebook. Opt out: Do not use the tool; there is no offline mode
  • A direct fetch of a web page you added as a source → The website of that page, Only with source add --fallback-fetch. Opt out: Leave out --fallback-fetch (off by default)

Install notebooklm-py

Official commands from the repository

uv tool install "notebooklm-py[browser]"
notebooklm login
notebooklm auth check --test --json

Or pipx install "notebooklm-py[browser]". First login downloads Chromium (about 170 MB) and opens a Google sign-in.

Remove: uv tool uninstall notebooklm-py, then delete ~/.notebooklm to remove the saved sign-in

Or with the open-source skills CLI: npx skills add teng-lin/notebooklm-py. Skills are instructions your agent follows: read them before installing.

What it installs and runs on your machine

Read in the code at commit 4f91416, Nov 2, 2026

WhenWhat happens
Installpip / uv installs the notebooklm-py package from PyPI. No hooks or install scripts in the skill.
notebooklm loginOpens a Chromium window (downloaded on first run) for Google sign-in, or reads cookies from an installed browser (--browser-cookies, may ask for Keychain access on macOS), or uses a master token. Saves storage_state.json (and master_token.json if used) under ~/.notebooklm/profiles/<name>/.
Every commandSends requests with your Google cookies to notebook.google.com (or notebooklm.google.com / the enterprise hosts) over Google's internal batchexecute calls; the opt-in Android backend uses NotebookLM's mobile gRPC service.
Auth check / refreshMay refresh and rewrite the saved cookies; --passive keeps the check read-only.
DownloadsWrites the files you name (audio, video, PDF, PNG, CSV, JSON, Markdown) to the paths given.
notebooklm skill installWrites SKILL.md into ~/.claude/skills/notebooklm/ and ~/.agents/skills/notebooklm/.
Optionalsource add --fallback-fetch fetches failed web pages itself; NOTEBOOKLM_REFRESH_CMD runs a command you set to refresh sign-in.

Settings

  • NOTEBOOKLM_HOME: Base folder for all files (default ~/.notebooklm)
  • NOTEBOOKLM_PROFILE: Active profile name (default default)
  • NOTEBOOKLM_BACKEND: web (default) or android
  • NOTEBOOKLM_AUTH_JSON: Inline sign-in JSON for CI, short-lived fallback
  • NOTEBOOKLM_NOTEBOOK: Default notebook ID
  • NOTEBOOKLM_HL: Output language code (default en)
  • NOTEBOOKLM_TRANSPORT: httpx (default) or curl_cffi browser-TLS impersonation
  • NOTEBOOKLM_REFRESH_CMD: Command run to refresh sign-in
  • NOTEBOOKLM_LOG_LEVEL: DEBUG / INFO / WARNING / ERROR

Quick answers

Is it official Google software?
No. It is an unofficial community library over undocumented Google services that can change at any time.
Is it free?
Yes, MIT license. You need your own Google account with NotebookLM; some outputs need a paid Google tier.
Where is my Google sign-in kept?
In ~/.notebooklm/profiles/<name>/storage_state.json (cookies) and, if you use one, master_token.json. Treat both as passwords.
Will it delete things without asking?
The skill tells the assistant to confirm deletes, sharing removal, logout, generation, long waits and downloads unless you already asked for them. Some commands run without a prompt, so the skill says not to treat a missing prompt as consent.
Does it work without a browser?
Yes: copy cookies from a browser you are already signed in to, or use a master token on a server.

Checked by AgentGid on Nov 2, 2026 against commit 4f91416 of the pack's own files. agent.md for AI agents · Report a mistake

More design and frontend skill packs

All design and frontend skills

# Install
1
nextlevelbuilder/ui-ux-pro-max-skill CheckedRuns scripts

Gets a local design library: UI styles, colour palettes, font pairings and UX rules for many product types. Before it builds a page, it looks up a matching style, colours and fonts and follows a checklist. Extra skills make logos, banners, slides and brand files; logos, mockups and icons need your own key for an outside image service.

153K +13.9K 7
2
Leonxlnx/taste-skill CheckedRuns scripts

Stops building the average landing page. It picks one of 20 researched design directions, finds real, credited pictures in open archives, then checks the page in a real browser and fixes what looks wrong. Dashboards and app screens get their own set of rules.

120K +18.7K 1
3
tt-a1i/archify CheckedRuns scripts

Turns a description, a Mermaid sketch or your project's code into an interactive diagram saved as one HTML file. It can also answer a question as a one-page explainer, with the conclusion first. The pack's own tools check every file before handing it to you.

98.7K +12.7K 5
4
cathrynlavery/diagram-design CheckedRuns scripts

Draws clean, editorial diagrams in your brand colours and fonts. You describe the diagram in plain words and get one HTML file you open with a double click. It can also redraw old draw.io, Mermaid or Excalidraw diagrams and export them as SVG or PNG.

70K +11.4K 1
5
Nutlope/hallmark CheckedRuns scripts

Builds web pages that look designed, not machine-made. It asks once for your real material and picks one of fifty visual themes. Then it builds the page and checks it against common AI design habits. Name it and it will also redesign or review a page you already have.

59.2K +25.2K 1
6

One large design playbook for your AI assistant, written in Chinese. It makes clickable app prototypes, web pages, slide decks, infographics and short animated videos as HTML, then exports them to PDF, PowerPoint, MP4 or GIF. Before any new design it shows you three real drafts to choose from and stops until you pick one.

30.3K +4,613 1