agentleFS
walidboulanouarwalidboulanouar/Ay-Skills/skills/notebooklm/SKILL.md

notebooklm

Skill91 starsChanged 9 months agoMITView on GitHub

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

47 other projects use a version of this, 18 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use claudeception, youtube-transcript and 6 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • chipoto69Skill

    claudeception

    Claudeception is a continuous learning system that extracts reusable knowledge from work sessions. Triggers: (1) /claudeception command to review session learnings, (2) "save this as a skill" or "extract a skill from this", (3) "what did we learn?", (4) After any task involving non-obvious debugging, workarounds, or trial-and-error discovery. Creates new Claude Code skills when valuable, reusable knowledge is identified.

    Also in 3 projects that use this

  • dandacompanySkill

    youtube-transcript

    Extract YouTube video transcripts/subtitles using yt-dlp. Handles rate limiting, auto-generated captions, multiple languages, and VTT parsing.

    Also in 3 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 7 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 5 projects that use this

  • VercelSkill

    web-design-guidelines

    Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

    Also in 3 projects that use this

  • VercelSkill

    vercel-react-best-practices

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 47 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every NotebookLM answer ends with: "Is that ALL you need to know?"

    line 97
  2. Distinctive:

    STOP — do not immediately respond to user

    line 100
  3. Distinctive:

    ASK FOLLOW-UP — if gaps exist, query again with context

    line 103
  4. Very specific:

    All data in ~/.claude/skills/notebooklm/data/:

    line 124
  5. Distinctive:

    No session persistence (each question = new browser session)

    line 133

“Common” is measured: kept by at least 6 in 10 of the 47 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

NotebookLM Research Assistant Skill

Interact with Google NotebookLM to query documentation with Gemini's source-grounded answers. Each question opens a fresh browser session, retrieves the answer exclusively from your uploaded documents, and closes.

Source: https://github.com/PleasePrompto/notebooklm-skill

Install

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

The run.py wrapper auto-creates .venv, installs dependencies, and sets up Chromium on first run.

When to Use This Skill

Trigger when user:

  • Mentions NotebookLM explicitly
  • Shares NotebookLM URL (https://notebooklm.google.com/notebook/...)
  • Asks to query their notebooks/documentation
  • Wants to add documentation to NotebookLM library
  • Uses phrases like "ask my NotebookLM", "check my docs", "query my notebook"

CRITICAL: Always Use run.py Wrapper

NEVER call scripts directly. ALWAYS use python scripts/run.py [script]:

# CORRECT
python scripts/run.py auth_manager.py status
python scripts/run.py notebook_manager.py list
python scripts/run.py ask_question.py --question "..."

# WRONG — fails without venv
python scripts/auth_manager.py status

Core Workflow

Step 1: Check Authentication

python scripts/run.py auth_manager.py status

Step 2: Authenticate (One-Time Setup)

# Browser MUST be visible for manual Google login
python scripts/run.py auth_manager.py setup

Tell user: "A browser window will open for Google login."

Step 3: Manage Notebook Library

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

# Add notebook — ALL parameters required
python scripts/run.py notebook_manager.py add \
  --url "https://notebooklm.google.com/notebook/..." \
  --name "Descriptive Name" \
  --description "What this notebook contains" \
  --topics "topic1,topic2,topic3"

# Smart Add (discover content first, then add)
python scripts/run.py ask_question.py --question "What topics are covered in this notebook?" --notebook-url "[URL]"

# Search, activate, remove
python scripts/run.py notebook_manager.py search --query "keyword"
python scripts/run.py notebook_manager.py activate --id notebook-id
python scripts/run.py notebook_manager.py remove --id notebook-id

Step 4: Ask Questions

# Basic query (uses active notebook)
python scripts/run.py ask_question.py --question "Your question here"

# Query specific notebook by ID
python scripts/run.py ask_question.py --question "..." --notebook-id notebook-id

# Query by URL directly
python scripts/run.py ask_question.py --question "..." --notebook-url "https://..."

# Debug mode
python scripts/run.py ask_question.py --question "..." --show-browser

Follow-Up Mechanism (CRITICAL)

Every NotebookLM answer ends with: "Is that ALL you need to know?"

Required behavior:

  1. STOP — do not immediately respond to user
  2. ANALYZE — compare answer to original request
  3. IDENTIFY GAPS — determine if more info needed
  4. ASK FOLLOW-UP — if gaps exist, query again with context
  5. SYNTHESIZE — combine all answers before responding

Script Reference

# Auth
python scripts/run.py auth_manager.py setup|status|reauth|clear

# Notebooks
python scripts/run.py notebook_manager.py add|list|search|activate|remove|stats

# Questions
python scripts/run.py ask_question.py --question "..." [--notebook-id ID] [--notebook-url URL]

# Cleanup
python scripts/run.py cleanup_manager.py [--confirm] [--preserve-library]

Data Storage

All data in ~/.claude/skills/notebooklm/data/:

  • library.json — notebook metadata
  • auth_info.json — auth status
  • browser_state/ — browser cookies/session

Protected by .gitignore. Never commit.

Limitations

  • No session persistence (each question = new browser session)
  • Rate limit: ~50 queries/day on free Google accounts
  • Manual upload required (user adds docs to NotebookLM)
  • Requires Python 3.8+

Troubleshooting

ProblemSolution
ModuleNotFoundErrorUse run.py wrapper, never call scripts directly
Auth failsBrowser must be visible: --show-browser
Rate limit hitWait or switch Google account
Browser crashespython scripts/run.py cleanup_manager.py --preserve-library

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.