Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
sanjay3290 avatar

Notebooklm

  • 311 installs
  • 364 repo stars
  • Updated July 9, 2026
  • sanjay3290/ai-skills

notebooklm is an agent skill that queries and manages Google NotebookLM notebooks via Playwright browser automation for developers who need grounded, cited answers and source sync from terminal-based AI workflows.

About

notebooklm is a sanjay3290 ai-skills bridge to Google NotebookLM that runs headless Playwright automation because Google provides no official API. After `notebooklm login` stores a persistent session, developers register notebooks by URL, ask natural-language questions, run batch queries with `q1||q2||q3` syntax, and compare answers across multiple notebooks. The skill supports remote notebook creation, source add/delete/sync with hash-based deduplication, directory uploads with extension and size filters, dry-run flags on destructive operations, and JSON or Markdown exports. A developer reaches for notebooklm when Claude Code or Codex must programmatically query research notebooks, keep large source collections in sync, or return cited answers without manually opening the NotebookLM web UI.

  • Extends Claude Code agent capabilities
  • Activates on relevant task triggers
  • Integrates with Claude Code workflow

Notebooklm by the numbers

  • 311 all-time installs (skills.sh)
  • +6 installs in the week ending Aug 5, 2026 (Skillselion tracking)
  • Ranked #2,258 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/sanjay3290/ai-skills --skill notebooklm

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs311
repo stars364
Last updatedJuly 9, 2026
Repositorysanjay3290/ai-skills

How do you query NotebookLM from the terminal?

notebooklm: agent skill for task automation in Claude Code workflows.

Who is it for?

Developers who authenticate once with notebooklm login and need programmatic, cited research queries across a registered notebook library.

Skip if: Teams requiring a stable official NotebookLM API or workflows that cannot depend on Playwright browser automation and Google session auth.

When should I use this skill?

The user asks to query NotebookLM, sync notebook sources, batch-ask research questions, or export notebook answers to markdown.

What you get

Cited NotebookLM answers, synced source libraries, batch query results, and JSON or Markdown export files

  • cited query answers
  • JSON or Markdown exports
  • synced notebook source library

By the numbers

  • Supports batch queries with q1||q2||q3 pipe-delimited syntax
  • Exports answers to JSON or Markdown formats
  • Bundled in ai-skills collection with 20+ companion skills

Files

SKILL.mdMarkdownGitHub ↗

NotebookLM Skill

Query NotebookLM notebooks and manage notebooks/sources via Playwright browser automation.

All commands run from the skill directory. All scripts output JSON to stdout and exit 1 on error. Use --help on any script for full flag reference.

Workflow

1. Authenticate: python scripts/auth_manager.py setup --profile <name> 2. Register notebook: python scripts/notebook_manager.py add --url <url> --name <name> --description <desc> --topics <topics> 3. Ask questions: python scripts/ask_question.py --question "..." --notebook-id <id> 4. Manage sources: python scripts/remote_manager.py add-source|sync-sources ...

Key Behaviors

  • Runs headless by default; use --show-browser for debugging only.
  • Persistent Chrome profiles stored at ~/.config/claude/notebooklm-skill/ (override with NOTEBOOKLM_DATA_DIR).
  • Hash-based dedupe: file uploads skip unchanged sources automatically.
  • --dry-run available on all destructive/bulk operations (create, add-source, delete-source, sync-sources).
  • --retries N retries transient browser failures with screenshot/HTML artifact capture.
  • Batch mode (--questions "q1||q2||q3") and multi-notebook comparison (--compare-notebook-ids) supported.
  • Exports to JSON or Markdown via --export-format markdown --save-notes.
  • Answers include a follow-up reminder prompting Claude to ask clarifying questions before replying.

Quick Reference

# Auth
python scripts/auth_manager.py setup --profile work
python scripts/auth_manager.py status --profile work

# Library
python scripts/notebook_manager.py add --url "..." --name "..." --description "..." --topics "..."
python scripts/notebook_manager.py list

# Ask
python scripts/ask_question.py --question "..." --notebook-id <id>
python scripts/ask_question.py --questions "q1||q2" --notebook-id <id>

# Sources
python scripts/remote_manager.py add-source --notebook-id <id> --dir ./docs --recursive
python scripts/remote_manager.py sync-sources --notebook-id <id> --dir ./docs --recursive --delete-missing --dry-run

For full command reference with all flags and examples, see references/commands.md.

Related skills

Forks & variants (2)

Notebooklm has 2 known copies in the catalog totaling 13 installs. They canonicalize to this original listing.

How it compares

Choose notebooklm over generic web-search skills when answers must be grounded in your uploaded NotebookLM sources with citations.

FAQ

How does notebooklm authenticate to Google?

notebooklm runs `notebooklm login`, opening a browser for Google sign-in. The session persists at ~/.config/claude/notebooklm-skill/ and supports multiple auth profiles for work and personal accounts.

Can notebooklm run multiple questions at once?

notebooklm supports batch queries using q1||q2||q3 syntax or question files, plus multi-notebook comparison flags. Answers export as structured JSON or Markdown for downstream agent workflows.

Does notebooklm use an official NotebookLM API?

notebooklm does not use an official Google API. The skill drives NotebookLM through headless Playwright browser automation, with --show-browser available for debugging flaky UI states.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.