Skip to content
Agentmart
Submit a tool

notebooklm

Complete API for Google NotebookLM - full programmatic access including features not in the web UI: create notebooks, add sources, generate all artifact…

Skill by jadenmaciel

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jadenmaciel-notebooklm

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Complete API for Google NotebookLM - full programmatic access including features not in the web UI: create notebooks, add sources, generate all artifact types, download in multiple formats. Also the research-handoff corpus for Claude Code and Codex - activates on explicit /notebooklm, intent like 'create a podcast about X', 'ask my notebook', 'check the notebook', before starting web research on a topic that may already be covered by a '<Project> - Research' notebook, and when publishing/handing off research results (.research/<slug>/ dirs) between agents or sessions.

Use cases: design, backend, research, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/notebooklm

What's inside

Skill name
notebooklm
Description
Complete API for Google NotebookLM - full programmatic access including features not in the web UI: create notebooks, add sources, generate all artifact types, download in multiple formats. Also the research-handoff corpus for Claude Code and Codex - activates on explicit /notebooklm, intent like 'create a podcast about X', 'ask my notebook', 'check the notebook', before starting web research on a topic that may already be covered by a '<Project> - Research' notebook, and when publishing/handing off research results (.research/<slug>/ dirs) between agents or sessions.
License
MIT
Instructions
878 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network

Agent Skills spec issues

  • body: 878 lines (spec recommends under 500)

Files (4)

  • SKILL.md
  • SKILL.md.orig
  • RESEARCH_HANDOFF.md · scripts/
  • publish.sh · scripts/

SKILL.md (first lines)

# NotebookLM Automation

Complete programmatic access to Google NotebookLM—including capabilities not 
exposed in the web UI. Create notebooks, add sources (URLs, YouTube, PDFs, 
audio, video, images), chat with content, generate all artifact types, and 
download results in multiple formats.

## Installation

**From PyPI (Recommended for AI agents — Python-version-aware):**
```bash
pip install "notebooklm-py"   # mandatory; errors must propagate

#  (rookiepy) is optional and known to FAIL TO BUILD on Python 3.13+.
# Skip it deliberately on 3.13+ rather than swallowing the error — that lets
# *real* install failures (typos, network, PyPI outages) surface for the agent.
if python -c "import sys; sys.exit(0 if sys.version_info < (3, 13) else 1)"; 
then
    pip install "notebooklm-py"   # errors propagate
else
    echo "Skipping  on Python 3.13+ (rookiepy unavailable). Use 'notebooklm 
login' interactively."
fi
```

> Full install matrix (extras, headless servers, contributor flow): 
[Installation guide on 
GitHub](https://github.com/teng-lin/notebooklm-py/blob/main/docs/installation.md
).

**From GitHub (use latest release tag, NOT main branch):**
```bash
# Get the latest release tag (using curl)
LATEST_TAG=$(curl -s 
https://api.github.com/repos/teng-lin/notebooklm-py/releases/latest | grep 
'"tag_name"' | cut -d'"' -f4)
# Includes  so the interactive `notebooklm login` flow works.
pip install "notebooklm-py @ 
git+https://github.com/teng-lin/notebooklm-py@${LATEST_TAG}"
```

⚠️ **DO NOT install from main branch** (`pip install 
git+https://github.com/teng-lin/notebooklm-py`). The main branch may contain 
unreleased/unstable changes. Always use PyPI or a specific release tag, unless 
you are testing unreleased features.

**Skill install methods:**

- `notebooklm skill install` installs this skill into the supported local agent 
directories managed by the CLI.
- `pnpm dlx skills add teng-lin/notebooklm-py` installs this skill from the GitHub 
repository into compatible agent skill directories.
- If you are already reading this file inside an agent skill directory, the 
skill is already installed. You only need the Python package and authentication 
below.

**CLI-managed install:**
```bash
notebooklm skill install
```

## Prerequisites

**IMPORTANT:** Before using any command, you MUST authenticate:

```bash
notebooklm login          # Opens browser for Google OAuth
notebooklm list           # Verify authentication works
```

If commands fail with authentication errors, re-run `notebooklm login`.

### CI/CD, Multiple Accounts, and Parallel Agents

For automated environments, multiple accounts, or parallel agent workflows:

| Variable | Purpose |
|----------|---------|
| `NOTEBOOKLM_HOME` | Custom config directory (default: `~/.notebooklm`) |
| `NOTEBOOKLM_PROFILE` | Active profile name (default: `default`) |
| `NOTEBOOKLM_AUTH_JSON` | Inline auth JSON - no file writes needed |

**CI/CD setup:** Set `NOTEBOOKLM_AUTH_JSON` from a secret containing your 
`storage_state.json` contents.

**Multiple accounts:** Use named profiles (`notebooklm profile create work`, 
then `notebooklm -p work login`). Alternatively, use different `NOTEBOOKLM_HOME`
directories per account.

**Parallel agents:** The CLI stores notebook context per profile 
(`~/.notebooklm/profiles/<profile>/context.json`, with a legacy fallback to 
`~/.notebooklm/context.json` for the implicit default profile). Multiple 
concurrent agents that share a profile and use `notebooklm use` can overwrite 
each other's context — use one of the isolation strategies below.

**Solutions for parallel workflows:**
1. **Always use explicit notebook ID** (recommended): Pass `-n <notebook_id>` 
(for `wait`/`download` commands) or `--notebook <notebook_id>` (for others) 
instead of relying on `use`
2. **Per-agent isolation via profiles:** `export NOTEBOOKLM_PROFILE=agent-$ID` 
(each profile gets its own context file)
3. **Per-agent isolation via home:** Set unique `NOTEBOOKLM_HOME` per agent: 
`export NOTEBOOKLM_HOME=/tmp/agent-$ID`
4. **Use full UUIDs:** Avoid partial IDs in automation (they can become 
ambiguous)

## Agent Setup Verification

Before starting workflows, verify auth is in place. **Use `--test --json` (not 
bare `--json`)** — bare `--json` only proves the cookie file parses; `--test` 
makes a network call and proves the cookies still authenticate against Google.

1. `notebooklm auth check --test --json` → require BOTH `"status": "ok"` AND 
`"checks.token_fetch": true`. Bare `"status": "ok"` (without `--test`) is a 
false-positive trap — a stale cookie file passes the parse check.
2. `notebooklm list --json` → expect valid JSON (may be empty for new accounts).
3. **If auth fails or is missing → run `notebooklm login` first.** This is the 
primary auth path: opens a browser, the user signs in to Google once, and the 
resulting `storage_state.json` is reused on every subsequent run. Works on any

From jadenmaciel/jstack, MIT.

Compare and alternatives

    Featured in

    Signals

    Stars
    0
    Forks
    0
    Open issues
    0
    Last commit (this folder)
    Aug 20, 2026 (2 months ago)

    From GitHub (fetched Oct 24, 2026).

    Details

    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026

    More from jadenmaciel

    Cite this page

    notebooklm skill. Agent Mart. https://agentmart.dev/skills/jadenmaciel-notebooklm (last updated 2026-10-24)