home / skills / openclaw / skills / tiangong-notebooklm-cli
This skill helps you manage NotebookLM via a CLI wrapper to handle login, notebooks, chat, sources, and artifact workflows.
npx playbooks add skill openclaw/skills --skill tiangong-notebooklm-cliReview the files below or copy the command above to add this skill to your agents.
---
name: notebooklm
description: NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.
---
# NotebookLM CLI Wrapper
## Required parameters
- `node` and `notebooklm` available on PATH.
- NotebookLM CLI authenticated (run `login` if needed).
## Quick start
- Wrapper script: `scripts/notebooklm.mjs` (invokes `notebooklm` CLI).
- Run from the skill directory or use an absolute `{baseDir}` path.
```bash
node {baseDir}/scripts/notebooklm.mjs status
node {baseDir}/scripts/notebooklm.mjs login
node {baseDir}/scripts/notebooklm.mjs list
node {baseDir}/scripts/notebooklm.mjs use <notebook_id>
node {baseDir}/scripts/notebooklm.mjs ask "Summarize the key takeaways" --notebook <notebook_id>
```
## Request & output
- Command form: `node {baseDir}/scripts/notebooklm.mjs <command> [args...]`.
- Prefer `--json` for machine-readable output.
- For long-running tasks, use `--exec-timeout <seconds>`; `--timeout` is reserved for wait/poll commands.
## References
- `references/cli-commands.md`
## Assets
- None.
This skill is a lightweight CLI wrapper around the NotebookLM command-line tool, implemented as node {baseDir}/scripts/notebooklm.mjs. It streamlines authentication, notebook selection, chat queries, source management, note handling, sharing, and artifact generation/download. Use it from the skill directory or call the script with an absolute baseDir path.
The script invokes the notebooklm CLI with the same commands and arguments you would use directly, adding a thin layer for consistent paths and invocation from the project. Commands are issued as: node {baseDir}/scripts/notebooklm.mjs <command> [args...]. The wrapper supports JSON output and custom timeouts for long-running operations to facilitate automation and machine parsing.
What prerequisites are required?
You need node and the notebooklm CLI on PATH and an authenticated NotebookLM session. Run the login command from the wrapper if needed.
How do I get machine-readable output?
Add the --json flag to commands to receive structured JSON suitable for automation and parsing.