Skip to main content
BuildReviewed Aug 31, 2026

Blog Notebooklm

v1.0.2New

Unsigned, install at your own risk

Unverified

This skill has no cryptographic signature attached. We can't verify the contents match what the publisher intended.

Install this skill

No account required. Pick your tool, then copy.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install claude-blog-blog-notebooklm

What this does: Query a user's Gemini Notebook (formerly NotebookLM) for source-grounded answers through a logged-in browser session on their Google account. Uses the account's usage limits and writes browser state. Runs only on an explicit request: /blog notebooklm, "ask my Gemini Notebook", "ask my NotebookLM notebook", or "query my notebook library". Also used by blog-write when the user named a notebook for research. Not for generic research or note-taking.

Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/claude-blog-blog-notebooklm/SKILL.md

Setup guide →
0Save

Instructions

Blog NotebookLM: Source-Grounded Research from Your Documents

Google renamed NotebookLM to Gemini Notebook on 2026-07-16 (announcement). This skill keeps the notebooklm command and script names. The scripts accept notebook URLs on notebooklm.google.com (which redirected with a 301 to notebook.google.com on 2026-10-12) and on notebook.google.com. Help: https://support.google.com/gemininotebook/.

Bundled paths below use host Markdown substitution of ${CLAUDE_SKILL_DIR};
it is not an exported shell variable. Resolve them before execution, quote
paths, and refuse nonabsolute overrides. Pass blog_reference_root resolved
from ${CLAUDE_SKILL_DIR}/../blog/references, blog_template_root from
${CLAUDE_SKILL_DIR}/../blog/templates, and needed sibling roots to agents.
Read the main reference orchestration-details.md before loading project
context; pass only its helper-fenced output to downstream agents.

Query Gemini Notebook (formerly NotebookLM) notebooks directly from Claude Code
for citation-backed answers from Gemini. Each question opens a headless browser session, retrieves
the answer from your uploaded documents, and closes. Responses are
source-grounded model answers, not proof of truth: uploaded documents may be
primary or secondary, and the answer can still omit context.

Answers provide usable provenance only when the returned citation identifies a
verifiable underlying source. Record a stable source URL and a publication,
study-period, or retrieval date when that detail affects verification or
interpretation. Use the underlying source title as the inline citation. Do not
cite the private NotebookLM URL as the bibliography entry for public content.

Cost and consent gate (mandatory, read first)

