notebooklm

Query Google NotebookLM notebooks via browser automation for source-grounded answers.

2|Updated May 30, 2026
One-click install
npx skills add https://github.com/virahitvin8/crafty-gis --skill notebooklm-virahitvin8
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: notebooklm
Source: https://github.com/virahitvin8/crafty-gis/tree/main/GIT_STAR/assignment-generator/antigravity-skills-main/antigravity-skills-main/skills/notebooklm
Command: npx skills add https://github.com/virahitvin8/crafty-gis --skill notebooklm-virahitvin8

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires patchright, python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve? Searching local documentation with an AI assistant consumes large token budgets, misses context across files, and often produces hallucinated APIs. This Skill lets Claude Code ask questions directly against Google NotebookLM notebooks, which answer exclusively from your uploaded documents with citations. ## Core Features & Use Cases - Source-Grounded Q&A: Sends questions to NotebookLM through Patchright browser automation and returns Gemini answers grounded only in your uploaded documents. - Notebook Library Management: Add, list, search, activate, and remove NotebookLM notebooks with names, descriptions, and topic tags stored locally. - Persistent Google Authentication: One-time manual Google login with a hybrid browser profile plus cookie-injection approach that keeps sessions valid across runs. - Use Case: Upload your framework documentation to a NotebookLM notebook, then ask Claude Code to build a feature; it queries the notebook, follows up on gaps, and writes code based on the real docs instead of guessed APIs. ## Quick Start Set up NotebookLM authentication, add my notebook link to the library, and ask it what topics the documentation covers.

Frequently Asked Questions about notebooklm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query NotebookLM from Claude Code?

Authenticate once with the auth setup command, add your shared notebook URL to the library, then ask questions in natural language. Claude runs the ask_question script, which opens a browser, submits your question, and returns the answer.

What is the difference between the NotebookLM skill and the MCP server?

The skill is a Python implementation that runs directly in Claude Code with a stateless model where each question opens a fresh browser. The MCP server is TypeScript-based, supports persistent chat sessions, and works with multiple tools like Codex and Cursor.

Does this skill work in the Claude web UI?

No, it only works with local Claude Code installations. The web UI runs skills in a sandbox without network access, which browser automation requires to reach NotebookLM.

Why does NotebookLM authentication fail after browser restarts?

A known Playwright bug prevents session cookies from persisting in the browser profile directory. The skill works around this by saving cookies to a state.json file and manually injecting them into each new browser context.

What are the limitations of querying NotebookLM with browser automation?

Free Google accounts are limited to roughly 50 queries per day, each question opens a fresh browser with no conversation memory, and notebooks must be manually uploaded and shared with a public link before querying.