
CLI Anything NotebookLM
FreeManage and interact with NotebookLM from the command line.
Free · Opens the source repo
What CLI Anything NotebookLM does
CLI Anything NotebookLM is an experimental harness designed for users of the NotebookLM command line interface (CLI). This tool allows developers and designers to efficiently manage their notebooks, sources, and artifacts directly from the command line, streamlining workflows that involve Google’s NotebookLM. With this skill, you can list notebooks, create new ones, and generate or download outputs, all while maintaining a seamless interaction with the NotebookLM environment.
The skill provides a structured set of commands grouped by functionality, including authentication, notebook management, source listing, and artifact generation. Users can easily check their authentication status, discover available notebooks, and perform operations like adding sources or generating artifacts. The option to output results in JSON format makes it suitable for integration with other tools or scripts, enhancing automation capabilities.
This harness is particularly useful for developers and data scientists who prefer working in a command-line environment and need to interact with NotebookLM without a graphical interface. By leveraging the CLI, users can incorporate NotebookLM into larger automated workflows, making it a powerful addition to any developer's toolkit.
As this is an experimental and unofficial tool, users should be aware of its limitations and ensure they have a valid local NotebookLM login session before use. The harness is not affiliated with Google, so while it extends the functionality of NotebookLM, it does so independently.
When to use it
Use this skill when you need to manage NotebookLM notebooks and artifacts directly from the command line, especially in automated workflows.
When not to use it
This tool is not suitable for users who prefer graphical interfaces or those who do not have a valid NotebookLM login session.
What you can build with it
Automating Notebook Management
Use this skill to automate the management of your NotebookLM notebooks, integrating it into your CI/CD pipelines.
Generating Artifacts from Notebooks
Quickly generate and download artifacts from your notebooks without needing to navigate a GUI.
Scripting Notebook Interactions
Incorporate CLI commands into scripts to interact with NotebookLM programmatically, enhancing your development workflow.
How to install CLI Anything NotebookLM
View source1. Install with the skills CLI
npx skills add hkuds/cli-anything/skills --agent claude-code2. Or install it manually
Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.
Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs
Inside SKILL.md
Written by hkudscli-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
Frequently asked questions about CLI Anything NotebookLM
Similar skills
Spring Boot Testing
Master testing techniques for Spring Boot 4 applications.
GitHub Issues
Manage GitHub issues efficiently with MCP tools.
Geofeed Tuner
Optimize your IP geolocation feeds in CSV format.
Batch Files
Master Windows batch scripting for automation and task management.
Adobe Illustrator Scripting
Automate your Illustrator workflows with ExtendScript.
Plugin Structure
Create and organize Claude Code plugins effectively.
