360 Secure SkillHub
360 安全技能中心

NotebookLM Auth Bypass

提供 notebooklm 命令行用法:列出与创建笔记本、添加网址/PDF/YouTube 来源、针对来源提问;认证过期时需用户授权后运行 Playwright 脚本抓取浏览器 Cookie 并写入 Windows 环境变量。附来源数量与播放列表限制说明,但不含 CLI 本体与脚本细节文档。

antaripnandi
antaripnandi
热度 56.92
最近更新 2026-05-18 12:18:52
分类:知识依赖:代码执行 / 联网浏览搜索 / 第三方 API应用场景:研究 / 笔记整理 / 摘要总结 / 自动化脚本 ...

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add notebooklm-bypass
Metadata
name
notebooklm
description
Programmatic NotebookLM control with auto-recovery for authentication errors.

NotebookLM CLI

Commands

notebooklm list                                    # List all notebooks + IDs
notebooklm create "Name"                           # Create notebook → returns ID
notebooklm source add "<url_or_file>" -n <ID>      # Add URL/PDF/YouTube to notebook
notebooklm source add "<url>" -n <ID> --wait       # Add + wait for processing
notebooklm source list -n <ID>                     # List sources in notebook
notebooklm ask "Question" -n <ID>                  # Query AI against sources

Rules

  1. No playlists. Extract individual YouTube URLs and add one by one.
  2. Max 50 sources per notebook.
  3. Use --wait when adding sources in scripts to ensure processing completes.
  4. Auth Recovery: If notebooklm fails with "Authentication expired", you MUST ask the user for explicit permission before recovering. Propose running python {WORKSPACE_DIR}/skills/notebooklm-bypass/scripts/auto_playwright.py. If and only if they approve, run the script. This script steals fresh cookies and automatically injects them into your Windows Environment Variables. Once complete, retry your command.