AgentSkillsCN

notebooklm-management

全面的NotebookLM MCP服务器及其工具管理工具集。在被要求查询NotebookLM笔记本、从分享链接添加新笔记本、管理笔记本库、处理身份验证问题、重置会话,或与Google的NotebookLM对话式研究服务合作时使用。涵盖笔记本发现、问答、会话管理以及元数据更新。

SKILL.md
--- frontmatter
name: notebooklm-management
description: Comprehensive toolkit for managing NotebookLM MCP server and its tools. Use when asked to query NotebookLM notebooks, add new notebooks from share links, manage notebook library, handle authentication issues, reset sessions, or work with Google's NotebookLM conversational research service. Covers notebook discovery, question-answering, session management, and metadata updates.
license: MIT

NotebookLM MCP Management

Advanced toolkit for managing NotebookLM MCP server integration with GitHub Copilot. This skill enables effective use of NotebookLM's conversational AI research capabilities through MCP tools.

When to Use This Skill

Activate this skill when:

  • User mentions "NotebookLM", "notebook.lm", or "Google's AI research notebooks"
  • Asked to query information from existing NotebookLM notebooks
  • Requested to add a new notebook from a Google share link
  • Need to manage notebook library (list, search, select notebooks)
  • Troubleshooting NotebookLM authentication or session issues
  • Working with knowledge bases stored in NotebookLM
  • Performing conversational research or RAG-based queries
  • Managing session context and chat history
  • Updating notebook metadata (topics, descriptions, tags)

Capabilities

Core Operations

  • Notebook Discovery: List library notebooks, search by topics/tags
  • Query Interface: Ask questions about notebook content with contextual understanding
  • Notebook Integration: Add notebooks via Google share URLs
  • Session Management: Reset sessions, manage authentication state
  • Metadata Management: Update notebook information (name, description, topics, use cases)

Authentication Handling

  • Initial Google authentication setup via browser
  • Session recovery and refresh
  • Cookie management for persistent access
  • Rate limit handling and troubleshooting

Prerequisites

Required Accounts

  • Google account with NotebookLM access (free tier or subscription)
  • Existing NotebookLM notebooks or share links

MCP Server Configuration

Ensure NotebookLM MCP server is properly configured in your MCP settings.

Browser Access

  • Google Chrome or compatible browser for OAuth flow

Understanding of Limits

  • Free tier: 100 notebooks, 50 sources each, 500k words, 50 daily queries
  • Pro/Ultra: 5x higher limits

Quick Reference Workflows

For detailed step-by-step workflows, see workflows.md.

Quick Actions

ActionKey StepsDetails
Add NotebookGather info → Propose → ConfirmFull flow in workflows.md
Query NotebookSelect → Formulate → ExecuteFull flow in workflows.md
Manage LibraryList → Search → UpdateFull flow in workflows.md
Update MetadataIdentify → Verify → ApplyFull flow in workflows.md
Troubleshoot AuthDiagnose → Repair → VerifyFull guide in troubleshooting.md
Reset SessionIdentify → Confirm → ResetFull guide in workflows.md

Common Patterns

Add Notebook: See examples/add-notebook.py for usage patterns Query Notebook: See examples/simple-query.py for basic queries Multi-Turn: See examples/multi-turn-conversation.py for conversation flow Library Management: See examples/library-management.py for management tasks Ad-Hoc Queries: See examples/adhoc-query.py for temporary queries

MCP Tool Reference

For complete tool documentation, see MCP Tool Reference.

Quick Reference

ToolPurposeRequired ParamsKey Options
add_notebookAdd from share linkurl, name, description, topicscontent_types, use_cases, tags
ask_questionQuery notebooksquestionnotebook_id, session_id, notebook_url
list_notebooksShow all notebooksNone-
search_notebooksSearch libraryquery-
update_notebookUpdate metadataidname, description, topics, etc.
reset_sessionClear chat historysession_id-

See mcp-tool-reference.md for detailed parameters, examples, and best practices.

Interactive Workflows

Common Scenarios

First-Time User: User mentions NotebookLM → Check Library → Decide needed action

Conversational Research: Select notebook → Query → Explore with follow-ups → Reset if needed

Library Management: Audit library → Organize topics → Update metadata → Remove outdated notes

For detailed implementation of these flows, see workflows.md

Best Practices Quick Guide

AreaBest PracticeDetails
Query FormulationBe specific and contextualUse follow-up questions, leverage sessions
Metadata QualityDescriptive names, good topics3-5 topics, clear use cases
AuthenticationCheck before queriesHandle rate limits gracefully
Library OrganizationGroup by topic, use tagsUpdate regularly, remove outdated

Troubleshooting Quick Reference

For comprehensive troubleshooting guide, see troubleshooting.md

IssueQuick FixDetails
Auth Requirednotebooklm.auth-setupSee Auth Issues
Query TimeoutCheck network, simplify querySee Query Issues
Session Expiredreset_session or new sessionSee Session Issues
Rate LimitWait or upgrade accountSee Rate Limit

Common Code Patterns

For full examples with context, see examples/ folder.

Simple Query

python
# Single question to a notebook
response = ask_question(
    question="How do I use useEffect?",
    notebook_id="react-docs-123"
)

Details: simple-query.py

Add Notebook

python
# Add with good metadata
add_notebook(
    url="https://notebooklm.google/share/abc",
    name="React Guide",
    description="Complete React guide",
    topics=["React", "Frontend", "JavaScript"]
)

Details: add-notebook.py

Additional Resources

Documentation

Code Examples

Utility Scripts

External References

Script Quick Start

bash
# List all notebooks
python scripts/notebooklm-helper.py list

# Search for notebooks
python scripts/notebooklm-helper.py search --query "react"

# Generate quality report
python scripts/notebooklm-helper.py report

# Export library
python scripts/notebooklm-helper.py export --output backup.json

See scripts/README.md for complete usage guide.

Encoding

All files are UTF-8 encoded without BOM. Ensure all modifications maintain this encoding standard.