技能 notebooklm
📚

notebooklm

低風險 ⚙️ 外部命令🌐 網路存取📁 檔案系統存取🔑 環境變數

從 Claude 查詢 NotebookLM 筆記本

也可從以下取得: teng-lin

此技能使 Claude 能夠直接查詢 Google NotebookLM 筆記本,提供基於 Gemini 且引用您上傳文件的源本答案,大幅減少 AI 幻覺。

支援: Claude Codex Code(CC)
🥉 75 青銅
1

下載技能 ZIP

2

在 Claude 中上傳

前往 設定 → 功能 → 技能 → 上傳技能

3

開啟並開始使用

測試它

正在使用「notebooklm」。 問:我的研究筆記本的主要發現是什麼?

預期結果:

根據您筆記本中的文件,主要發現是 [您文件中的具體內容]。這得到了 [來源引用] 的支持。關鍵證據包括 [文件中的附加詳情]。

正在使用「notebooklm」。 問:列出我項目文檔中的所有 API 端點

預期結果:

您的項目文檔包含以下 API 端點:/api/users (GET, POST)、/api/auth (POST)、/api/documents (GET, POST, PUT, DELETE)。每個端點都在 OpenAPI 規範部分中記錄了請求/響應模式。

安全審計

低風險
v1 • 2/24/2026

This skill is a legitimate Google NotebookLM integration using browser automation. The static findings are false positives triggered by: (1) shell command examples in documentation, (2) Playwright browser automation code for Google authentication, (3) network requests to Google's legitimate NotebookLM service. The combination of code execution + network + credentials is expected behavior for this type of integration skill.

15
已掃描檔案
3,425
分析行數
9
發現項
1
審計總數

高風險問題 (1)

Browser Automation with Credentials
Uses Playwright for browser automation with persistent authentication state. This is standard for skills that integrate with web services requiring login.
中風險問題 (2)
Shell Command Execution in Scripts
Python subprocess calls for environment setup (venv creation, pip install, patchright install). These are required for skill initialization.
Network Requests to Google Services
Hardcoded URLs for Google NotebookLM API endpoints. Required for integration functionality.
低風險問題 (2)
Filesystem Access for Data Storage
Accesses local filesystem to store notebook library, authentication state, and browser profile. Standard for persistent skill data.
Environment Variable Access
Uses dotenv for optional configuration. Standard skill configuration pattern.
審計者: claude

品質評分

68
架構
100
可維護性
87
內容
50
社群
66
安全
91
規範符合性

你能建構什麼

研究文件查詢

詢問有關您存儲在 NotebookLM 中的研究論文、會議記錄或學習材料的問題,並獲取附有引用的答案。

代碼庫文檔助理

查詢存儲在筆記本中的代碼庫文檔、README 和技術規範,獲取有關您項目的準確答案。

個人知識庫問答

將 NotebookLM 視為個人知識庫,向 Claude 提出從您文件中檢索特定信息的問題。

試試這些提示

檢查認證狀態
檢查 NotebookLM 認證是否已設置。執行:python scripts/run.py auth_manager.py status
列出可用筆記本
顯示我庫中的所有筆記本。執行:python scripts/run.py notebook_manager.py list
查詢筆記本
向 NotebookLM 提問:python scripts/run.py ask_question.py --question "[YOUR QUESTION]" --notebook-id [NOTEBOOK_ID]。使用後續問題機制收集完整信息。
添加新筆記本
將筆記本添加到庫:python scripts/run.py notebook_manager.py add --url [URL] --name [NAME] --description [DESCRIPTION] --topics [TOPICS]。如果內容未知,請使用 SMART ADD。

最佳實務

  • 嘗試查詢前務必檢查認證狀態
  • 在回應用戶前使用後續問題機制收集完整信息
  • 使用準確的描述和主題註冊筆記本以便於搜索
  • 出現問題時使用 --show-browser 標誌進行調試

避免

  • 不要繞過 run.py 封裝直接調用腳本
  • 不要跳過後續問題 - 始終綜合完整答案
  • 不要猜測筆記本描述 - 使用 SMART ADD 發現內容
  • 不要忘記在操作前檢查認證

常見問題

如何與 Google NotebookLM 進行認證?
執行 python scripts/run.py auth_manager.py setup。瀏覽器窗口會開啟,讓您手動登錄 Google 帳戶。認證將持續 7 天。
為什麼我需要使用 run.py 封裝?
run.py 封裝會自動創建和管理虛擬環境、安裝依賴項並正確執行腳本。如果沒有環境,直接調用腳本會失敗。
我每天可以進行多少次查詢?
Google NotebookLM 對免費帳戶有每日 50 次查詢的速率限制。如果您達到限制,請等待 24 小時或使用不同的 Google 帳戶。
為什麼每個問題都會開啟新的瀏覽器?
此技能不維護持久會話。每個問題都會使用存儲的認證狀態創建全新的瀏覽器上下文。這是為了可靠性而設計的。
我的數據存儲在哪裡?
所有數據都存儲在 ~/.claude/skills/notebooklm/data/ 中,包括 library.json(筆記本元數據)、auth_info.json(認證狀態)和 browser_state/(cookies)。
後續問題如何運作?
每個答案都以「這就是你需要了解的全部嗎?」結束 - Claude 會自動詢問後續問題,在回應您之前收集完整信息。