Notebooklm logo

Notebooklm

Community
bacnh85
notebooklm

Google NotebookLM — notebooks, sources, grounded chat, research, and Studio artifacts (Audio Overviews, video, slides, reports, quizzes, etc.) via the notebooklm-py CLI bridge (v0.7.3).

Overview

Publisherbacnh85
Repositorypi-extensions
Skill namenotebooklm
Stars
42
Forks
15
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bacnh85 on GitHub. Read the source before you install it.

Installation

Install the Notebooklm AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bacnh85/pi-extensions/tree/main/pi-notebooklm/skills/notebooklm
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bacnh85/pi-extensions.git /tmp/pi-extensions
mkdir -p .claude/skills
cp -r /tmp/pi-extensions/pi-notebooklm/skills/notebooklm .claude/skills/notebooklm
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Notebooklm in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Notebooklm on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Notebooklm is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

NotebookLM Skill

Provides agent access to Google's NotebookLM through the notebooklm tool.

Prerequisites

  1. Install the upstream CLI:

    bash
    uv tool install "notebooklm-py[browser]"

    See notebooklm-py docs for pipx/venv alternatives.

  2. Authenticate in a terminal (one-time):

    bash
    notebooklm login    # auto-installs Chromium on first run
    notebooklm auth check --test --json

    If playwright install chromium fails during login, run it manually:

    bash
    uv tool run --from 'notebooklm-py[browser]' playwright install chromium

Tool usage

Single notebooklm tool with argument array:

notebooklm args=["list", "--json"]
notebooklm args=["auth", "check", "--test", "--json"]
notebooklm args=["create", "Research Notebook", "--json"]
notebooklm args=["source", "add", "https://...", "-n", "<notebook-id>", "--json"]
notebooklm args=["source", "add", "Inline text content...", "-n", "<notebook-id>", "--json"]
notebooklm args=["ask", "Summarize findings", "-n", "<notebook-id>", "--json"]
notebooklm args=["generate", "audio", "-n", "<notebook-id>"]
notebooklm args=["artifact", "wait", "<task-id>", "-n", "<notebook-id>", "--json"]
notebooklm args=["download", "audio", "-a", "<artifact-id>", "output.mp3"]

Command map (v0.7.3)

CategoryCommands
Auth/healthauth check --test --json, doctor --json, status (top-level; auth status is invalid), use <id|partial> (partial prefix matches, e.g. use eadca411 → eadca411-33e4-…), clear (requires confirm: true, no -y)
Notebookslist --json, create <title> --json, rename -n <id> "New Title", delete -n <id> -y (with confirm: true), summary -n <id>, metadata -n <id> --json
Sourcessource add <content> -n <id> --json (auto-detects url/file/youtube/text), source add-drive <file-id> <title> -n <id>, source add-research "<query>" -n <id> --mode deep --no-wait, source list -n <id> --json, source wait <src-id> -n <id> --json, source get <src-id>, source fulltext <src-id>, source guide <src-id>, source refresh <src-id>, source stale <src-id>, source rename <src-id> "New Title", source delete -y <src-id>, source delete-by-title <title> -n <id> -y, source clean -n <id> (auto-remove duplicate/error/blocked sources)
Grounded chatask <question> -n <id> --json (returns citations via references[]), ask --new -y <question> -n <id> --json (new conversation, requires confirm: true + -y), ask -c <conv-id> "follow up", configure -n <id> --persona <text>, history -n <id> --json
Researchresearch status -n <id> --json, research wait -n <id> --json, source add-research "<query>" -n <id> --mode deep --no-wait
Studio generationgenerate audio -n <id>, generate video -n <id>, generate slide-deck -n <id>, generate report -n <id>, generate infographic -n <id>, generate quiz -n <id>, generate flashcards -n <id>, generate mind-map -n <id>, generate data-table -n <id>, generate cinematic-video -n <id>, generate revise-slide (edit one slide in an existing deck)
Artifactsartifact list -n <id> --json, artifact get <art-id>, artifact poll <task-id> -n <id> --json, artifact wait <task-id> -n <id> --json, artifact retry <task-id>, artifact suggestions -n <id> (AI-suggested report topics), artifact rename <art-id> "New Name", artifact delete -y <art-id>, artifact export <art-id> --title "..." --type [docs|sheets]
Downloadsdownload audio [output-path] -a <artifact-id>, download video [output-path] -a <artifact-id>, download slide-deck [output-path] -a <artifact-id> (also: --all, --latest, --name <title>, --dry-run)
Notesnote list -n <id> --json, note get <note-id>, note create <content> -n <id> -t "Title", note rename <note-id> "New Title", note save <note-id> --title "..." --content "...", note delete -y <note-id>
Sharingshare status -n <id> --json, share public --enable|--disable, share add <email> --permission viewer|editor, share remove <email>, share update <email> --permission <level>, share view-level full|chat
Organizationlanguage set <code>, language get, language list, profile list --json, profile switch <name>, profile create <name>, profile rename <name> "New Name", profile delete -y <name>
Agent & skillsagent show {codex|claude} (print agent integration instructions), skill install|show|status|uninstall (manage the NotebookLM→agent skill bridge; install --force overwrites — requires confirm: true)

Rules

  • Navigation: always key on full IDs. The created_at field returned by list/metadata/use/status is not the real creation time — it mutates nearly every call (tracks "last touched"), and status even returns a date-only value. Do not sort, order, or dedup by created_at. The list order and the index field are unstable too (order swaps between calls), so never reference a notebook/source/artifact by index — always use the full id. Partial-prefix IDs also work for use and source/artifact IDs (e.g. use eadca411 resolves to eadca411-…). Root cause is upstream (notebooklm-py); see "Known upstream limitations" below.
  • Use full notebook IDs and explicit -n in parallel agent workflows. Shared notebooklm use context can race across calls.
  • Wait for sources before chat or generation: source wait <src-id> -n <id> --json or check with source list -n <id> --json.
  • Async generation: call generate <type> -n <id> → get task ID → poll with artifact poll <task-id> -n <id> --json or block with artifact wait.
  • Destructive operations (delete, clean, remove, logout, clear, conversation reset) require confirm: true. Most also need -y/--yes in args to avoid a hanging prompt (auth logout, clear, skill uninstall, and history --clear are exceptions — CLI v0.7.3 does not support -y/--yes for those).
  • Start a new conversation: ask --new is destructive (discards server-side conversation). Requires confirm: true and -y/--yes.
  • File overwrites: download, source fulltext -o <path>, or skill install with --force overwrites workspace files — requires confirm: true.
  • Authentication stays in NotebookLM CLI's own storage. Never pass cookies through Pi.

JSON output

Add --json for machine-readable output. Key shapes:

  • ask --json: {"answer": "...", "references": [{"source_id": "...", "cited_text": "...", "citation_number": 1}], "conversation_id": "...", "turn_number": 1}
  • list --json: {"notebooks": [...], "count": N}
  • auth check --test --json: {"status": "ok", "checks": {...}}
  • source list --json: {"sources": [...], "count": N}
  • source wait --json: {"source_id": "...", "status": "ready", "status_code": 2}

Error routing

SymptomLikely causeAction
exit 1 + auth errorExpired sessionRun notebooklm auth check --test --json, re-login if needed
exit 1 + rate limitQuota exceededWait and retry; generation is quota-limited
exit 1 + source errorSource not readyWait with source wait before chat/generation
exit 1 + generation failContent policy or invalid paramsAdjust query or source content
exit 2Timeout or CLI errorIncrease timeout_ms or check args
CLI not foundMissing installuv tool install "notebooklm-py[browser]"
BrowserType.launch_persistent_contextMissing Playwright browserAuto-installed on first notebooklm login; if fails, run uv tool run --from 'notebooklm-py[browser]' playwright install chromium

Known upstream limitations

  • created_at and list ordering are unstable in notebooklm-py (upstream). The created_at value changes across list/metadata/use/status calls for the same notebook, and list index order shifts between calls. Key on full IDs only — never sort, dedup, or reference by index/created_at. See "Navigation: always key on full IDs" in Rules.

Frequently asked questions

What does the Notebooklm AI skill do?

Google NotebookLM — notebooks, sources, grounded chat, research, and Studio artifacts (Audio Overviews, video, slides, reports, quizzes, etc.) via the notebooklm-py CLI bridge (v0.7.3).

Why use Notebooklm on TypingMind?

Because you install it once and use it with any model. Notebooklm is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Notebooklm in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bacnh85/pi-extensions/tree/main/pi-notebooklm/skills/notebooklm. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Notebooklm?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Notebooklm?

As many as you like. As long as a model supports skills, you can use Notebooklm with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Notebooklm AI skill free?

Yes. It is published on GitHub by bacnh85 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