New to Claude Skills? Learn how to install them →

hkuds on GitHub

CLI Anything NotebookLM

Free

Manage and interact with NotebookLM from the command line.

by hkuds46.9k stars on hkuds/cli-anything
1 views
Updated Aug 3, 2026
Get this skill

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 source

1. Install with the skills CLI

npx skills add hkuds/cli-anything/skills --agent claude-code

2. 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 hkuds

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

  • notebooklm command 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

GroupPurpose
authlogin and auth validation
notebooknotebook list, create, summary
sourcesource listing and URL add
chatask questions and inspect history
artifactlist and generate artifacts
downloadfetch generated outputs
shareinspect sharing state

Agent Workflow

  1. Check auth with cli-anything-notebooklm auth status
  2. Discover notebook IDs with cli-anything-notebooklm --json notebook list
  3. Use explicit --notebook for follow-up commands
  4. Prefer --json only where the upstream notebooklm command supports it

Agent Guidance

  • Prefer explicit notebook IDs with --notebook.
  • Use --json for 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

Frequently asked questions about CLI Anything NotebookLM

Similar skills