跳到主要内容
知仓学习社ZHICANG

notebooklm

Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports. Use when user a…

读凭据执行命令读文件写文件联网严重 0 · 高危 4sanjay3290/ai-skills

它会碰到什么

扫了多少12 个文本文件,120 KB
它会碰到什么读凭据执行命令读文件写文件联网
命中总数19 处
命中统计严重 0 · 高 4 · 中 6 · 低 9
逐条看命中(4 条严重或高危)
  • scripts/common.py:44cred-envread
    override = os.environ.get("NOTEBOOKLM_DATA_DIR")
  • tests/test_smoke_playwright.py:18exec-spawn
    proc = subprocess.run(
  • tests/test_smoke_playwright.py:35cred-envread
    if os.environ.get("NOTEBOOKLM_E2E") != "1":
  • tests/test_smoke_playwright.py:38cred-envread
    profile = os.environ.get("NOTEBOOKLM_SMOKE_PROFILE", "default")

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

NotebookLM Skill

Query NotebookLM notebooks and manage notebooks/sources via Playwright browser automation.

All commands run from the skill directory. All scripts output JSON to stdout and exit 1 on error. Use --help on any script for full flag reference.

Workflow

  1. Authenticate: python scripts/auth_manager.py setup --profile <name>
  2. Register notebook: python scripts/notebook_manager.py add --url <url> --name <name> --description <desc> --topics <topics>
  3. Ask questions: python scripts/ask_question.py --question "..." --notebook-id <id>
  4. Manage sources: python scripts/remote_manager.py add-source|sync-sources ...

Key Behaviors

  • Runs headless by default; use --show-browser for debugging only.
  • Persistent Chrome profiles stored at ~/.config/claude/notebooklm-skill/ (override with NOTEBOOKLM_DATA_DIR).
  • Hash-based dedupe: file uploads skip unchanged sources automatically.
  • --dry-run available on all destructive/bulk operations (create, add-source, delete-source, sync-sources).
  • --retries N retries transient browser failures with screenshot/HTML artifact capture.
  • Batch mode (--questions "q1||q2||q3") and multi-notebook comparison (--compare-notebook-ids) supported.
  • Exports to JSON or Markdown via --export-format markdown --save-notes.
  • Answers include a follow-up reminder prompting Claude to ask clarifying questions before replying.

Quick Reference

# Auth
python scripts/auth_manager.py setup --profile work
python scripts/auth_manager.py status --profile work

# Library
python scripts/notebook_manager.py add --url "..." --name "..." --description "..." --topics "..."
python scripts/notebook_manager.py list

# Ask
python scripts/ask_question.py --question "..." --notebook-id <id>
python scripts/ask_question.py --questions "q1||q2" --notebook-id <id>

# Sources
python scripts/remote_manager.py add-source --notebook-id <id> --dir ./docs --recursive
python scripts/remote_manager.py sync-sources --notebook-id <id> --dir ./docs --recursive --delete-missing --dry-run

For full command reference with all flags and examples, see [references/commands.md](references/commands.md).

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 424
本站分层T2
该仓技能数24
原文件路径skills/notebooklm/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 24 个技能