Agent skill

Notebooklm

by sanjay3290 in sanjay3290/ai-skills

Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports.

Apache-2.0Auto-check passedKnowledge Management

Install Notebooklm

skills CLI
$ npx skills add sanjay3290/ai-skills --skill notebooklm -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sanjay3290/ai-skills notebooklm --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sanjay3290/ai-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/notebooklm .claude/skills/notebooklm && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
notebooklm
GitHub stars
431
Token cost
~655 tokens
SKILL.md length
167 words
Files
13 (incl. scripts, references)
Skills in repo
24
Repo updated
First seen
Licence
Apache-2.0

At a glance

Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports.

  • Works in 4 steps: Authenticate: python… → Register notebook: python… → Ask questions: python… → …
  • User asks to query NotebookLM
  • SKILL.md covers Workflow, Key Behaviors and Quick Reference
  • Runs Python scripts from its folder; calls python

What it does

Notebooklm is an agent skill from sanjay3290/ai-skills. Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports. Use when user asks to query NotebookLM, 'ask my notebook', shares NotebookLM notebook URLs, wants to list/create notebooks, manage sources, do bulk folder sync, dedupe, or audit exports.

Its SKILL.md is about 660 tokens, which your agent loads only when the skill is triggered. The skill folder holds 15 other files, including scripts and reference files (for example `references/commands.md`, `scripts/ask_question.py` and `scripts/auth_manager.py`).

It sits in Knowledge Management, covering Source-grounded notebooks. It works with NotebookLM and Python. The repository describes itself as: 24 cross-platform agent skills for Claude Code, Cursor, Codex & Gemini CLI — databases, messaging, research, TTS, DevOps, and Google Workspace. The licence is Apache-2.0.

When your agent uses it

  • User asks to query NotebookLM
  • Ask my notebook
  • Shares NotebookLM notebook URLs
  • Wants to list/create notebooks

Example prompts

  • “ask my notebook”
  • “/notebooklm”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Authenticate: python scripts/auth_manager.py setup --profile
  2. Register notebook: python scripts/notebook_manager.py add --url --name --description --topics
  3. Ask questions: python scripts/ask_question.py --question "..." --notebook-id
  4. Manage sources: python scripts/remote_manager.py add-source|sync-sources ...

What it can do on your machine

Read from SKILL.md and the folder at commit 281d88d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Notebooklm loads about 655 tokens when it runs, and up to ~1.7k if it reads all its reference files. Until then it costs about 83 tokens; SKILL.md has 167 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~655
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from sanjay3290/ai-skills at commit 281d88d, republished under its Apache-2.0 licence (© sanjay3290). 167 words, ~655 tokens.

