notebooklm
Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
- License 许可
- MIT
- 最近更新
- 2026-07-20
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- notebooklm
- version
- 4.1.0-fractal
- description
- Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.
02 资源文件 28
- 参考文档AUTHENTICATION.md5.6 KB
- 参考文档CHANGELOG.md1.7 KB
- 资产文件images/example_notebookchat.png134.3 KB
- 许可证LICENSE1.0 KB
- 参考文档README.md15.5 KB
- 参考文档references/api_reference.md7.5 KB
- 参考文档references/troubleshooting.md8.8 KB
- 参考文档references/usage_patterns.md9.3 KB
- 参考文档requirements.txt325 B
- 脚本scripts/__init__.py2.6 KB
- 脚本scripts/ask_question.py8.0 KB
- 脚本scripts/auth_manager.py11.3 KB
- 脚本scripts/browser_session.py8.5 KB
- 脚本scripts/browser_utils.py3.4 KB
- 脚本scripts/cleanup_manager.py9.5 KB
- 脚本scripts/config.py1.2 KB
- 脚本scripts/notebook_manager.py13.4 KB
- 脚本scripts/run.py2.9 KB
- 脚本scripts/setup_environment.py7.0 KB
- 参考文档sub-skills/authentication-management-auth_managerpy.md364 B
- 参考文档sub-skills/data-cleanup-cleanup_managerpy.md3.3 KB
- 参考文档sub-skills/notebook-management-notebook_managerpy.md435 B
- 参考文档sub-skills/question-interface-ask_questionpy.md165 B
- 参考文档sub-skills/quick-workflow.md175 B
- 参考文档sub-skills/step-1-check-authentication-status.md136 B
- 参考文档sub-skills/step-2-authenticate-one-time-setup.md336 B
- 参考文档sub-skills/step-3-manage-notebook-library.md856 B
- 参考文档sub-skills/step-4-ask-questions.md1.1 KB
03 SKILL.md 正文
NotebookLM Research Assistant Skill
Interact with Google NotebookLM to query documentation with Gemini's source-grounded answers. Each question opens a fresh browser session, retrieves the answer exclusively from your uploaded documents, and closes.
When to Use This Skill
Trigger when user:
- Mentions NotebookLM explicitly
- Shares NotebookLM URL (
https://notebooklm.google.com/notebook/...) - Asks to query their notebooks/documentation
- Wants to add documentation to NotebookLM library
- Uses phrases like "ask my NotebookLM", "check my docs", "query my notebook"
⚠️ CRITICAL: Add Command - Smart Discovery
When user wants to add a notebook without providing details:
SMART ADD (Recommended): Query the notebook first to discover its content:
# Step 1: Query the notebook about its content
python scripts/run.py 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: Use the discovered information to add it
python scripts/run.py notebook_manager.py add --url "[URL]" --name "[Based on content]" --description "[Based on content]" --topics "[Based on content]"
MANUAL ADD: If user provides all details:
--url- The NotebookLM URL--name- A descriptive name--description- What the notebook contains (REQUIRED!)--topics- Comma-separated topics (REQUIRED!)
NEVER guess or use generic descriptions! If details missing, use Smart Add to discover them.
Critical: Always Use run.py Wrapper
NEVER call scripts directly. ALWAYS use python scripts/run.py [script]:
# ✅ CORRECT - Always use run.py:
python scripts/run.py auth_manager.py status
python scripts/run.py notebook_manager.py list
python scripts/run.py ask_question.py --question "..."
# ❌ WRONG - Never call directly:
python scripts/auth_manager.py status # Fails without venv!
The run.py wrapper automatically:
- Creates
.venvif needed - Installs all dependencies
- Activates environment
- Executes script properly
Core Workflow
🧠 Knowledge Modules (Fractal Skills)
1. Step 1: Check Authentication Status
2. Step 2: Authenticate (One-Time Setup)
3. Step 3: Manage Notebook Library
4. Quick Workflow
5. Step 4: Ask Questions
6. Authentication Management (auth_manager.py)
7. Notebook Management (notebook_manager.py)
8. Question Interface (ask_question.py)
9. Data Cleanup (cleanup_manager.py)
04 同仓库更多 Skills
web-quality-audit
Comprehensive web quality audit covering performance, accessibility, SEO, and best practices. Use when asked to "audit my site", "review web quality", "run lighthouse audit", "check page quality", or "optimize my website".
loki-mode
Multi-agent autonomous startup system for Claude Code. Triggers on "Loki Mode". Orchestrates 100+ specialized agents across engineering, QA, DevOps, security, data/ML, business operations, marketing, HR, and customer success. Takes PRD to fully deployed, revenue-generating product with zero human intervention. Features Task tool for subagent dispatch, parallel code review with 3 specialized reviewers, severity-based issue triage, distributed task queue with dead letter handling, automatic deployment to cloud providers, A/B testing, customer feedback loops, incident response, circuit breakers, and self-healing. Handles rate limits via distributed state checkpoints and auto-resume with exponential backoff. Requires --dangerously-skip-permissions flag.
best-practices
Apply modern web development best practices for security, compatibility, and code quality. Use when asked to "apply best practices", "security audit", "modernize code", "code quality review", or "check for vulnerabilities".
accessibility
Audit and improve web accessibility following WCAG 2.1 guidelines. Use when asked to "improve accessibility", "a11y audit", "WCAG compliance", "screen reader support", "keyboard navigation", or "make accessible".
content-creator
Create SEO-optimized marketing content with consistent brand voice. Includes brand voice analyzer, SEO optimizer, content frameworks, and social media templates. Use when writing blog posts, creating social media content, analyzing brand voice, optimizing SEO, planning content calendars, or when user mentions content creation, brand voice, SEO optimization, social media marketing, or content strategy.
react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.