Skip to main content
skill CX Codex

notebooklm · roomi-fields — Claude Code skill: what it does, how to install

Queries Google NotebookLM notebooks for citation-backed answers from uploaded sources and generates Studio assets like mind maps or quizzes.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add roomi-fields/notebooklm-mcp --skill notebooklm -a claude-code
Open on GitHub

What notebooklm does

The skill connects your agent to the @roomi-fields/notebooklm-mcp engine either through direct MCP tools (notebook_ask, source_add) or via scripts/nblm.sh over HTTP at http://localhost:3000. It restricts answers strictly to passages uploaded to your Google NotebookLM notebooks. Every response includes direct source citations without drawing on general web knowledge.

Beyond answering questions, it triggers Studio generation endpoints. You can produce reports, flashcards, study quizzes, audio overviews, or mind maps from your source material. Pass a persistent session_id to continue a thread, or omit it to speed up standalone queries.

You must complete an interactive Google login in a real terminal via notebooklm-mcp-setup-auth before making queries. Free accounts hit a ceiling of roughly 50 queries per day, making offline batch caching necessary for extensive literature reviews.

What it helps with

  • query private NotebookLM notebooks with verified passage citations
  • generate Studio study aids such as quizzes, flashcards, and mind maps
  • check connection and Google authentication status
  • list available Google NotebookLM notebooks and inspect sources

Example prompts for the agent

  • List my NotebookLM notebooks
  • Ask notebook 123abc what methodology was used in the study
  • Generate a mind map for notebook 456def

How to install notebooklm

1Skills CLI (Vercel)

npx skills add roomi-fields/notebooklm-mcp --skill notebooklm -a claude-code

2Manually: put the files in place

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

Copy the whole skill folder; for one project use .claude/skills/notebooklm/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about notebooklm

How to install notebooklm in Claude Code?

Run npx skills add roomi-fields/notebooklm-mcp --skill notebooklm -a claude-code in your terminal.

What does notebooklm do?

It connects your coding agent to Google NotebookLM, allowing you to ask questions with source citations and generate Studio materials like flashcards or reports.

Why does Google login need to run in a separate terminal?

Interactive authentication opens a visible Chrome window and can take minutes. Running notebooklm-mcp-setup-auth or scripts/nblm.sh auth in a terminal prevents stdio tool timeouts.

Source text

SKILL.md · MIT
---
name: notebooklm
description: This skill should be used when the user wants to query their Google NotebookLM notebooks for citation-backed, source-grounded answers, or manage notebooks, sources, and Studio content (audio, report, video, infographic, presentation, data table, flashcards, quiz, mind map). It drives the @roomi-fields/notebooklm-mcp engine — via the notebooklm MCP tools when they are available in the session, otherwise via its HTTP REST API — and covers Google login, citation formats, the daily-quota-aware batch/ingestion pattern, and source discovery.
---

# NotebookLM

## Overview

NotebookLM answers questions **only from the sources uploaded to a notebook**,
with inline citations to the exact passages used — no open-web knowledge, so
answers are hallucination-resistant and fully traceable. This skill drives the
`@roomi-fields/notebooklm-mcp` engine to query notebooks, manage sources, and
generate Studio content, and encodes the patterns that make NotebookLM usable at
research scale (citation formats, the ~50-queries/day quota, batch-to-cache).

## Choosing the transport

Two ways reach the same engine — pick per what the session already has:

1. **notebooklm MCP tools** — if tools such as `notebook_ask` / `source_add` /
   `server_health` (or `mcp__notebooklm__*`) are available in the session, call
   them directly. This is the preferred path and needs no server.
2. **HTTP REST API** — otherwise, use the bundled `scripts/nblm.sh`, which talks
   to a running NotebookLM MCP server (default `http://localhost:3000`,
   override with `NOTEBOOKLM_SERVER_URL`). If no server is reachable, ask the
   user to start one (`npm run start:http` from a clone) or to install the MCP.

Both are backed by the same account and session, so the choice is purely about
which is already wired up.

## Prerequisite: one Google login