Download SKILL.mdSave it as .claude/skills/notebooklm/SKILL.md (or your agent's skills folder). This skill also uses 12 other files; get the full folder from GitHub.
name
notebooklm
description
Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports. Use when user asks to query NotebookLM, 'ask my notebook', shares NotebookLM notebook URLs, wants to list/create notebooks, manage sources, do bulk folder sync, dedupe, or audit exports.
license
Apache-2.0
metadata.author
sanjay3290
metadata.version
1.0

NotebookLM Skill

Query NotebookLM notebooks and manage notebooks/sources via Playwright browser automation.

All commands run from the skill directory. All scripts output JSON to stdout and exit 1 on error. Use --help on any script for full flag reference.

Workflow

  1. Authenticate: python scripts/auth_manager.py setup --profile <name>
  2. Register notebook: python scripts/notebook_manager.py add --url <url> --name <name> --description <desc> --topics <topics>
  3. Ask questions: python scripts/ask_question.py --question "..." --notebook-id <id>
  4. Manage sources: python scripts/remote_manager.py add-source|sync-sources ...

Key Behaviors

  • Runs headless by default; use --show-browser for debugging only.
  • Persistent Chrome profiles stored at ~/.config/claude/notebooklm-skill/ (override with NOTEBOOKLM_DATA_DIR).
  • Hash-based dedupe: file uploads skip unchanged sources automatically.
  • --dry-run available on all destructive/bulk operations (create, add-source, delete-source, sync-sources).
  • --retries N retries transient browser failures with screenshot/HTML artifact capture.
  • Batch mode (--questions "q1||q2||q3") and multi-notebook comparison (--compare-notebook-ids) supported.
  • Exports to JSON or Markdown via --export-format markdown --save-notes.
  • Answers include a follow-up reminder prompting Claude to ask clarifying questions before replying.

Quick Reference

bash
# Auth
python scripts/auth_manager.py setup --profile work
python scripts/auth_manager.py status --profile work

# Library
python scripts/notebook_manager.py add --url "..." --name "..." --description "..." --topics "..."
python scripts/notebook_manager.py list

# Ask
python scripts/ask_question.py --question "..." --notebook-id <id>
python scripts/ask_question.py --questions "q1||q2" --notebook-id <id>

# Sources
python scripts/remote_manager.py add-source --notebook-id <id> --dir ./docs --recursive
python scripts/remote_manager.py sync-sources --notebook-id <id> --dir ./docs --recursive --delete-missing --dry-run

For full command reference with all flags and examples, see references/commands.md.

© sanjay3290, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 12 other files (scripts, references) in skills/notebooklm of sanjay3290/ai-skills.

  • SKILL.md
  • .gitignore
  • references/commands.md
  • requirements.txt
  • scripts/ask_question.py
  • scripts/auth_manager.py
  • scripts/common.py
  • scripts/notebook_manager.py
  • scripts/remote_manager.py
  • tests/conftest.py
  • tests/test_ask_question_modes.py
  • tests/test_remote_manager_filters.py
  • tests/test_smoke_playwright.py

Open the folder on GitHubat commit 281d88d

Compare with similar skills

Notebooklm next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Notebooklm compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Notebooklm this skillsanjay3290/ai-skills431—~655Automated safety check: PassApache-2.0
NotebookLM Automationteng-lin/notebooklm-py20k—~4.1kAutomated safety check: PassMIT
Cninfo To Notebooklmjarodise/CNinfo2Notebookllm363—~1.1kAutomated safety check: PassNone
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Notebooklmroomi-fields/notebooklm-mcp189—~1.1kAutomated safety check: PassMIT
Wechat To Notebooklmzstmfhy/wechat-to-notebooklm103—~1.8kAutomated safety check: PassMIT

Similar skills

  • NotebookLM Automation

    teng-lin/notebooklm-py

    Installs, authenticates and operates Gemini Notebook (NotebookLM) through the notebooklm-py CLI or its typed async Python API, for notebooks, sources, grounded chat and generated artifacts.

    20k GitHub stars~4.1k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Cninfo To Notebooklm

    jarodise/CNinfo2Notebookllm

    A skill your agent uses when user wants to analyze China stock reports (A-share or Hong Kong), upload annual/quarterly reports to NotebookLM, or research a Chinese listed company's financials

    363 GitHub stars~1.1k tokensUpdated 3 mo ago
    Knowledge ManagementAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Notebooklm

    roomi-fields/notebooklm-mcp

    This skill should be used when the user wants to query their Google NotebookLM notebooks for citation-backed, source-grounded answers, or manage notebooks, sources, and Studio content (audio…

    189 GitHub stars~1.1k tokensUpdated 1 mo ago
    Knowledge ManagementAuto-check passed
  • Wechat To Notebooklm

    zstmfhy/wechat-to-notebooklm

    WeChat article to NotebookLM sync tool. An agent skill from zstmfhy/wechat-to-notebooklm.

    103 GitHub stars~1.8k tokensUpdated 8 mo ago
    Knowledge ManagementAuto-check passed
  • Nlm Skill

    iusztinpaul/ai-research-os-workshop

    Expert guide for the NotebookLM CLI (nlm) and MCP server - interfaces for Google NotebookLM.

    179 GitHub starsUsed in 1 repo~6.9k tokens
    Knowledge ManagementAuto-check passed

More from sanjay3290/ai-skills

All 24 skills in this repo
  • Deep Research

    sanjay3290/ai-skills

    Execute autonomous multi-step research using Google Gemini Deep Research Agent.

    431 GitHub starsUsed in 10 repos~683 tokens
    Auto-check: notes
  • Imagen

    sanjay3290/ai-skills

    Generate images using Google Gemini's image generation capabilities.

    431 GitHub starsUsed in 7 repos~657 tokens
    Auto-check passed
  • Whatsapp

    sanjay3290/ai-skills

    Send and receive WhatsApp messages via the unofficial linked-device client pywhats (pip install pywhats) — pair with QR, send text/images, group chat, read receipts, presence/typing, and a…

    431 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Elevenlabs

    sanjay3290/ai-skills

    Convert documents and text to audio using ElevenLabs text-to-speech.

    431 GitHub starsUsed in 1 repo~1.1k tokens
    Auto-check passed
  • Postgres

    sanjay3290/ai-skills

    Execute read-only SQL queries against multiple PostgreSQL databases.

    431 GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Atlassian

    sanjay3290/ai-skills

    Manage Jira issues and Confluence wiki pages in Atlassian Cloud.

    431 GitHub stars~1.6k tokensUpdated 27 days ago
    Auto-check passed

Questions about Notebooklm

What does Notebooklm do?

Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports. Notebooklm is an agent skill from sanjay3290/ai-skills. Query and manage Google NotebookLM notebooks with persistent profile auth, source sync, batch/multi queries, and structured exports.

When should I use Notebooklm?

Notebooklm fits situations like: user asks to query NotebookLM; ask my notebook; shares NotebookLM notebook URLs; wants to list/create notebooks.

How do I install Notebooklm in Claude Code?

Run `npx skills add sanjay3290/ai-skills --skill notebooklm -a claude-code`. Or copy the skill folder (skills/notebooklm in sanjay3290/ai-skills) into .claude/skills/notebooklm in your project. Claude Code loads it when a task matches its description.

How do I install Notebooklm in Codex?

Run `npx skills add sanjay3290/ai-skills --skill notebooklm -a codex`. Or copy the skill folder (skills/notebooklm in sanjay3290/ai-skills) into .agents/skills/notebooklm in your project. Codex loads it when a task matches its description.

Can I use Notebooklm in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sanjay3290/ai-skills --skill notebooklm -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/notebooklm, .gemini/skills/notebooklm, .github/skills/notebooklm and .opencode/skills/notebooklm in your project.

What does Notebooklm need to run?

Going by SKILL.md and its folder, Notebooklm needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Notebooklm access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Notebooklm safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Notebooklm use?

Notebooklm is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Notebooklm use?

About 655 tokens (SKILL.md is roughly 2.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1k tokens, read only when the agent opens those files.

What are the alternatives to Notebooklm?

Skills that share tags, products or a category with Notebooklm: NotebookLM Automation (teng-lin/notebooklm-py, 20k stars), Cninfo To Notebooklm (jarodise/CNinfo2Notebookllm, 363 stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Notebooklm (roomi-fields/notebooklm-mcp, 189 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Notebooklm?

sanjay3290 (a GitHub user) maintains it in sanjay3290/ai-skills, which has 431 GitHub stars. The repository holds 24 skills in this directory. The repository was last updated on September 10, 2026.

Source: sanjay3290/ai-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.