About cli-anything-notebooklm
cli-anything-notebooklm is an experimental, unofficial command-line harness for NotebookLM. It is intended for agents working with notebooks, sources, chats, generated artifacts, downloads, and sharing state through a locally installed NotebookLM CLI.
Key features
- 01Check authentication status
- 02List, create, and summarize notebooks
- 03List sources and add URLs
- 04Ask questions and inspect chat history
- 05Generate and download artifacts
- 06Inspect notebook sharing state
Use cases
- 01Discover notebooks and select one by ID
- 02Add a URL as a notebook source
- 03Ask notebook questions and retrieve generated outputs
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ hkuds/ cli-anything --skill cli-anything-notebooklmAfter installing, type/cli-anything-notebooklmin Claude Code to confirm it loaded.
Details
From the project READMEcli-anything-notebooklm
Experimental NotebookLM harness for CLI-Anything.
Installation
This package is intended to be installed from the harness directory:
cd notebooklm/agent-harness
python3 -m pip install -e .
Install the upstream NotebookLM CLI if needed:
python3 -m pip install --user 'notebooklm-py[browser]'
python3 -m playwright install chromium
Requirements
notebooklmcommand installed locally- Valid local NotebookLM login session
Usage
Basic Commands
# Show help
cli-anything-notebooklm --help
# Start with a notebook context
cli-anything-notebooklm --notebook nb_123 source list
# Prefer JSON for agent use
cli-anything-notebooklm --json notebook list
Command Groups
| Group | Purpose |
|---|---|
auth | login and auth validation |
notebook | notebook list, create, summary |
source | source listing and URL add |
chat | ask questions and inspect history |
artifact | list and generate artifacts |
download | fetch generated outputs |
share | inspect sharing state |
Agent Workflow
- Check auth with
cli-anything-notebooklm auth status - Discover notebook IDs with
cli-anything-notebooklm --json notebook list - Use explicit
--notebookfor follow-up commands - Prefer
--jsononly where the upstreamnotebooklmcommand supports it
Agent Guidance
- Prefer explicit notebook IDs with
--notebook. - Use
--jsonfor machine-readable output only on commands that support it upstream. - Treat this harness as experimental and unofficial.
- Do not expose auth files or cookies in logs.
- NotebookLM is a Google product; this harness is unofficial and not affiliated with Google.
References
- CLI-Anything: https://github.com/HKUDS/CLI-Anything
- CLI-Anything HARNESS.md: https://github.com/HKUDS/CLI-Anything/blob/main/cli-anything-plugin/HARNESS.md
- notebooklm-py: https://github.com/teng-lin/notebooklm-py
- Google NotebookLM help: https://support.google.com/notebooklm/answer/16206563
Comments
Markdown supported