NotebookLM MCP server management - query notebooks, add from share links, handle auth, reset sessions. Use when working with Google NotebookLM notebooks for conversational research tasks.
Install
mkdir -p .claude/skills/notebooklm-management && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14341" && unzip -o skill.zip -d .claude/skills/notebooklm-management && rm skill.zipInstalls to .claude/skills/notebooklm-management
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
NotebookLM MCP server management - query notebooks, add from share links, handle auth, reset sessions. Use when working with Google NotebookLM notebooks for conversational research tasks.About this skill
NotebookLM MCP Management
Tech Stack Target / Version: NotebookLM current web release, Markdown session capture, and URL-tracked research workflows.
Use this skill when research should be grounded in NotebookLM notebooks instead of a generic web search.
- Leverage native parallel subagent dispatch and 200k+ context windows where available.
Current MCP Reality
This repository already targets a real NotebookLM MCP workflow. The concrete tool surface available in this environment includes:
get_healthlist_notebooks,search_notebooks,select_notebookask_questionadd_notebook,update_notebook,remove_notebooklist_sessions,reset_session,close_sessionsetup_auth,re_auth,cleanup_data
Activation Conditions
Use symptom -> action triggers: when one matches, apply this skill and verify with the protocol below.
- Querying a specific NotebookLM notebook
- Adding a notebook from a share URL
- Managing a notebook library or switching active notebooks
- Recovering authentication or cleaning NotebookLM state
- Continuing a multi-turn research session
Recommended Workflow
- Call
get_healthfirst to confirm authentication and server readiness. - Reuse an existing session when the task is the same.
- Prefer
search_notebooksorlist_notebooksbefore asking the user to restate what is already in the library. - Use
ask_questioniteratively in the same session for deep work. - Use
setup_authorre_authonly when health indicates auth problems.
Library Management Rules
- Do not add or remove notebooks without explicit user confirmation.
- When adding a notebook, collect URL, description, topics, and use cases first.
- Update metadata instead of creating duplicates when the notebook already exists.
Troubleshooting
- Auth broken:
get_health->re_auth - Stale browser state:
cleanup_data(preserve_library=true)after closing browsers - Wrong context:
reset_sessionor switch notebooks - Ambiguous notebook choice: search the library before creating a new one
Anti-Patterns
- Treating source content as already clean: Formatting automation will happily preserve broken or inconsistent input.
- Skipping an open-file verification pass: Documents and spreadsheets often fail in the destination app, not in the script output.
- Automating irreversible edits without checkpoints: A small mapping mistake can affect an entire workbook or document.
Verification Protocol
Before claiming "skill applied successfully":
- Pass/fail: The Notebooklm Management workflow names the agent boundary, delegated scope, and expected return artifact.
- Pass/fail: Context passed to helpers is minimal, task-local, and free of hidden expected answers.
- Pass/fail: Results are integrated only after evidence, diffs, or citations are checked by the controller.
- Pressure-test scenario: Run the workflow on two similar tasks that must not share assumptions or leaked context.
- Success metric: Zero context leakage; every delegated output is independently reviewable.
References & Resources
Documentation
- MCP Tool Reference - Current NotebookLM MCP operations and parameters
- Troubleshooting Guide - Auth recovery, cleanup, and session issues
- Workflows - Library, query, and maintenance workflows
Scripts
- NotebookLM Helper - Local helper for library exports and reporting when MCP access is unavailable
- Scripts README - Quick commands for the helper script
Examples
- simple-query.py - Basic query pattern
- multi-turn-conversation.py - Session reuse pattern
- library-management.py - Library search and organization
Cross-Client Portability
This skill is written to stay usable across GitHub Copilot, Claude Code, Codex, and Gemini CLI.
- GitHub Copilot: keep the folder in a Copilot-visible skill or plugin path, or wrap the workflow as project instructions if the host does not support portable skill folders directly.
- Claude Code: keep the folder in a local skills directory or a compatible plugin or marketplace source.
- Codex: install or sync the folder into
$CODEX_HOME/skills/<skill-name>and restart Codex after major changes. - Gemini CLI: this repository generates a project command named
/skills:notebooklm-managementfrom this skill. Rebuild commands withpython scripts/export-gemini-skill.py notebooklm-managementand then run/commands reloadinside Gemini CLI.
MCP Availability And Fallback
Preferred MCP Server: NotebookLM MCP
- Fallback prompt: "Use the NotebookLM MCP Management skill without MCP. Rely on the local
SKILL.md, bundled references or scripts, and manual verification. Show the exact commands, evidence, and final checks you used before concluding." - Use the NotebookLM web UI directly, capture answers in Markdown, and store session notes locally when the MCP server is unavailable.
- Preserve notebook URLs, prompt history, and manual research notes so the workflow remains reproducible.
Related Skills
- documentation-authoring: Use it when the workflow also needs drafting structured technical or product documents.
- notion-docs: Use it when the workflow also needs Notion page and database publishing workflows.
- pdf: Use it when the workflow also needs PDF extraction, generation, and layout-aware review.
- word-document: Use it when the workflow also needs Word document authoring and formatting workflows.