notebooklm-management
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.
What this skill does
# 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_health` - `list_notebooks`, `search_notebooks`, `select_notebook` - `ask_question` - `add_notebook`, `update_notebook`, `remove_notebook` - `list_sessions`, `reset_session`, `close_session` - `setup_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 1. Call `get_health` first to confirm authentication and server readiness. 2. Reuse an existing session when the task is the same. 3. Prefer `search_notebooks` or `list_notebooks` before asking the user to restate what is already in the library. 4. Use `ask_question` iteratively in the same session for deep work. 5. Use `setup_auth` or `re_auth` only 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_session` or 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": 1. Pass/fail: The Notebooklm Management workflow names the agent boundary, delegated scope, and expected return artifact. 2. Pass/fail: Context passed to helpers is minimal, task-local, and free of hidden expected answers. 3. Pass/fail: Results are integrated only after evidence, diffs, or citations are checked by the controller. 4. Pressure-test scenario: Run the workflow on two similar tasks that must not share assumptions or leaked context. 5. Success metric: Zero context leakage; every delegated output is independently reviewable. ## References & Resources ### Documentation - [MCP Tool Reference](./references/mcp-tool-reference.md) - Current NotebookLM MCP operations and parameters - [Troubleshooting Guide](./references/troubleshooting.md) - Auth recovery, cleanup, and session issues - [Workflows](./references/workflows.md) - Library, query, and maintenance workflows ### Scripts - [NotebookLM Helper](./scripts/notebooklm-helper.py) - Local helper for library exports and reporting when MCP access is unavailable - [Scripts README](./scripts/README.md) - Quick commands for the helper script ### Examples - [simple-query.py](./examples/simple-query.py) - Basic query pattern - [multi-turn-conversation.py](./examples/multi-turn-conversation.py) - Session reuse pattern - [library-management.py](./examples/library-management.py) - Library search and organization <!-- PORTABILITY:START --> ## 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-management` from this skill. Rebuild commands with `python scripts/export-gemini-skill.py notebooklm-management` and then run `/commands reload` inside Gemini CLI. <!-- PORTABILITY:END --> <!-- MCP:START --> ## 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. <!-- MCP:END --> ## Related Skills - [documentation-authoring](../documentation-authoring/SKILL.md): Use it when the workflow also needs drafting structured technical or product documents. - [notion-docs](../notion-docs/SKILL.md): Use it when the workflow also needs Notion page and database publishing workflows. - [pdf](../pdf/SKILL.md): Use it when the workflow also needs PDF extraction, generation, and layout-aware review. - [word-document](../word-document/SKILL.md): Use it when the workflow also needs Word document authoring and formatting workflows.
Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.