CLI Anything Notebooklm
Apps & Automationcli-anything-notebooklmCLI Anything Notebooklm is an Agent Skill for apps & automation published in the HKUDS/CLI-Anything repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Experimental NotebookLM harness for listing notebooks, managing sources, asking questions, generating artifacts, and downloading outputs through an installed notebooklm CLI.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/HKUDS/CLI-Anything/blob/HEAD/skills/cli-anything-notebooklm/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/cli-anything-notebooklm, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
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