Agent Skills
› HKUDS/CLI-Anything
› cli-anything-notebooklm
cli-anything-notebooklm
GitHub提供NotebookLM的CLI封装,用于管理笔记本、源、问答及下载输出。适用于Agent通过命令行与NotebookLM交互的场景。
Trigger Scenarios
需要通过CLI操作NotebookLM
使用JSON格式获取NotebookLM数据
Install
npx skills add HKUDS/CLI-Anything --skill cli-anything-notebooklm -g -y
SKILL.md
Frontmatter
{
"name": "cli-anything-notebooklm",
"description": "Experimental NotebookLM harness for listing notebooks, managing sources, asking questions, generating artifacts, and downloading outputs through an installed notebooklm CLI."
}
cli-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
Version History
- 6f372d3 Current 2026-08-20 06:42


