agentleFS
proyecto26proyecto26/notebooklm-ai-plugin/skills/notebooklm/SKILL.md

notebooklm

Skill65 starsChanged 3 months agoMITView on GitHub

Interact with Google NotebookLM (notebook.google.com) notebooks — chat with the AI, generate artifacts (slides, audio, video, mind maps, quizzes, flashcards, infographics, reports, data tables), manage sources (add URLs, YouTube, files, text), run research (fast/deep web research), and manage notes. Use whenever the user mentions NotebookLM, a notebook.google.com URL, audio overviews, or wants to query, create content from, or manage their notebook sources — even if they don't say "NotebookLM" explicitly.

69 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use django-verification, django-security and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • mstuder-slalomSkill

    django-verification

    Verification loop for Django projects: migrations, linting, tests with coverage, security scans, and deployment readiness checks before release or PR.

    Also in 3 projects that use this

  • mstuder-slalomSkill

    django-security

    Django security best practices, authentication, authorization, CSRF protection, SQL injection prevention, XSS prevention, and secure deployment configurations.

    Also in 3 projects that use this

  • sirakinbSkill

    last30days

    Research a topic from the last 30 days on Reddit + X + Web, become an expert, and write copy-paste-ready prompts for the user's target tool.

    Also in 4 projects that use this

  • younghaiSkill

    google-calendar

    Google Calendar 일정 조회, 검색, 등록. "일정", "스케줄", "캘린더" 등을 언급하면 자동 실행. Daily Note 작성, Weekly Review에 사용.

    Also in 3 projects that use this

  • royaluniondesign-sysSkill

    deployment-patterns

    Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications.

    Also in 3 projects that use this

  • LuisSambranoSkill

    firecrawl

    Deep web scraping, screenshots, PDF parsing, and website crawling using Firecrawl API

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 66 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    All commands run from this skill directory:

    line 26
  2. Very specific:

    Every RPC call fetches a fresh CSRF token (SNlM0e) and session id (FdrFJe) from the app page, so nothing else needs refreshing.

    line 66

“Common” is measured: kept by at least 6 in 10 of the 66 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

NotebookLM AI Plugin

