AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Notebooklm

skill-tiangong-ai-agent-skills-notebooklm-invoke · by tiangong-ai

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.

— No reviews yet
0 installs
0 views
— view→install

Install

$ agentstack add skill-tiangong-ai-agent-skills-notebooklm-invoke

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-tiangong-ai-agent-skills-notebooklm-invoke)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 12d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Notebooklm? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

NotebookLM CLI Wrapper (Python)

Required parameters

  • python3 available.
  • notebooklm-py installed (CLI binary: notebooklm).
  • NotebookLM authenticated (login).

Quick start

  • Wrapper script: scripts/notebooklm.py.
  • Command form: python3 {baseDir}/scripts/notebooklm.py [args...].
python3 {baseDir}/scripts/notebooklm.py login
python3 {baseDir}/scripts/notebooklm.py list
python3 {baseDir}/scripts/notebooklm.py use 
python3 {baseDir}/scripts/notebooklm.py status
python3 {baseDir}/scripts/notebooklm.py ask "Summarize the key takeaways" --notebook 

Output guidance

  • Prefer --json for machine-readable output where supported.
  • Long-running waits are handled by native commands like:
  • source wait
  • artifact wait
  • research wait

⚡ Sub-Agent Delegation (Anti-Blocking)

Problem

NotebookLM operations like source wait, artifact wait, research wait, generate slide-deck, and source add-research can take minutes to complete. Running them in the main session blocks the conversation.

Strategy

For any operation expected to take >30 seconds, delegate to a sub-agent via sessions_spawn:

  1. Main session: Acknowledge the user's request, then spawn a sub-agent with a clear task description.
  2. Sub-agent: Executes the long-running NotebookLM commands, waits for completion, and reports back.
  3. Main session: Remains responsive. The sub-agent auto-announces completion.

Which operations to delegate

| Operation | Delegate? | Reason | |-----------|-----------|--------| | login, status, list, use, clear | ❌ No | Fast ( Commands to run (in order):

...

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-


### Example: Generate slide deck

**User**: "帮我用 notebook X 生成一个 PPT"

**Main session response**:
> 好的,我派了一个后台任务去生成 PPT,完成后会通知你 ✧

**Spawn**:

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
  2. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py artifact wait --notebook --timeout 600 --json
  3. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py download slide-deck ./output.pptx --notebook --latest --format pptx

Report: artifact details, file path, any errors. mode: run label: notebooklm-slide-deck


### Example: Add research source

**User**: "在 notebook Y 里加一个关于碳足迹的深度研究"

**Spawn**:

sessions_spawn: task: | NotebookLM task: Add deep research source.

Steps:

  1. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py source add-research "碳足迹最新研究进展" --mode deep --notebook
  2. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py research wait --notebook --timeout 600
  3. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py source list --notebook --json

Report: research status, new sources added, any errors. mode: run label: notebooklm-research


### Guidelines

- **Always tell the user** you're delegating to a background task before spawning.
- **Use `mode: run`** (one-shot) — no need for persistent sessions.
- **Use descriptive labels** like `notebooklm-slide-deck`, `notebooklm-research-carbon` for easy tracking.
- **Include all context in the task** — the sub-agent has no conversation history.
- **Error handling**: Instruct the sub-agent to report errors clearly so you can relay them.
- **File paths**: Use absolute paths for output files so the main session can find them.
- **Compound workflows**: Bundle related steps (add → wait → generate → wait → download) into a single sub-agent task rather than spawning multiple.

## PPT generation policy
- A single generated slide deck should target **at most 15 pages**.
- If user requirements exceed 15 pages, split into multiple decks (e.g., Part 1/2/3) and generate separately.
- After generation, provide downloadable **`.pptx`** output when possible:
  - `download slide-deck ... --format pptx`

## References
- `README.md` (installation, requirements, troubleshooting)
- `QUICKSTART_CN.md`(中文快速上手)
- `references/cli-commands.md`

## Assets
- None.

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [tiangong-ai](https://github.com/tiangong-ai)
- **Source:** [tiangong-ai/agent-skills](https://github.com/tiangong-ai/agent-skills)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.