Notebooklm

From akillness/jeo-skills · View interactive version

Notebooklm is an AI agent skill from the GitHub repository akillness/jeo-skills. Queries managed Google NotebookLM notebooks for citation-backed, source-grounded answers via local Claude Code browser automation; use for uploaded sources, not live web search.

How to use this skill

Skill file

notebooklm — Google NotebookLM Integration for Claude Code

Query your NotebookLM notebooks directly. Source-grounded, citation-backed answers without leaving the editor.

notebooklm brings Google NotebookLM into your Claude Code workflow via browser automation (Patchright). Instead of switching tabs and copy-pasting, you ask questions from the terminal and get grounded answers from your uploaded sources.

Installation

Plugin (Claude Code — recommended)

claude plugin marketplace add PleasePrompto/notebooklm-skill

Manual (git clone)

mkdir -p ~/.claude/skills
cd ~/.claude/skills
git clone https://github.com/PleasePrompto/notebooklm-skill.git notebooklm

Skill (via skills CLI)

npx skills add https://github.com/akillness/jeo-skills --skill notebooklm

Requirements

Setup (first-time)

# 1. Install Python dependencies (auto-runs on first use)
cd ~/.claude/skills/notebooklm
python scripts/run.py auth_manager.py setup

# 2. A Chrome window opens — log in to Google manually
# The session is saved and reused for future queries

# 3. Add your first notebook
python scripts/run.py notebook_manager.py add \
  --url "https://notebooklm.google.com/notebook/YOUR_ID" \
  --name "my-research" \
  --description "Research notes on topic X"

When to use this skill

Do not use when

Usage

Ask a question

# Ask the currently active notebook
python scripts/run.py ask_question.py --question "What are the key findings about X?"

# Ask a specific notebook by ID
python scripts/run.py ask_question.py \
  --notebook-id "my-research" \
  --question "Summarize the methodology section"

# Ask with browser visible (useful for debugging)
python scripts/run.py ask_question.py \
  --question "What does source 3 say about Y?" \
  --show-browser

Manage notebooks

# List all notebooks
python scripts/run.py notebook_manager.py list

# Search notebooks
python scripts/run.py notebook_manager.py search "machine learning"

# Activate a notebook (sets it as the default)
python scripts/run.py notebook_manager.py activate --id "my-research"

# Remove a notebook from the library
python scripts/run.py notebook_manager.py remove --id "old-notes"

Authentication management

# Check auth status
python scripts/run.py auth_manager.py status

# Re-authenticate if session expired
python scripts/run.py auth_manager.py reauth

# Clear all auth data
python scripts/run.py auth_manager.py clear

Data storage

All user data is stored locally at ~/.claude/skills/notebooklm/data/:

data/
├── library.json          # Your notebook registry
├── auth_info.json        # Authentication metadata
├── browser_state/        # Persistent browser session
│   ├── browser_profile/  # Chrome profile data
│   └── state.json        # Cookies and localStorage
└── sessions.json         # Active session tracking

Key constraints

| Constraint | Detail |

|------------|--------|

| Rate limit | 50 queries/day (free Google account) |

| Local only | Web UI sandbox blocks network access |

| Manual upload | Documents must be uploaded to NotebookLM manually first |

| Browser overhead | Each query opens a browser session (adds 3–10 seconds) |

| Auth renewal | Session cookies expire; run auth_manager.py reauth when needed |

Troubleshooting

| Symptom | Fix |

|---------|-----|

| Authentication failed | Run python scripts/run.py auth_manager.py reauth |

| Browser crash | Run python scripts/run.py auth_manager.py clear then setup |

| No response / timeout | Increase timeout or run with --show-browser to inspect |

| Rate limited | Wait 24 hours or use a different Google account |

| Chrome not found | Run patchright install chrome (not chromium) |

| Import error | First-run auto-setup may have failed; run setup_environment.py manually |

Full troubleshooting guide: ~/.claude/skills/notebooklm/references/troubleshooting.md

Follow-up protocol

After each answer, always assess completeness:

"Is that ALL you need to know from this notebook on this topic?"

NotebookLM can answer follow-up questions within the same session context. Ask targeted follow-ups before switching notebooks to get the most grounded coverage.

References

Instructions

  1. Identify the task trigger and expected output.
  2. Follow the workflow steps in this skill from top to bottom.
  3. Validate outputs before moving to the next step.
  4. Capture blockers and fallback path if any step fails.

Examples

Best practices

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.