
NotebookLM CLI Harness
Lets an agent list notebooks, manage sources, ask questions and download outputs via the notebooklm CLI
- Repository
- HKUDS/CLI-Anything
- Stars
- 58,084
- Licence
- Apache-2.0
- Files
- 1 file
What it does
This skill teaches an AI agent to operate Google NotebookLM through a command-line wrapper called cli-anything-notebooklm instead of the web interface. Once installed, the agent can list and create notebooks, add source URLs, ask questions against a notebook, generate artifacts, and download the results. It is marked experimental and unofficial, and relies on an upstream notebooklm command and a valid local NotebookLM login session.
Great for
- Developers who want an agent to script or automate NotebookLM tasks
- Researchers who regularly add sources to notebooks and pull back generated outputs
- Students or analysts who want to query their own notebooks from a terminal or agent workflow
Skip it if
- Users who do not want to install Python packages and a browser automation tool (setup is required and involves Playwright and Chromium)
- Anyone uneasy about an agent using their Google login session, since the skill depends on local authentication cookies and the docs warn not to expose them in logs
- Production or compliance-critical work, because the harness is explicitly experimental and unofficial and not affiliated with Google
Try asking
- “List my NotebookLM notebooks and tell me which ones have the most sources”
- “Add these three article URLs as sources to the notebook nb_123”
- “Ask my research notebook what the main conclusions of its sources are and save the answer”
- “Generate an audio overview for notebook nb_123 and download it to my Downloads folder”
Install in 3 steps
- 1
Download the skill
The ZIP contains the 1 original files, the Apache-2.0 licence and an attribution note.
skills.zip - 2
Add it to your agent
Claude Code (all projects)
mkdir -p ~/.claude/skills && unzip skills.zip -d ~/.claude/skills/Claude Code / Agent SDK (this project only)
mkdir -p .claude/skills && unzip skills.zip -d .claude/skills/Claude apps (web/desktop): Settings → Capabilities → Skills → Upload skill, and choose the ZIP.
- 3
Ask for the task
No special command needed — the agent reads the skill's description and loads it when your request matches. Try one of the prompts above.
Get better results
- Always pass an explicit --notebook ID for follow-up commands so the agent does not act on the wrong notebook
- Use --json only on commands the upstream notebooklm CLI supports, and run auth status first to confirm the session works
- Review the generated artifacts and sources before sharing outputs, since the skill touches your Google-linked notebook data
What's inside
- SKILL.md
Redistributed unmodified from HKUDS/CLI-Anything under the Apache-2.0 licence. The assessment was drafted with AI from the skill's files on 2026-10-29. Skills can instruct your agent to run code — read SKILL.md and any scripts before installing.