Drive Google NotebookLM (https://notebook.google.com) from the terminal. Both notebook.google.com and notebooklm.google.com notebook URLs are accepted.

Supports:

  • Chat with Notebook AI (source-grounded Q&A with citations)
  • Slide Deck generation (PPTX/PDF)
  • Audio Overview (M4A — deep dive, brief, critique, debate formats)
  • Video Overview (MP4 — auto, classic, whiteboard, kawaii, anime, watercolor, retro_print, heritage, paper_craft styles)
  • Mind Map (JSON tree)
  • Flashcards / Quiz (interactive HTML)
  • Infographic (PNG — landscape, portrait, square; 11 visual styles)
  • Report (Markdown — briefing doc, study guide, blog post, custom prompt)
  • Data Table (CSV)
  • Source management (add URLs, YouTube, files, pasted text; list, delete)
  • Fast/Deep web research with auto-import
  • Notes management (create, update, delete, list)
  • Notebook library management (add, list, search, activate) + listing your account's notebooks

All commands run from this skill directory:

cd <skill-dir>   # the folder containing SKILL.md
npx -y bun scripts/main.ts <command> [options]

Quick start

# 1. Authenticate (opens Chrome for Google login; cookies are cached)
npx -y bun scripts/main.ts login

# 2. Check the session and see your notebooks (ids + source counts)
npx -y bun scripts/main.ts notebooks remote

# 3. Save one as the default
npx -y bun scripts/main.ts notebooks add https://notebook.google.com/notebook/<id> --name "My Research"

# 4. Use it
npx -y bun scripts/main.ts chat --question "What are the key findings?"
npx -y bun scripts/main.ts generate slide_deck --output slides.pdf
npx -y bun scripts/main.ts generate audio --format deep_dive --length long
npx -y bun scripts/main.ts generate quiz --difficulty medium --quantity more --output quiz.html
npx -y bun scripts/main.ts generate data_table --instructions "Compare the frameworks" --output table.csv

Authentication

login launches Chrome (with a dedicated profile under the data dir) and waits for you to sign in at notebook.google.com, then captures the Google session cookies. Cookies expire after a few weeks; any command that hits a login redirect tells you to run login --force.

npx -y bun scripts/main.ts login            # reuse cached cookies if still valid
npx -y bun scripts/main.ts login --force    # always re-open Chrome
npx -y bun scripts/main.ts notebooks remote # fast auth check: lists notebooks from your account

Every RPC call fetches a fresh CSRF token (SNlM0e) and session id (FdrFJe) from the app page, so nothing else needs refreshing. If the origin changes again, set NOTEBOOKLM_BASE_URL (or edit scripts/constants.ts).

Commands

Notebook management

npx -y bun scripts/main.ts notebooks remote                 # notebooks on your Google account (live)
npx -y bun scripts/main.ts notebooks list                   # local library
npx -y bun scripts/main.ts notebooks add <url> [--name <name>] [--description <desc>] [--topics <t1,t2>]
npx -y bun scripts/main.ts notebooks remove <id>
npx -y bun scripts/main.ts notebooks activate <id>          # default for every other command
npx -y bun scripts/main.ts notebooks search <query>

Chat with Notebook AI

npx -y bun scripts/main.ts chat --question "What are the key findings?" --notebook <url|id>
npx -y bun scripts/main.ts chat --question "Tell me more about that" --conversation-id <id>
npx -y bun scripts/main.ts chat --question "Summarize the methodology" --json   # answer + citations

Chat uses all ready sources in the notebook. Citations reference source ids (see sources list).

Source management

npx -y bun scripts/main.ts sources list --notebook <url|id>          # id, title, type, status, url
npx -y bun scripts/main.ts sources add-url https://example.com/article
npx -y bun scripts/main.ts sources add-youtube https://youtube.com/watch?v=xxx
npx -y bun scripts/main.ts sources add-text --title "My Notes" --content "Important findings..."
npx -y bun scripts/main.ts sources add-file ./paper.pdf
npx -y bun scripts/main.ts sources delete <sourceId>

New sources show status: processing for a little while; generation and chat only use sources whose status is ready. Supported files: PDF, TXT, MD, DOCX, PPTX, CSV, EPUB, images (PNG, JPG, WEBP), audio/video.

Research

npx -y bun scripts/main.ts research fast --query "latest AI agent frameworks"   # ~1–3 min
npx -y bun scripts/main.ts research deep --query "state of LLM reasoning"       # ~5–10 min, produces a report
npx -y bun scripts/main.ts research fast --query "topic" --import                # import found sources
npx -y bun scripts/main.ts research status

Notes

npx -y bun scripts/main.ts notes list
npx -y bun scripts/main.ts notes create --title "Key Takeaways" --content "1. Finding one..."
npx -y bun scripts/main.ts notes update <noteId> --title "Updated" --content "New content"
npx -y bun scripts/main.ts notes delete <noteId>

Artifacts

npx -y bun scripts/main.ts artifacts list                 # everything in the Studio panel, with status
npx -y bun scripts/main.ts generate <type> [options]

Types: slide_deck, audio, video, mind_map, flashcards, quiz, infographic, report, data_table

Generation is asynchronous on Google's side: the command creates the artifact, polls the Studio list until it is completed and its download URL is available (audio/video can take 10–20 minutes), then downloads it. If auto-download fails, the URL is printed so it can be opened in a browser.

Options

Global options

OptionDescription
--notebook <url|id>Notebook URL or library id (defaults to the active notebook)
--output <path>Output file path (auto-named under the data dir if omitted)
--instructions <text>Custom instructions / focus for generation
--language <code>Output language (default en)
--jsonMachine-readable output

Per-type options

TypeOptions
audio--format deep_dive|brief|critique|debate, --length short|default|long
video--style auto|classic|whiteboard|kawaii|anime|watercolor|retro_print|heritage|paper_craft, --format explainer|brief|cinematic|short
slide_deck--format detailed|presenter|pdf|pptx, --length default|short (PPTX by default; --format pdf or an .pdf output path selects the PDF)
quiz, flashcards--difficulty easy|medium|hard, --quantity fewer|standard|more
infographic--orientation landscape|portrait|square, --detail concise|standard|detailed, --style auto|sketch_note|professional|bento_grid|editorial|instructional|bricks|clay|anime|kawaii|scientific
report--format briefing|study_guide|blog_post|custom, --prompt "<full prompt>" (custom)
mind_map--instructions only
data_table--instructions (what to tabulate)

Output formats

TypeOutput
slide_deckPPTX (or PDF)
audioM4A
videoMP4
mind_mapJSON tree { name, children: [...] }
flashcards, quizself-contained interactive HTML
infographicPNG
reportMarkdown
data_tableCSV (headers + rows)

Environment variables

VariableDescription
NOTEBOOKLM_BASE_URLApp origin override (default https://notebook.google.com)
NOTEBOOKLM_DATA_DIRData directory (cookies, library, Chrome profile, outputs)
NOTEBOOKLM_COOKIE_PATHCookie file path
NOTEBOOKLM_CHROME_PATH / NOTEBOOKLM_CHROME_PROFILE_DIRChrome executable / profile
NOTEBOOKLM_OUTPUT_DIRDefault output directory
NOTEBOOKLM_BLBuild label sent on chat requests (not validated by the server)

Rate limits (free tier)

ResourceLimit
Audio/video overviews3 per day
Reports/flashcards/quizzes10 per day
Daily chats50
Notebooks100, 50 sources each

Quota rejections surface as an RPCError of kind rate_limit.

Troubleshooting

SymptomMeaning / fix
redirected (302) to …/loginCookies expired → login --force
redirected … The app origin may have changedGoogle moved the app again → set NOTEBOOKLM_BASE_URL
RPC xxxx not present in response … method ID may have changedGoogle rotated an RPC id → update scripts/rpc-types.ts (compare with notebooklm-py)
INVALID_ARGUMENT / FAILED_PRECONDITIONPayload shape rejected — run npx -y bun test and diff scripts/*-manager.ts against the reference projects
did not return an artifact IDNotebook has no ready sources, or the artifact type isn't enabled for the account

Tests

cd test
npx -y bun install                          # dev deps only (typescript, types)
npx -y bun x tsc --noEmit                   # type-check
npx -y bun test unit                        # offline: payload shapes + decoders against recorded responses
npx -y bun test live.test.ts                # live: auth + read endpoints (skips without a session)
NOTEBOOKLM_LIVE_WRITE=1 npx -y bun test live.test.ts             # + add/delete a text source and a note
NOTEBOOKLM_LIVE_GENERATE=quiz npx -y bun test live.test.ts       # + generate one artifact end-to-end

Skill-level evals (prompts + assertions for the skill-creator harness) live in test/evals.json.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.