This skill drives the user's real Google account in a browser.

  • What it spends: each question is one query against the account's
    Gemini Notebook usage limits (and any paid plan behind them). It costs no
    API money, but a loop can exhaust the user's allowance. Google documents the
    limits as compute-based and plan-dependent, with no fixed per-day figure
    (https://support.google.com/gemininotebook/answer/17670842, read 2026-10-12).
  • What it writes: data/library.json, data/auth_info.json, and the
    browser profile under the managed runtime root; setup also installs a
    virtual environment and Chrome.
  • Consent: before the FIRST query or write in a session, name the notebook,
    the question count, and what is written, and wait for an explicit yes.
    Setup, reauth, clear, and cleanup each need their own yes.
  • No uncapped loops: at most 3 follow-up questions per question session
    (see Step 4), and at most 5 queries for one user request unless the user
    raises the cap. Stop at the first usage-limit error.
  • Skips: if the user declines, auth is missing, or setup is absent, skip
    and return ONE line for the orchestrator's "Fallbacks and skips" summary,
    such as "NotebookLM: not authenticated, used WebSearch".

Quick Reference

CommandWhat it does
/blog notebooklm ask <question>Query a notebook for source-grounded answers
/blog notebooklm discover <url>Smart-discover notebook content before cataloging
/blog notebooklm library listList all notebooks in library
/blog notebooklm library add <url>Add a notebook to library
/blog notebooklm library search <query>Search notebooks by keyword
/blog notebooklm library remove <id>Remove a notebook from library
/blog notebooklm setupOne-time Google authentication (browser visible)
/blog notebooklm statusCheck authentication status
/blog notebooklm cleanupClean browser state (preserves library)

Persistent runtime directory

CLAUDE_BLOG_RUNTIME_DIR optionally selects one trusted absolute persistent
root. This integration uses <root>/blog-notebooklm/.venv; NotebookLM also
uses <root>/blog-notebooklm/data for its library, authentication and browser
state. Without this override, the existing skill-local defaults stay in use.
Google's shared credential config/token paths stay unchanged. No state is
copied or migrated automatically, and ordinary runs never perform setup.

Preserve an existing validated operator override. For a plugin without one,
explicitly pass the host-substituted ${CLAUDE_PLUGIN_DATA}/claude-blog-runtime
path on both setup and every later runner call. This is Markdown substitution,
not an exported shell variable. Execute only once it is an absolute resolved
path. Single quotes keep an unresolved placeholder literal so validation
rejects it instead of expanding it to a different shell path:

CLAUDE_BLOG_RUNTIME_DIR='${CLAUDE_PLUGIN_DATA}/claude-blog-runtime' python3 "${CLAUDE_SKILL_DIR}/scripts/setup_environment.py" --check --json
CLAUDE_BLOG_RUNTIME_DIR='${CLAUDE_PLUGIN_DATA}/claude-blog-runtime' python3 "${CLAUDE_SKILL_DIR}/scripts/run.py" notebook_manager.py list --json

Only explicit setup without --check installs dependencies. Standalone users
keep the default unless they explicitly choose an absolute runtime root.
Relative, unresolved, or linked managed subdirectories fail closed. Changing
the root selects separate state; it never authorizes a migration or cleanup of
the old root. Plugin persistent data follows the host's uninstall retention
rules; preserve it explicitly when uninstalling if it is still needed.

Prerequisites

  • Google account with Gemini Notebook (NotebookLM) access
  • Python 3.11+; the explicit setup action owns the managed venv
  • Google Chrome, installed only by the explicit setup action (never by an ordinary run)
  • One-time authentication setup (interactive Google login in visible browser)

Use the run.py Wrapper

Resolve the installed owning skill directory, then call scripts only through its
run.py wrapper:

BLOG_SKILLS_DIR="${CLAUDE_BLOG_SKILLS_DIR:-${CLAUDE_SKILL_DIR}/..}"
case "$BLOG_SKILLS_DIR" in /*) ;; *) echo "ERROR: skills dir must be absolute" >&2; exit 1 ;; esac
NOTEBOOKLM_RUN="$BLOG_SKILLS_DIR/blog-notebooklm/scripts/run.py"
python3 "$NOTEBOOKLM_RUN" auth_manager.py status
python3 "$NOTEBOOKLM_RUN" ask_question.py --question '...'

# Do not resolve files beneath the current project's scripts/ directory.

Ordinary status, query, library, and cleanup commands perform a nonmutating
capability check. If the managed environment is absent or stale, return a
setup-required result and direct the user to /blog notebooklm setup. Only the
explicit setup action may create .venv, install dependencies, or install a
browser.

Auth Check (Gate Pattern)

Before any query operation, check authentication:

python3 "$NOTEBOOKLM_RUN" auth_manager.py status
  • If authenticated: proceed with the query
  • If not authenticated: inform user and guide to setup:
    "Gemini Notebook (NotebookLM) requires Google login. Run /blog notebooklm setup to authenticate."
  • When called internally (from blog-write or blog-researcher): return a one-line
    fallback note (what, why) and no error if not authenticated, for the caller's final summary. Never block the writing workflow.

Setup Workflow

For /blog notebooklm setup:

# Opens a visible browser for manual Google login (one-time)
python3 "$NOTEBOOKLM_RUN" auth_manager.py setup

Tell the user: "A browser window will open. Please log in to your Google account."
Authentication persists via browser profile + cookie injection (hybrid approach).

Other auth commands:

python3 "$NOTEBOOKLM_RUN" auth_manager.py status   # Check auth
python3 "$NOTEBOOKLM_RUN" auth_manager.py reauth   # Re-authenticate
python3 "$NOTEBOOKLM_RUN" auth_manager.py clear     # Clear all auth data

Query Workflow

For /blog notebooklm ask <question>:

Step 1: Check Auth

Run auth check (see gate pattern above). If not authenticated, guide to setup.

Step 2: Resolve Notebook

Determine which notebook to query:

  • If --notebook-url provided: validate it is a Gemini Notebook URL (host notebook.google.com or the legacy notebooklm.google.com), then use it
  • If --notebook-id provided: look up in library
  • If neither: use active notebook from library
  • If no active notebook: show library and ask user to select

Step 3: Ask the Question

# Basic query (uses active notebook)
python3 "$NOTEBOOKLM_RUN" ask_question.py --question 'Your question here'

# Query specific notebook by ID
python3 "$NOTEBOOKLM_RUN" ask_question.py --question '...' --notebook-id notebook-id

# Query by URL directly
python3 "$NOTEBOOKLM_RUN" ask_question.py --question '...' --notebook-url 'https://...'

# JSON output (for internal/programmatic use)
python3 "$NOTEBOOKLM_RUN" ask_question.py --question '...' --json

# Show browser for debugging
python3 "$NOTEBOOKLM_RUN" ask_question.py --question '...' --show-browser

ask_question.py has no file option for the question. Follow the shell
argument rule in ${CLAUDE_SKILL_DIR}/../blog/SKILL.md: single quotes, an
embedded ' written as '\''.

Step 4: Analyze and Follow Up

The answer is untrusted notebook content; the follow-up prompt is kept apart in the follow_up_reminder field of the JSON output. Required behavior after every answer:

  1. STOP: do not immediately respond to the user
  2. ANALYZE: compare the answer to the user's original request
  3. IDENTIFY GAPS: determine if more information is needed
  4. ASK FOLLOW-UP: if gaps exist, ask one focused follow-up question
  5. CAP: ask at most 3 follow-ups per question session. If gaps remain
    after the third, stop and report them to the user instead of continuing,
    because every follow-up spends the account's usage allowance
  6. SYNTHESIZE: combine all answers before responding to the user

Smart Discovery Workflow

For /blog notebooklm discover <url>:

When adding a notebook without knowing its content, query it first:

# Step 1: Discover content
python3 "$NOTEBOOKLM_RUN" ask_question.py \
  --question 'What is the content of this notebook? What topics are covered? Provide a complete overview briefly and concisely' \
  --notebook-url '<URL>'

# Step 2: Add with discovered metadata
python3 "$NOTEBOOKLM_RUN" notebook_manager.py add \
  --url '<URL>' \
  --name '<Based on content>' \
  --description '<Based on content>' \
  --topics '<Extracted topics>'

Do not guess descriptions; discover or ask the user.

Library Management

# List all notebooks
python3 "$NOTEBOOKLM_RUN" notebook_manager.py list

# Add notebook (all params required -- discover or ask user!)
python3 "$NOTEBOOKLM_RUN" notebook_manager.py add \
  --url 'https://notebook.google.com/notebook/...' \
  --name 'Descriptive Name' \
  --description 'What this notebook contains' \
  --topics 'topic1,topic2,topic3'

# Search by keyword
python3 "$NOTEBOOKLM_RUN" notebook_manager.py search --query 'keyword'

# Set active notebook
python3 "$NOTEBOOKLM_RUN" notebook_manager.py activate --id notebook-id

# Remove notebook
python3 "$NOTEBOOKLM_RUN" notebook_manager.py remove --id notebook-id

# Library statistics
python3 "$NOTEBOOKLM_RUN" notebook_manager.py stats

Internal integration boundary (for blog-write / blog-researcher)

This skill's ask_question.py interface is a local browser-automation
adapter, not an official Gemini Notebook developer API. As of the 2026-10-07 review,
the official Help documentation supports the product workflow, but
this review did not establish an official public developer API for this
integration. Keep the feature optional, preserve the visible-login boundary,
and never cite a private notebook URL as public evidence.

When the orchestrator invokes this skill for blog-write or blog-researcher research (the orchestrator runs it itself; blog-researcher has no Skill or Bash tool):

Input (provided by calling skill):

  • question: Research question relevant to the blog topic
  • notebook_id or notebook_url: Which notebook to query
  • context: "internal" (signals graceful fallback mode)

Process:

  1. Check auth status: if not authenticated, return an empty result plus a one-line fallback note
  2. Query the notebook with the research question
  3. Parse and return structured response

Output (returned to calling skill):

### NotebookLM Research
- **Source:** [Notebook name]
- **Question:** [What was asked]
- **Answer:** [Source-grounded response from user's documents]
- **Underlying Source:** [Public source URL or document identifier]
- **Underlying Source Date:** [Publication date or retrieval date]
- **Source Quality:** [Tier 1-3 after classifying the underlying document]

Graceful fallback: If auth is missing or query fails, return immediately
with no error and a one-line fallback note for the caller's final summary. The calling workflow continues with WebSearch-based research.
Never block blog-write or blog-rewrite because NotebookLM is unavailable.

Data Storage

All data stored inside the skill directory:

  • data/library.json: Notebook metadata and library
  • data/auth_info.json: Authentication status
  • data/browser_state/: Chrome profile with cookies

Security: All data directories are gitignored. Never commit auth or browser state.

Browser lifecycle and authenticated-context isolation are centralized in
scripts/browser_session.py. Command scripts must use that helper instead of
opening an additional persistent profile or copying cookies into another file.

Error Handling

ErrorResolution
Not authenticatedRun /blog notebooklm setup
ModuleNotFoundErrorAlways use run.py wrapper
Browser crashcleanup_manager.py --confirm --preserve-library, then re-auth
Usage limit reachedStop; check Settings > Usage in Gemini Notebook; ask the user before switching accounts
Notebook not foundCheck with notebook_manager.py list
Query timeout (120s)Retry with simpler question or --show-browser to debug
Not configured or declined (internal)Return a one-line fallback note: writing workflow uses WebSearch and reports it

Limitations

  • No session persistence (each question = new browser session)
  • Compute-based usage limits that vary by Google plan (no fixed per-day number is published)
  • Manual upload required (user must add docs to NotebookLM web UI)
  • Browser overhead (few seconds per question for launch + teardown)
  • Local Claude Code only (not available in web UI)

Reference Documentation

Load on-demand: do NOT load all at startup:

  • ${CLAUDE_SKILL_DIR}/references/commands.md: Full CLI commands, parameters, and workflow patterns
  • ${CLAUDE_SKILL_DIR}/references/troubleshooting.md: Error solutions, recovery procedures, debugging
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
blog-clusterSemantic topic cluster planning and automated execution engine for claude-blog. Performs SERP-based keyword research, groups keywords by search intent and SERP overlap, builds a hub-and-spoke cluster architecture, generates an interactive SVG cluster map, and executes the full cluster by orchestrating blog-write calls with shared cluster context and automatic internal-link injection. Fills the strategy-to-execution gap: blog-strategy plans the blueprint, blog-cluster builds the house. Use when user says "blog cluster", "topic cluster", "content cluster", "cluster plan", "cluster execute", "cluster map".0 installsblog-multilingualOne-command multilingual blog creation. Writes a blog post, translates it into user-specified languages, applies cultural adaptation, and emits hreflang tags, sitemap entries, and a CMS-ready language map. The complete write-to-publish pipeline for international content. Orchestrates blog-write, blog-translate, blog-localize, and (optionally) seo-hreflang. Use when user says "multilingual blog", "blog multilingual", "write in multiple languages", "international blog", "mehrsprachiger Blog", "blog multilingue", "blog multilingue", "create blog in German and French".0 installsblog-discourseResearch what people are actually saying about a topic in the last 30 days across Reddit, X / Twitter, YouTube, Hacker News, dev.to, Medium, and other public discourse platforms. API-free; uses WebSearch with platform-targeted site operators plus recency filters. Produces DISCOURSE.md (a structured brief) and JSON output the writer can consume. Complements blog-researcher (which focuses on authority sources) with a recency-and-engagement lens. Not for verifying statistics (blog-factcheck) or gathering authority sources. Use when user says "blog discourse", "discourse research", "what are people saying about", "research what people are saying", "voice of customer", "social listening", "30-day research", "trend research", "what's the discussion on", "real-time research", "practitioner discourse", "/blog discourse".0 installsblog-auditFull-site blog health assessment scanning all blog files for quality scores, orphan pages, topic cannibalization, stale content, and AI citation readiness. Runs canonical batch analysis before site-wide checks. Produces per-post scores and a prioritized action queue. Use when the user asks for a site-wide blog health check across many posts ("blog audit", "blog health", "audit all posts", "site audit of the blog"). For one post, or a quality score with fixes for a few named files, use blog-analyze instead.0 installsblog-seo-checkPost-writing SEO validation with pass/fail checklist covering title tag clarity and uniqueness, meta description quality, heading hierarchy, internal/external link audit with anchor text analysis, canonical URL verification, Open Graph meta tags (og:title, og:description, og:image), Twitter Card validation, structured data presence and validity, URL structure optimization, and image alt text presence. Produces prioritized fix list with specific recommendations. Use for ONE finished post when the user says "seo check", "validate seo", "on-page seo", "title tag check", "link audit". Not for a whole-site audit (blog-audit, claude-seo), AI-citation scoring (blog-geo), schema generation (blog-schema), or the delivery gates (blog_preflight.py).0 installsblog-chartInternal capability, not user-invocable: the orchestrator calls it while running blog-write or blog-rewrite to turn research data into dark-mode compatible inline SVG charts (horizontal bar, grouped bar, donut, line, lollipop, area, radar) for HTML or MDX. Produces accessible markup (role=img, aria-labelledby, unique ids), source attribution and transparent backgrounds. Agents cannot call it.0 installs

More from claude-blog

View source →
blog-imagePaid Gemini image generation for blog heroes, inline illustrations, and OG cards (direct API by default, optional MCP for edits). Asks for explicit consent before the first paid call. Runs only on an explicit request: /blog image, "generate a blog hero image", "blog illustration", "edit this blog image", "OG image", or when blog-write or blog-rewrite needs a hero. Not for charts (blog-chart) or stock-photo search.2 installsblog-outlineSERP-informed outline generation with H2/H3 heading hierarchy, competitive content gap analysis, section-by-section word count targets, chart and image placement markers, optional FAQ question planning, and internal linking zones. Skeleton only: structure, H2/H3 hierarchy, word counts, optional FAQ slots. Use blog-brief instead if you need full competitive analysis, statistics research, and image suggestions. Lighter than a full content brief, generates article skeleton and structure only, ready for /blog write to consume. Use when user says "outline", "blog outline", "content outline", "structure blog", "plan sections", "article skeleton", "heading structure", "SERP analysis", "competitive outline", "plan article".1 installsblog-personaCreate and manage writing personas with NNGroup 4-dimension tone framework (Funny-Serious, Formal-Casual, Respectful-Irreverent, Enthusiastic-Matter-of-fact). Personas define readability targets, sentence length distribution, vocabulary tier, contraction frequency, and summary box label. blog-write and blog-rewrite load the active persona as writer guidance. Use when the user says "create persona", "use persona", "list personas", or wants tone sliders and writing rules saved as structured JSON. Not for measuring style from existing posts (blog-style) or for audience, positioning, and taboo-phrase context files (blog-brand).1 installsblog-rewriteRewrite and optimize existing blog posts for Google SEO (E-E-A-T, helpful content) and AI citation visibility as one SEO discipline. For AI-citation-only audit (no Google work), use blog-geo instead. Replaces fabricated statistics with sourced data, applies answer-first formatting, adds images, generates SVG charts, and updates modified dates only for substantive changes. Works with any blog format (MDX, markdown, HTML). Use when user says "rewrite blog", "optimize blog", "update blog", "improve blog", "fix blog".0 installsblog-strategyBuild a blog-level strategy for a niche or business: audience segments, 3-5 content pillars with hub-and-spoke clusters, competitive gaps, measurement plan, and a 90-day roadmap. Use when the user says "blog strategy", "content strategy", "blog positioning", "content pillars", "what should I blog about". Not for a dated publishing schedule (blog-calendar), SERP-validated cluster maps (blog-cluster), or a brief or outline for one post (blog-brief, blog-outline). Makes no promise of rankings or AI citations.0 installsblog-writeWrite a new blog article from scratch for Google rankings and AI citations, then take it through the delivery gates. Generates the full article with template selection, answer-first formatting, Key Takeaways box, sourced statistics, licensed images, built-in SVG charts, optional FAQ and internal linking, in MDX, markdown or HTML. Use when the user asks to write a new blog post or article from a topic or brief ("write a blog post", "draft a new article", "/blog write"). Not for editing an existing post (blog-rewrite), and not for a standalone outline, brief or research request.0 installs

More Build skills

Browse category →
senior-frontendBuild and review React, Next.js, TypeScript or Tailwind frontends: components, scaffolding, performance and bundle size. Use whenever the user wants a new component or app, a page feels slow, the bundle is too big, or asks for a frontend code review.651 installsui-design-systemUse when building a design system: tokens, component docs, responsive scales or developer handoff. Generates tokens with design_token_generator.py.552 installsfrontend-designGuidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making choices that don't read as templated defaults.363 installssenior-backendBuild and fix backend services: REST or GraphQL APIs, auth, microservices, PostgreSQL queries, migrations and load tests. Use whenever the user's API is slow or broken, needs login or auth added, a schema change, or a new endpoint or service scaffolded.264 installsself-improving-agentCurate what the agent has learned into durable project knowledge. Reviews Claude Code auto-memory (MEMORY.md and its topic files) for learnings worth keeping, promotes proven ones into CLAUDE.md or .claude/rules/, records a correction as a lesson that persists across sessions, prunes stale or duplicate entries, and turns a recurring fix into a reusable skill. Use whenever the user asks what you have learned or saved about the project, which memories should become permanent rules, to remember a lesson or stop repeating a mistake, or to clean up, audit or check memory health.184 installsusing-superpowersUse when starting any conversation - establishes how to find and use skills, requiring skill invocation before ANY response including clarifying questions148 installs

Frequently asked questions about blog-notebooklm

What does the blog-notebooklm skill do?

Query a user's Gemini Notebook (formerly NotebookLM) for source-grounded answers through a logged-in browser session on their Google account. Uses the account's usage limits and writes browser state. Runs only on an explicit request: /blog notebooklm, "ask my Gemini Notebook", "ask my NotebookLM notebook", or "query my notebook library". Also used by blog-write when the user named a notebook for research. Not for generic research or note-taking. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the blog-notebooklm skill?

Run `npx @skills-hub-ai/cli install claude-blog-blog-notebooklm` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/claude-blog-blog-notebooklm/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does blog-notebooklm work with?

blog-notebooklm runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the blog-notebooklm skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use blog-notebooklm after installing it?

In Claude Code, type `/claude-blog-blog-notebooklm` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the blog-notebooklm skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.