notebooklm-research
Skill1 starsChanged 9 months agoApache-2.0View on GitHub
Automate Google NotebookLM via Playwright: create notebooks, add sources (URLs, PDFs, YouTube, text), query with citations, generate slides, infographics, quizzes, flashcards, reports, data tables, and mind maps
- Installs packages
4 other projects use a version of this.
Adopted by
Most recently taken up by
- mahiunfiltered/claude-code-skillstheir own version, first seen Jul 8, 2026
- claude-world/notebooklm-skilltheir own version, first seen Mar 24, 2026
- jakubs2623/notebooklm-skilltheir own version, first seen Mar 21, 2026
- huskerjeff/claude-skilltheir own version, first seen Mar 20, 2026
Other versions4 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 4
- claude-world/notebooklm-skill★ 463same name
- jakubs2623/notebooklm-skill★ 7same name
- mahiunfiltered/claude-code-skills★ 1same name
- huskerjeff/claude-skill★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository73 other files it gives its agents.
- accessibility-wcagSkill
- api-designSkill
- api-testingSkill
- asset-optimizationSkill
- audio-systemsSkill
- aws-essentialsSkill
- ci-cd-pipelinesSkill
- codebase-analysisSkill
- code-reviewerSkill
- container-securitySkill
- cost-optimizationSkill
- database-designSkill
- data-visualizationSkill
- doc-generationSkill
- docker-kubernetesSkill
- docxSkill
- email-notificationsSkill
- env-configSkill
- flutter-mobileSkill
- framer-motionSkill
- frontend-code-reviewSkill
- frontend-designSkill
- fullstack-developerSkill
- game-enginesSkill
- gameplay-designSkill
- game-programming-languagesSkill
- game-serversSkill
- git-workflowSkill
- godot-4Skill
- golang-proSkill
- go-linter-configurationSkill
- graphics-renderingSkill
- i18n-localizationSkill
- incident-responseSkill
- level-designSkill
- llm-integrationSkill
- local-securitySkill
- memory-managementSkill
- monetization-systemsSkill
- monitoring-observabilitySkill
- multiplayer-netcodeSkill
- nextjs-16Skill
- npm-packageSkill
- oauth-authSkill
- particle-systemsSkill
- performance-optimizationSkill
- playwright-testingSkill
- postgres-advancedSkill
- programming-architectureSkill
- project-migrationSkill
- publishing-platformsSkill
- python-best-practicesSkill
- react-nativeSkill
- redis-patternsSkill
- refactoring-patternsSkill
- remotion-best-practicesSkill
- rust-best-practicesSkill
- scraping-automationSkill
- security-reviewSkill
- seo-metaSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 63
Always verify connection first with status.
- Distinctive: line 82
Follow this sequence for reliable results:
- Very specific: line 86
Add sources: Run add-source for each URL, file, YouTube link, or text block.
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
NotebookLM Research Automation
Turn Claude Code into a research agent by automating Google NotebookLM. NotebookLM has no public API. This skill uses Playwright to control a real Chrome browser via CDP (Chrome DevTools Protocol). All commands output JSON to stdout.
Prerequisites
One-time setup (2 minutes):
pip install playwright && playwright install chromium
python scripts/setup_chrome.py
# Log in to Google in the Chrome window that opens
python scripts/notebooklm_client.py status # Verify: "authenticated": trueSee references/authentication.md for detailed setup and troubleshooting.
Session Management
BAD: Launching Chromium directly from Playwright. Gets detected as a bot, cannot authenticate with Google.
browser = await playwright.chromium.launch()
page = await browser.new_page()
await page.goto("https://notebooklm.google.com") # Blocked or login failsGOOD: Connecting to a real Chrome instance via CDP with a persistent profile.
browser = await playwright.chromium.connect_over_cdp("http://localhost:9222")
context = browser.contexts[0] # Reuse authenticated session
page = context.pages[0] # Already on NotebookLMInteraction Speed
BAD: Instant typing and clicks. Triggers anti-bot detection, actions may be ignored.
await page.fill("textarea", "full text instantly")
await page.click("button")GOOD: Human-like delays. Random 25-75ms per character, 100-300ms pre-click pause.
for char in question:
await element.type(char, delay=random.uniform(25, 75))
await asyncio.sleep(random.uniform(0.1, 0.3))
await page.click("button")Command Reference
Always verify connection first with status. All commands return JSON.
| Command | Example | Purpose |
status | python scripts/notebooklm_client.py status | Check Chrome + auth |
list | python scripts/notebooklm_client.py list | List all notebooks |
create | python scripts/notebooklm_client.py create "Topic" | Create notebook |
add-source | ...add-source --notebook "Topic" --url "https://..." | Add URL source |
add-source | ...add-source --notebook "Topic" --file "/path/to.pdf" | Add file source |
add-source | ...add-source --notebook "Topic" --youtube "https://..." | Add YouTube source |
add-source | ...add-source --notebook "Topic" --text "raw content" | Add text source |
query | ...query --notebook "Topic" --question "Key findings?" | Query with citations |
generate | ...generate --notebook "Topic" --type slides | Generate artifact |
generate | ...generate --notebook "Topic" --type infographic --instructions "Focus on stats" | Generate with instructions |
Artifact types: slides, infographic, quiz, flashcards, report, table, mindmap, video
Research Workflow
Follow this sequence for reliable results:
- Check connection:
statuscommand. If not connected, runsetup_chrome.py. - Create notebook:
create "Research Topic Name" - Add sources: Run
add-sourcefor each URL, file, YouTube link, or text block. Add 2-3+ sources for best results. - Wait for processing: Sources need 10-60 seconds to index. The script waits automatically, but for large PDFs allow extra time.
- Query sources:
query --notebook "Topic" --question "Your question". Returns answer with citations. - Generate deliverables:
generate --notebook "Topic" --type slides. Output saved to./notebooklm-output/.
Output Format
Success:
{"status": "success", "answer": "...", "citations": ["Source 1, p.3", "Source 2, sec.4"]}Error:
{"status": "error", "error": "Chrome not reachable", "suggestion": "Run: python setup_chrome.py"}Generated files are saved to ./notebooklm-output/ (override with NOTEBOOKLM_OUTPUT_DIR env var).
Troubleshooting
| Problem | Fix |
| "Cannot connect to Chrome" | Run python scripts/setup_chrome.py |
| "Not authenticated" | Log in to Google in the Chrome window |
| Source upload hangs | Large file. Wait 2 minutes, then check NotebookLM UI |
| Generation fails | Retry once. If persistent, check NotebookLM UI for errors |
| Selectors not matching | NotebookLM UI may have changed. Update selectors in notebooklm_client.py |
See references/deliverables.md for artifact types, generation times, and examples.
See references/authentication.md for Chrome setup, session management, and security.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

