Loading...
Loading...
NotebookLM CLI wrapper via `python3 {baseDir}/scripts/notebooklm.py` (backed by notebooklm-py). Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.
npx skill4agent add tiangong-ai/skills notebooklmpython3notebooklm-pynotebooklmloginscripts/notebooklm.pypython3 {baseDir}/scripts/notebooklm.py <command> [args...]python3 {baseDir}/scripts/notebooklm.py login
python3 {baseDir}/scripts/notebooklm.py list
python3 {baseDir}/scripts/notebooklm.py use <notebook_id>
python3 {baseDir}/scripts/notebooklm.py status
python3 {baseDir}/scripts/notebooklm.py ask "Summarize the key takeaways" --notebook <notebook_id>--jsonsource waitartifact waitresearch waitsource waitartifact waitresearch waitgenerate slide-decksource add-researchsessions_spawn| Operation | Delegate? | Reason |
|---|---|---|
| ❌ No | Fast (<5s) |
| ❌ No | Usually fast (~10s) |
| ❌ No | Fast reads |
| ⚠️ Maybe | Fast to submit, but |
| ✅ Yes | Deep research can take 2-5 min |
| ✅ Yes | Polling wait, unpredictable duration |
| ✅ Yes | Generation takes 1-5 min |
| ✅ Yes | Can take several minutes |
| ⚠️ Maybe | Usually fast, but can be slow for large files |
| Multi-step workflows (add sources → wait → generate → wait → download) | ✅ Yes | Compound long tasks |
sessions_spawn:
task: |
You are a NotebookLM task runner. Execute the following NotebookLM operations
and report results when done.
Notebook ID: <notebook_id>
Commands to run (in order):
1. <command 1>
2. <command 2>
...
Use the CLI wrapper: python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py
Prefer --json output where supported.
If any step fails, report the error and stop.
When complete, summarize what was accomplished and any output files created.
mode: run
label: notebooklm-<short-description>好的,我派了一个后台任务去生成 PPT,完成后会通知你 ✧
sessions_spawn:
task: |
NotebookLM task: Generate a slide deck from notebook.
Steps:
1. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py generate slide-deck "Create a comprehensive slide deck" --notebook <id>
2. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py artifact wait <artifact_id> --notebook <id> --timeout 600 --json
3. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py download slide-deck ./output.pptx --notebook <id> --latest --format pptx
Report: artifact details, file path, any errors.
mode: run
label: notebooklm-slide-decksessions_spawn:
task: |
NotebookLM task: Add deep research source.
Steps:
1. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py source add-research "碳足迹最新研究进展" --mode deep --notebook <id>
2. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py research wait --notebook <id> --timeout 600
3. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py source list --notebook <id> --json
Report: research status, new sources added, any errors.
mode: run
label: notebooklm-researchmode: runnotebooklm-slide-decknotebooklm-research-carbon.pptxdownload slide-deck ... --format pptxREADME.mdQUICKSTART_CN.mdreferences/cli-commands.md