cli-anything-notebooklm
What it does
This skill lets an AI agent use Google NotebookLM, a research tool that answers questions from your own sources. It suits students, researchers, and writers working with documents.
When to use it
- ✓When you want to ask a question about sources you already added to a notebook.
- ✓When you need to add a web link as a new source in a notebook.
- ✓When you want to generate and download an output, such as a summary, from a notebook.
Skill link
https://github.com/HKUDS/CLI-Anything/blob/main/notebooklm/agent-harness/cli_anything/notebooklm/skills/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“I want to add this article link to my research notebook and ask what its main arguments are.”
5 new skills a week. 1 minute to read.
How it works
The agent uses the NotebookLM command line tool on your computer, with your existing login, to ask questions and add sources. Results come back as text or saved files.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
FAQ
Do I need to log in first?
Yes. You need a valid local NotebookLM login session, and the skill can check that your login is working.
Is this tool stable?
The skill calls itself experimental, so results may change or stop working as the tool is updated.
Can it change who a notebook is shared with?
The skill can check sharing status, but its description does not list sharing changes.
Details
Original description by the author
Experimental NotebookLM harness for listing notebooks, managing sources, asking questions, generating artifacts, and downloading outputs through an installed notebooklm CLI.
repo: HKUDS/CLI-Anything
Popularity
- GitHub stars
- 58k
- Ranking position
- #3228
- License
- Apache-2.0
- Updated
- 9/21/2026
Comments
- …
More skills from this repository
cli-anything-3mf
58kLets your agent inspect and fix 3D printing files, including finding round holes, resizing them, repairing meshes, and comparing two files.
cli-anything-qgis
58kLets your agent open, edit, and export QGIS map projects from the terminal, including layers, features, print layouts, and processing tools.
cli-anything-adguardhome
58kLets your agent manage AdGuard Home, a network-wide ad blocker, including filters, DNS rewrites, clients, and query logs.
cli-anything-anygen
58kLets your agent generate slides, documents, websites, and diagrams from a written prompt using the AnyGen service.
Similar skills
graincrawl
394kLets your agent search your saved Granola meeting notes and transcripts, check how fresh they are, and count them over a period.
notcrawl
394kLets your agent search a saved copy of your Notion workspace, look up pages and databases, and export pages to Markdown files.
knowledge-entities
394kHelps your agent identify people, companies, and projects, then write sourced profile pages for them in your Knowledge vault.