NotebookLM needs a signed-in Google session (saved once, reused across runs).
Verify with `nblm.sh health` (or the `server_health` tool) — look for
`authenticated: true`. If not authenticated, run the interactive login **in a
terminal** (a visible Chrome window opens):

```bash
notebooklm-mcp-setup-auth          # global install
# or:  scripts/nblm.sh auth
```

Run the login in a terminal rather than through an in-client tool: interactive
Google login can take minutes and a stdio client's tool-call timeout may cut it
off.

## Core tasks

Use `scripts/nblm.sh` for the REST path (or the equivalent MCP tool):

```bash
scripts/nblm.sh health                       # reachability + auth status
scripts/nblm.sh notebooks                     # list notebooks (id + name)
scripts/nblm.sh ask "<question>" <notebook_id>   # citation-backed answer (JSON citations)
scripts/nblm.sh generate <notebook_id> report   # audio|report|video|infographic|presentation|data_table|flashcards|quiz|mind_map
```

- **Ask**: the script requests `source_format: json`, so the answer carries
  source names + cited excerpts. For a human-facing answer, prefer `expanded`
  (see `references/rest-api.md` to vary the format).
- **Generate**: `flashcards`/`quiz` route to the study-aid endpoint and
  `mind_map` to the mind-map endpoint automatically.

## Working effectively (read before large runs)

For anything beyond a few questions, load `references/research-workflows.md`. Key
points:

- **Quota**: free accounts cap at ~50 chat queries/day. Rotate accounts
  (`/re-auth`) or, better, **ingest once and retrieve offline**.
- **Batch → cache**: for literature reviews / SOTA surveys, run an exhaustive
  question set through `/batch-to-vault` (writes markdown + `nblm-answer-v1` JSON
  sidecars with citations), then answer repeated questions from the cache
  (e.g. with [RTFM](https://github.com/roomi-fields/rtfm)) — unlimited, offline.
- **Fresh vs. follow-up**: omit `session_id` for independent questions (fastest);
  pass a stable one to continue a conversation.

## References

- `references/rest-api.md` — endpoint + body reference for the HTTP path.
- `references/research-workflows.md` — citation formats, quota strategy, the
  batch/ingestion pattern, source discovery.

## Installing the engine

If neither the MCP tools nor a server are present, the engine is the npm package
[`@roomi-fields/notebooklm-mcp`](https://github.com/roomi-fields/notebooklm-mcp)
(also a Claude Code plugin via the `roomi-fields/claude-plugins` marketplace).
Point the user there, then run the one-time login above.

© roomi-fields · MIT · roomi-fields/notebooklm-mcp

Similar skills

All skills for AI and ML →

notebooklm by other authors comes first.

notebooklm Alireza Rezvani Automates Google NotebookLM via browser control. It lets Claude Code query existing notebooks, add sources, and generate Studio outputs like summaries or audio overviews. 325installs notebooklm giuseppe-trisciuoglio A skill that wires your agent to Google NotebookLM through the nlm CLI: query docs, add sources, generate podcasts and reports. CX Codex +1 3,500installs notebooklm sanjay3290 Connects Claude Code to Google NotebookLM via Playwright browser automation to ask notebook questions, sync local documents, and export notes to JSON or Markdown. CX Codex +1 375installs skill-creator official anthropics Creates and refines skills, then tests them with prompts, evaluations, and performance checks. 414,180installs writing-for-agents Matt Pocock Guidance for writing skills and agent-facing documents. Use it when editing AGENTS.md, CLAUDE.md, or reference files reached from them. 466,719installs media-use heygen-com Finds or generates media for HyperFrames videos, including voiceovers, music, cutouts, and color grades. Stores files locally in assets. CX Codex +1 1,100,000installs mcp-builder official anthropics This skill walks through building an MCP server in TypeScript or Python, from reading the protocol spec to writing tests and evaluation questions. 130,949installs subagent-driven-development Jesse Vincent This skill runs an implementation plan through fresh subagents for independent tasks and reviews each result. Use it for multi-step work in one session. CX Codex 237,746installs orchestration stablyai Coordinates supervised Orca workers with task DAGs, decision gates, and threaded messages. Fits workflows that split work across multiple agents. CX Codex +1 350,300installs

From the same set2

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor