notebooklm

notebooklm is a skill for Claude Code from jmagar/claude-homelab. It costs 67 tokens per session (2,181 once invoked), scanned A, original, MIT.

A way to automate Google NotebookLM, a service that lets you study and discuss information collected in notebooks. It can work with sources such as web pages, videos, PDFs, audio, and images.

In plain words
What is it for?
Use it to create notebooks, add sources, ask questions about them, and generate podcasts, reports, quizzes, flashcards, mind maps, videos, or infographics.
Why use it?
It avoids doing NotebookLM tasks manually through the web interface and makes source-based outputs repeatable.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents.

Part of the homelab-core plugin — 18 skills, 5 commands, 1 agent shipped together

Good fit Use it to create notebooks, add sources, ask questions about them, and generate podcasts, reports, quizzes, flashcards, mind maps, videos, or infographics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jmagar/claude-homelab/notebooklm
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jmagar/claude-homelab --skill notebooklm
Clone the repo
git clone --depth 1 https://github.com/jmagar/claude-homelab

Made for: Claude Code.

Or install homelab-core, the plugin that ships this one along with the rest of its 18 skills, 5 commands, 1 agent.

Its marketplace also offers this one on its own, as the plugin notebooklm/plugin install notebooklm after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for notebooklm

README.md
[![agentmods](https://agentmods.dev/badge/skills/jmagar/claude-homelab/notebooklm/github.svg)](https://agentmods.dev/skills/jmagar/claude-homelab/notebooklm)
Your own site
<a href="https://agentmods.dev/skills/jmagar/claude-homelab/notebooklm"><img src="https://agentmods.dev/badge/skills/jmagar/claude-homelab/notebooklm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for notebooklm

Your own site · 80×15
<a href="https://agentmods.dev/skills/jmagar/claude-homelab/notebooklm"><img src="https://agentmods.dev/badge/skills/jmagar/claude-homelab/notebooklm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,181 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 80
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00067 $0.02181
Opus 5 $0.00034 $0.01091
Sonnet 5 $0.00013 $0.00436
Haiku 4.5 $0.00007 $0.00218

Measured 12d ago against content hash 3e677f9f3047, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

notebooklm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 11 executable files (examples/bulk-import.py, examples/chat.py, examples/notes.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/notebooklm/SKILL.md · 191 lines

How it starts

The opening of the file, as written. The whole thing — 191 lines — stays where its author put it; the contents beside it link to each section on GitHub.

NotebookLM Automation Skill

YOU MUST invoke this skill (NOT optional) when the user mentions ANY of these triggers:

  • "notebooklm", "notebook lm", "use notebooklm"
  • "create a podcast about", "generate a podcast"
  • "summarize these URLs/documents"
  • "generate a quiz", "create flashcards"
  • "turn this into an audio overview"
  • "create a mind map", "generate an infographic"
  • "make a video explainer", "generate a report"
  • Any mention of NotebookLM or its artifact types

Failure to invoke this skill when triggers occur violates your operational requirements.

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.

Prerequisites

IMPORTANT: Before using any command, you MUST authenticate:

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

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

Quick Reference

Task Command
Authenticate notebooklm login
Diagnose auth notebooklm auth check --test
List notebooks notebooklm list
Create notebook notebooklm create "Title"
Set context notebooklm use <notebook_id>
Show context notebooklm status
Add URL source notebooklm source add "https://..."
Add file notebooklm source add ./file.pdf
Add YouTube notebooklm source add "https://youtube.com/..."
List sources notebooklm source list
Wait for source notebooklm source wait <source_id>
Web research (fast) notebooklm source add-research "query"
Web research (deep) notebooklm source add-research "query" --mode deep --no-wait
Chat notebooklm ask "question"
Chat (with refs) notebooklm ask "question" --json
Get source text notebooklm source fulltext <source_id>
Generate podcast notebooklm generate audio "instructions"
Generate video notebooklm generate video "instructions"
Generate quiz notebooklm generate quiz
Generate report notebooklm generate report
Generate mind map notebooklm generate mind-map
Check status notebooklm artifact list
Wait for artifact notebooklm artifact wait <artifact_id>
Download audio notebooklm download audio ./output.mp3
Download video notebooklm download video ./output.mp4
Download report notebooklm download report ./report.md
Download mind map notebooklm download mind-map ./map.json
Download data table notebooklm download data-table ./data.csv
Download quiz notebooklm download quiz quiz.json
Download flashcards notebooklm download flashcards cards.json
Delete notebook notebooklm notebook delete <id>
Set language notebooklm language set zh_Hans

Read the full file on GitHub · 191 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 191 lines · 67 tokens per session scan A 3e677f9f3047

Subscribe to this mod's changes

notebooklm is a skill published in the GitHub repository jmagar/claude-homelab (78 stars, last pushed 1mo ago), licensed MIT. It adds 67 tokens to every session and 2,181 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.