New: Earn 20% as an AgentAlley affiliate. Share your link and earn on every sale you refer. Join now New: Earn 20% as an affiliate. Join now

Browser automation skill for controlling Google's NotebookLM

NotebookLM — Browser Automation

by alirezarezvani · MIT license · ★ 26,349 on GitHub · updated Aug 30

NotebookLM — Browser Automation cover

Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a…

---
name: notebooklm
description: "Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio/Video Overviews, Mind Maps, Reports incl. Briefing Doc/Study Guide/FAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable."
license: MIT
metadata:
  source_spec: "megaprompts/03-notebooklm-megaprompt.md"
  build_pattern: "Path B (direct conversion)"
  shape: "browser-automation (distinct from research-pack convention)"
  version: 1.0.0
---

# NotebookLM — Browser Automation

> **Requires:** A browser automation environment (Claude Code CLI with computer-use, Claude Chrome Extension, or equivalent). **Skill will gracefully fail in non-automation contexts with a clear "not supported" message.**

> **Critical:** This skill is the only browser-automation skill in the v2 collection. It does NOT follow the research-pack Agent Integrity Rules convention. Different constraints apply (UI dynamics, async generation, login walls).

## Step 0: Browser Context Setup (Mandatory)

Overview

Before any other action, verify browser automation is available:

Manual install (npx, ZIP)
Claude Codenpx skills add alirezarezvani/claude-skills --skill notebooklm -g -a claude-code
Claude Code (manual)mkdir -p ~/.claude/skills && curl -sL https://codeload.github.com/alirezarezvani/claude-skills/tar.gz/19392f7a0826 \ | tar -xz -C ~/.claude/skills --strip-components=4 claude-skills-19392f7a0826/research/notebooklm/skills/notebooklm
Windows (PowerShell)New-Item -ItemType Directory -Force "$HOME\.claude\skills" | Out-Null; Invoke-WebRequest "https://m.agentalley.io/zip/1797787b5555159406cb/notebooklm.zip" -OutFile "$env:TEMP\notebooklm.zip"; Expand-Archive "$env:TEMP\notebooklm.zip" -DestinationPath "$HOME\.claude\skills" -Force
Claude.ai / desktopDownload the ZIP and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md15.9 KB
  • references/3 files · 28.7 KB
  • scripts/3 files · 32.9 KB
Read the files here
alirezarezvani/19392f77 files
SKILL.md
Show the full text299 lines

NotebookLM — Browser Automation

Requires: A browser automation environment (Claude Code CLI with computer-use, Claude Chrome Extension, or equivalent). Skill will gracefully fail in non-automation contexts with a clear "not supported" message.

Critical: This skill is the only browser-automation skill in the v2 collection. It does NOT follow the research-pack Agent Integrity Rules convention. Different constraints apply (UI dynamics, async generation, login walls).

Step 0: Browser Context Setup (Mandatory)

Before any other action, verify browser automation is available:

  1. Check whether browser-control tools are loaded in the harness (screenshot, click, find-element, navigate)
  2. If unavailable → halt with clear message: "This skill requires browser automation. Currently in {context}. Cannot proceed. Use Claude Code CLI with computer-use, Claude Chrome Extension, or equivalent."
  3. If available → take initial screenshot, navigate to https://notebooklm.google.com
  4. Detect login wall via screenshot. If login screen detected: halt with "Please log in to NotebookLM in the browser, then re-invoke this skill." Never attempt to handle login automatically.

Phase 0: Grill-Me Intake (Action-Routing)

Up to 4 forcing questions, one at a time, dependency-ordered. Most invocations stop at Q3.

Q1 (root) — Action

What do you want me to do? Pick one:

  1. Read / extract — ask a question of an existing notebook
  2. Add a source — push content (URL, text, file, Google Doc, or synthesized content) into a notebook
  3. Generate a Studio output — Audio/Video Overview, Mind Map, Report (Briefing Doc, Study Guide, FAQ, Timeline), Flashcards, Quiz, Infographic, or Slides — the exact set comes from the live Studio panel
  4. Create a new notebook — initialize with title + initial sources

Why I'm asking: Each action takes a different path through the UI and requires different parameters. Naming the action upfront prevents wasted screenshots and lets me ask only the follow-up questions that apply.

Forcing choice. If the user says "open NotebookLM" without specifying an action, refuse to start and re-ask Q1.

Q2 (depends on Q1) — Notebook identity

Which notebook? (asked for actions 1, 2, 3 — not for "create new")

Why I'm asking: If you give me a name, I'll search the homepage; if you give me a URL, I'll navigate directly. Names that are ambiguous will get a disambiguation prompt with screenshots.

For action 4 (create new): replace with "What's the title for the new notebook?"

Q3 (depends on Q1) — Action-specific parameter

Action 1 (read/extract):

"What's the question to ask the notebook? Use natural phrasing — the notebook's chat handles it best."

Action 2 (add source):

"What source type? Pick one:

  1. URL / website / YouTube link
  2. Copied text (paste here or point at content)
  3. File upload (provide absolute path)
  4. Google Doc (link)
  5. Synthesized content (I'll pre-process and add as 'Copied text')

Why I'm asking: Each source type goes through a different sub-flow in the Add Source dialog. Picking upfront saves a step."

Action 3 (Studio output):

"Which Studio output? As of 2026-06 the Studio panel offers Audio Overview, Video Overview, Mind Map, Reports (Briefing Doc / Study Guide / FAQ / Timeline / custom), Flashcards, Quiz, Infographic, and Slides — I'll screenshot the live panel and confirm what your account actually shows before clicking. And: any custom-prompt direction? Default prompts produce mediocre output — I always open the customization menu and write a detailed prompt. Tell me the angle or audience.

Why I'm asking: The output type sets the UI button to find. The custom prompt is mandatory for quality."

Action 4 (create new):

"Initial sources? Provide URLs, file paths, or 'I'll add later'."

Q4 (depends on Q1 = action 3) — Studio custom prompt detail

Tell me the angle, audience, and length for the Studio output. Examples:

  • Audio Overview: "Two-host conversation for a non-technical executive, 8–10 min, focus on business implications not technical depth"
  • Infographic: "Decision-tree style, action-oriented, 6 panels max, monochrome navy"
  • Study Guide: "Undergrad-level, definitions + 3 practice questions per concept"

Why I'm asking: This becomes the custom prompt. Default Studio prompts produce mediocre output — specific direction produces sharp output.

Asked only for Studio output generation (Q1=3). Skip otherwise.

Stop condition: After Q4 (or earlier with dependency skips), commit and start the action sequence.

See references/studio_output_custom_prompts.md for the canon.

Notebook Discovery

For actions 1-3 (require existing notebook):

  1. Navigate to homepage → screenshot
  2. If user provided URL → navigate directly
  3. If user provided name:
    • Use semantic find() to locate notebook card by visible title text
    • If multiple matches → screenshot homepage, list options, ask user to specify
    • If no match → ask user to provide URL or confirm spelling

For action 4 (create new):

  1. Locate "New notebook" button on homepage
  2. Click → set title from Q2
  3. Add initial sources per Q3

Action 1: Read / Extract

  1. Open the notebook (notebook discovery above)
  2. Locate chat input (semantic find or screenshot coordinates)
  3. Type the question (use the user's natural phrasing from Q3)
  4. Submit (Enter or send button)
  5. Wait 3–5 seconds
  6. Screenshot the response area
  7. Extract and present in clean format (not raw chat dump)

Action 2: Add Sources

Sub-flows per source type:

Type UI flow
URL / Website / YouTube Add Source → Link → paste URL
Copied Text Add Source → Copied text → paste content
File Upload Use file-upload tool with absolute path + input ref (never click native file picker)
Google Doc Add Source → Google Docs → Drive picker
Synthesized content Pre-process content elsewhere, then add as Copied text

After every add: wait for ingestion spinner, screenshot to confirm success.

Synthesized content pattern (powerful): instead of asking NotebookLM to ingest a raw URL with potentially noisy content, pre-process the content (extract main article, strip nav/ads/comments), then add as "Copied text". Produces dramatically better summarization.

Action 3: Studio Outputs

Discover, don't assume. NotebookLM's Studio inventory changes between rollouts and account tiers. As of the last verification (2026-06) the panel offers: Audio Overview, Video Overview, Mind Map, Reports (Briefing Doc, Study Guide, FAQ, Timeline, custom report formats), Flashcards, Quiz, Infographic, Slides. Treat this list as a hint, not ground truth — the screenshot of the live Studio panel is the authority. NotebookLM's UI evolves quickly; verify against the live product and update this section when it drifts (Studio inventory last verified 2026-06).

Mandatory workflow:

  1. Locate Studio panel (right side; may need toggle) and screenshot it — the tiles you see are the real output types for this account
  2. Find the specific output button for the requested type (if it isn't visible, check "Discover more"/overflow before declaring it unavailable)
  3. Open customization menu (chevron/arrow next to button) — NOT the main button
  4. Write detailed custom prompt (from Q4)
  5. Confirm and submit
  6. Do NOT wait for completion — confirm generation started, notify user, return
Custom prompt examples (4 output types)

Audio Overview:

"Two-host conversation between a researcher and an experienced practitioner. Audience: non-technical executive making a budget decision. Length: 8-10 minutes. Focus on business implications, not technical depth. Include one concrete example per major point. Acknowledge counter-arguments briefly."

Infographic:

"Decision-tree style. Action-oriented (each panel ends with a decision or action). 6 panels max. Monochrome navy + amber highlight. Each panel has: title (4-6 words), 1-2 sentence body, decision/action line. No filler panels."

Study Guide:

"Undergraduate-level (define every technical term). Structure: 6 concepts × 4 elements each (definition / why it matters / one worked example / 3 practice questions). Practice questions Bloom-higher-order (apply/analyze), not recall."

Slides (slide deck):

"12 slides max. 1-2 sentences per slide body. Presenter notes per slide with: one concrete example + one likely audience objection + how to address it. No bullet points in slide bodies — prose only. End with one-slide call-to-action."

See references/studio_output_custom_prompts.md for more.

Action 4: Create New Notebook

  1. Navigate to homepage
  2. Click "New notebook"
  3. Set title from Q2
  4. Add initial sources from Q3 (use Action 2 sub-flows per source type)
  5. Wait for auto-summary generation (this one IS synchronous — usually completes in <30 sec)
  6. Screenshot final state

Critical Async Behavior

Async output rule: For Studio generations (especially Audio Overview — 5-10 min), DO NOT wait for completion. The user's session will time out.

Workflow: Click Generate → confirm generation has started via screenshot → tell the user "Generation in progress — NotebookLM will notify you when ready" → end the task.

This is the fire-and-notify pattern. Different from add-source and auto-summary (which are fast enough to wait).

Use scripts/async_action_classifier.py to determine wait-or-notify per action:

Action Wait?
Add Source (URL/text/file) Yes — wait for ingestion spinner (~5-30s)
Read/Extract (chat) Yes — wait 3-5s for response
Studio: Audio Overview No — fire and notify (5-10 min)
Studio: Video Overview No — fire and notify (5-15 min)
Studio: Infographic / Slides / Mind Map No — fire and notify (2-5 min)
Studio: Study Guide / Briefing Doc / FAQ / Flashcards / Quiz Yes — wait ~30-60s
Create New Notebook Yes — wait for auto-summary (<30s)
# Verdict + paste-ready notify message for any action
python3 scripts/async_action_classifier.py --action "video overview"
# -> Verdict: FIRE_AND_NOTIFY, estimated 5-15 minutes, with the exact
#    "NOT waiting in this session" message to relay to the user

See references/async_action_discipline.md for the canon.

Screenshot-First Discipline

NotebookLM is a dynamic SPA where UI varies by:

  • Account tier (free vs Plus vs Enterprise)
  • Feature rollout (some Studio types not yet available to all users)
  • Recent UI changes (Google iterates the product frequently)

Every UI action must be preceded by a screenshot. Reasons:

  1. Verify the UI matches expectations before acting
  2. Catch login walls early
  3. Detect unexpected layout changes
  4. Audit trail for debugging

Use screenshot() (or equivalent in your browser-automation tool) before every meaningful UI interaction.

See references/browser_automation_canon.md for the discipline.

find()-Before-Click

Use semantic element finders before pixel coordinates wherever possible:

  • ✅ find(text="Audio Overview") → returns element regardless of position
  • ❌ click(x=420, y=380) → breaks when UI rearranges

Semantic finders survive minor UI changes. Pixel coordinates do not.

Only fall back to coordinates when:

  • Semantic find() returns nothing
  • Element has no stable text/aria-label/data-attribute
  • Visual position is the only reliable signal

Saving Outputs to Workspace

For Read/Extract actions producing useful information:

  1. Extract chat response cleanly (strip UI chrome)
  2. Format readably (paragraphs, lists, code blocks as appropriate)
  3. If user requested → save to file (${WORKSPACE}/notebooklm/<notebook-slug>-<action>-<date>.md)
  4. Otherwise → return in chat as final summary

For Studio outputs:

  1. NotebookLM hosts the output (Audio Overview is in-app, Infographic downloadable, etc.)
  2. Report the location (URL or in-app navigation path) to user
  3. Don't try to download/save Studio outputs to local workspace — that's NotebookLM's job

Reporting Back Format

After completing any action:

  1. Take final screenshot if visually relevant
  2. Give clean summary (not raw chat dump):
    • Notebook used (name)
    • Action taken (specific)
    • Result (1-2 sentences)
    • For generated outputs: what was created + where it is + when ready
  3. For fire-and-notify actions: explicit "NotebookLM will notify you when ready"

Error Handling

Failure Behavior
Browser automation unavailable Fail fast with "this skill requires browser automation" message (Step 0 halt)
Login wall detected Stop. Tell user to log in. Don't attempt auto-login.
Multiple notebooks match name Screenshot homepage, list options, ask user to specify
Source ingestion spinner stuck > 60s Note timeout, ask user if they want to retry
Studio button not found in panel Scroll down or look for "Discover more"; if still missing, note feature may not be enabled for this account
Chat response doesn't appear in 10s Screenshot, check for error state, retry once
Page layout changed unexpectedly Screenshot, describe what's visible, ask user for guidance

Tooling

Script Role
scripts/action_router.py Q1-Q4 answers → action plan + UI flow + required parameters
scripts/custom_prompt_template_generator.py Studio output type + audience + length → starter custom prompt
scripts/async_action_classifier.py Action name → wait-or-notify pattern (fire-and-notify for slow generations)

References

Anti-Patterns To Reject

  • Tool-specific tool names without abstraction (e.g., hardcoding "Claude Chrome Extension")
  • Synchronous waiting on Studio generations (especially Audio Overview)
  • Skipping screenshots between actions
  • Using pixel coordinates when semantic find() is available
  • Attempting to handle login flows automatically
  • Generating Studio outputs without opening customization menu
  • Using default Studio prompts (always write custom)

Version: 1.0.0 Source spec: megaprompts/03-notebooklm-megaprompt.md (maintainer-local draft spec — gitignored, not present in the public repository) Build pattern: Path B (direct conversion). Browser-automation shape — distinct from research-pack convention.

1---
2name: notebooklm
3description: "Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio/Video Overviews, Mind Maps, Reports incl. Briefing Doc/Study Guide/FAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable."
4license: MIT
5metadata:
6 source_spec: "megaprompts/03-notebooklm-megaprompt.md"
7 build_pattern: "Path B (direct conversion)"
8 shape: "browser-automation (distinct from research-pack convention)"
9 version: 1.0.0
10---
11 
12# NotebookLM — Browser Automation
13 
14> **Requires:** A browser automation environment (Claude Code CLI with computer-use, Claude Chrome Extension, or equivalent). **Skill will gracefully fail in non-automation contexts with a clear "not supported" message.**
15 
16> **Critical:** This skill is the only browser-automation skill in the v2 collection. It does NOT follow the research-pack Agent Integrity Rules convention. Different constraints apply (UI dynamics, async generation, login walls).
17 
18## Step 0: Browser Context Setup (Mandatory)
19 
20Before any other action, verify browser automation is available:
21 
221. Check whether browser-control tools are loaded in the harness (screenshot, click, find-element, navigate)
232. If unavailable → **halt with clear message:** "This skill requires browser automation. Currently in {context}. Cannot proceed. Use Claude Code CLI with computer-use, Claude Chrome Extension, or equivalent."
243. If available → take initial screenshot, navigate to https://notebooklm.google.com
254. **Detect login wall via screenshot.** If login screen detected: halt with "Please log in to NotebookLM in the browser, then re-invoke this skill." **Never attempt to handle login automatically.**
26 
27## Phase 0: Grill-Me Intake (Action-Routing)
28 
29Up to 4 forcing questions, one at a time, dependency-ordered. Most invocations stop at Q3.
30 
31### Q1 (root) — Action
32 
33> **What do you want me to do? Pick one:**
34>
35> 1. **Read / extract** — ask a question of an existing notebook
36> 2. **Add a source** — push content (URL, text, file, Google Doc, or synthesized content) into a notebook
37> 3. **Generate a Studio output** — Audio/Video Overview, Mind Map, Report (Briefing Doc, Study Guide, FAQ, Timeline), Flashcards, Quiz, Infographic, or Slides — the exact set comes from the live Studio panel
38> 4. **Create a new notebook** — initialize with title + initial sources
39>
40> *Why I'm asking:* Each action takes a different path through the UI and requires different parameters. Naming the action upfront prevents wasted screenshots and lets me ask only the follow-up questions that apply.
41 
42**Forcing choice.** If the user says "open NotebookLM" without specifying an action, **refuse to start** and re-ask Q1.
43 
44### Q2 (depends on Q1) — Notebook identity
45 
46> **Which notebook?** *(asked for actions 1, 2, 3 — not for "create new")*
47>
48> *Why I'm asking:* If you give me a name, I'll search the homepage; if you give me a URL, I'll navigate directly. Names that are ambiguous will get a disambiguation prompt with screenshots.
49 
50For action 4 (create new): replace with "What's the title for the new notebook?"
51 
52### Q3 (depends on Q1) — Action-specific parameter
53 
54**Action 1 (read/extract):**
55> "What's the question to ask the notebook? Use natural phrasing — the notebook's chat handles it best."
56 
57**Action 2 (add source):**
58> "What source type? Pick one:
59> 1. URL / website / YouTube link
60> 2. Copied text (paste here or point at content)
61> 3. File upload (provide absolute path)
62> 4. Google Doc (link)
63> 5. Synthesized content (I'll pre-process and add as 'Copied text')
64>
65> *Why I'm asking:* Each source type goes through a different sub-flow in the Add Source dialog. Picking upfront saves a step."
66 
67**Action 3 (Studio output):**
68> "Which Studio output? As of 2026-06 the Studio panel offers Audio Overview, Video Overview, Mind Map, Reports (Briefing Doc / Study Guide / FAQ / Timeline / custom), Flashcards, Quiz, Infographic, and Slides — I'll screenshot the live panel and confirm what your account actually shows before clicking. And: any custom-prompt direction? **Default prompts produce mediocre output — I always open the customization menu and write a detailed prompt.** Tell me the angle or audience.
69>
70> *Why I'm asking:* The output type sets the UI button to find. The custom prompt is mandatory for quality."
71 
72**Action 4 (create new):**
73> "Initial sources? Provide URLs, file paths, or 'I'll add later'."
74 
75### Q4 (depends on Q1 = action 3) — Studio custom prompt detail
76 
77> **Tell me the angle, audience, and length for the Studio output. Examples:**
78>
79> - **Audio Overview:** "Two-host conversation for a non-technical executive, 8–10 min, focus on business implications not technical depth"
80> - **Infographic:** "Decision-tree style, action-oriented, 6 panels max, monochrome navy"
81> - **Study Guide:** "Undergrad-level, definitions + 3 practice questions per concept"
82>
83> *Why I'm asking:* This becomes the custom prompt. **Default Studio prompts produce mediocre output — specific direction produces sharp output.**
84 
85**Asked only for Studio output generation (Q1=3). Skip otherwise.**
86 
87**Stop condition:** After Q4 (or earlier with dependency skips), commit and start the action sequence.
88 
89See [`references/studio_output_custom_prompts.md`](references/studio_output_custom_prompts.md) for the canon.
90 
91## Notebook Discovery
92 
93For actions 1-3 (require existing notebook):
94 
951. Navigate to homepage → screenshot
962. If user provided **URL** → navigate directly
973. If user provided **name**:
98 - Use semantic find() to locate notebook card by visible title text
99 - If multiple matches → screenshot homepage, list options, ask user to specify
100 - If no match → ask user to provide URL or confirm spelling
101 
102For action 4 (create new):
1031. Locate "New notebook" button on homepage
1042. Click → set title from Q2
1053. Add initial sources per Q3
106 
107## Action 1: Read / Extract
108 
1091. Open the notebook (notebook discovery above)
1102. Locate chat input (semantic find or screenshot coordinates)
1113. Type the question (use the user's natural phrasing from Q3)
1124. Submit (Enter or send button)
1135. **Wait 3–5 seconds**
1146. Screenshot the response area
1157. Extract and present in **clean format** (not raw chat dump)
116 
117## Action 2: Add Sources
118 
119Sub-flows per source type:
120 
121| Type | UI flow |
122|---|---|
123| URL / Website / YouTube | Add Source → Link → paste URL |
124| Copied Text | Add Source → Copied text → paste content |
125| File Upload | Use file-upload tool with absolute path + input ref (never click native file picker) |
126| Google Doc | Add Source → Google Docs → Drive picker |
127| Synthesized content | Pre-process content elsewhere, then add as Copied text |
128 
129**After every add:** wait for ingestion spinner, screenshot to confirm success.
130 
131**Synthesized content pattern (powerful):** instead of asking NotebookLM to ingest a raw URL with potentially noisy content, pre-process the content (extract main article, strip nav/ads/comments), then add as "Copied text". Produces dramatically better summarization.
132 
133## Action 3: Studio Outputs
134 
135**Discover, don't assume.** NotebookLM's Studio inventory changes between rollouts and account tiers. As of the last verification (2026-06) the panel offers: **Audio Overview, Video Overview, Mind Map, Reports** (Briefing Doc, Study Guide, FAQ, Timeline, custom report formats), **Flashcards, Quiz, Infographic, Slides**. Treat this list as a hint, not ground truth — the screenshot of the live Studio panel is the authority. NotebookLM's UI evolves quickly; verify against the live product and update this section when it drifts (Studio inventory last verified 2026-06).
136 
137**Mandatory workflow:**
138 
1391. Locate Studio panel (right side; may need toggle) and **screenshot it — the tiles you see are the real output types for this account**
1402. Find the specific output button for the requested type (if it isn't visible, check "Discover more"/overflow before declaring it unavailable)
1413. **Open customization menu** (chevron/arrow next to button) — **NOT the main button**
1424. **Write detailed custom prompt** (from Q4)
1435. Confirm and submit
1446. **Do NOT wait for completion** — confirm generation started, notify user, return
145 
146### Custom prompt examples (4 output types)
147 
148**Audio Overview:**
149> "Two-host conversation between a researcher and an experienced practitioner. Audience: non-technical executive making a budget decision. Length: 8-10 minutes. Focus on business implications, not technical depth. Include one concrete example per major point. Acknowledge counter-arguments briefly."
150 
151**Infographic:**
152> "Decision-tree style. Action-oriented (each panel ends with a decision or action). 6 panels max. Monochrome navy + amber highlight. Each panel has: title (4-6 words), 1-2 sentence body, decision/action line. No filler panels."
153 
154**Study Guide:**
155> "Undergraduate-level (define every technical term). Structure: 6 concepts × 4 elements each (definition / why it matters / one worked example / 3 practice questions). Practice questions Bloom-higher-order (apply/analyze), not recall."
156 
157**Slides (slide deck):**
158> "12 slides max. 1-2 sentences per slide body. Presenter notes per slide with: one concrete example + one likely audience objection + how to address it. No bullet points in slide bodies — prose only. End with one-slide call-to-action."
159 
160See [`references/studio_output_custom_prompts.md`](references/studio_output_custom_prompts.md) for more.
161 
162## Action 4: Create New Notebook
163 
1641. Navigate to homepage
1652. Click "New notebook"
1663. Set title from Q2
1674. Add initial sources from Q3 (use Action 2 sub-flows per source type)
1685. **Wait for auto-summary generation** (this one IS synchronous — usually completes in <30 sec)
1696. Screenshot final state
170 
171## Critical Async Behavior
172 
173> **Async output rule:** For Studio generations (especially **Audio Overview** — 5-10 min), DO NOT wait for completion. The user's session will time out.
174>
175> Workflow: Click Generate → confirm generation has started via screenshot → tell the user "Generation in progress — NotebookLM will notify you when ready" → **end the task.**
176 
177This is the **fire-and-notify** pattern. Different from add-source and auto-summary (which are fast enough to wait).
178 
179Use `scripts/async_action_classifier.py` to determine wait-or-notify per action:
180 
181| Action | Wait? |
182|---|---|
183| Add Source (URL/text/file) | Yes — wait for ingestion spinner (~5-30s) |
184| Read/Extract (chat) | Yes — wait 3-5s for response |
185| Studio: Audio Overview | **No** — fire and notify (5-10 min) |
186| Studio: Video Overview | **No** — fire and notify (5-15 min) |
187| Studio: Infographic / Slides / Mind Map | **No** — fire and notify (2-5 min) |
188| Studio: Study Guide / Briefing Doc / FAQ / Flashcards / Quiz | Yes — wait ~30-60s |
189| Create New Notebook | Yes — wait for auto-summary (<30s) |
190 
191```bash
192# Verdict + paste-ready notify message for any action
193python3 scripts/async_action_classifier.py --action "video overview"
194# -> Verdict: FIRE_AND_NOTIFY, estimated 5-15 minutes, with the exact
195# "NOT waiting in this session" message to relay to the user
196```
197 
198See [`references/async_action_discipline.md`](references/async_action_discipline.md) for the canon.
199 
200## Screenshot-First Discipline
201 
202NotebookLM is a **dynamic SPA** where UI varies by:
203- Account tier (free vs Plus vs Enterprise)
204- Feature rollout (some Studio types not yet available to all users)
205- Recent UI changes (Google iterates the product frequently)
206 
207**Every UI action must be preceded by a screenshot.** Reasons:
208 
2091. Verify the UI matches expectations before acting
2102. Catch login walls early
2113. Detect unexpected layout changes
2124. Audit trail for debugging
213 
214Use `screenshot()` (or equivalent in your browser-automation tool) before every meaningful UI interaction.
215 
216See [`references/browser_automation_canon.md`](references/browser_automation_canon.md) for the discipline.
217 
218## find()-Before-Click
219 
220Use **semantic element finders** before pixel coordinates wherever possible:
221 
222- ✅ `find(text="Audio Overview")` → returns element regardless of position
223- ❌ `click(x=420, y=380)` → breaks when UI rearranges
224 
225Semantic finders survive minor UI changes. Pixel coordinates do not.
226 
227Only fall back to coordinates when:
228- Semantic find() returns nothing
229- Element has no stable text/aria-label/data-attribute
230- Visual position is the only reliable signal
231 
232## Saving Outputs to Workspace
233 
234For Read/Extract actions producing useful information:
235 
2361. Extract chat response cleanly (strip UI chrome)
2372. Format readably (paragraphs, lists, code blocks as appropriate)
2383. If user requested → save to file (`${WORKSPACE}/notebooklm/<notebook-slug>-<action>-<date>.md`)
2394. Otherwise → return in chat as final summary
240 
241For Studio outputs:
2421. NotebookLM hosts the output (Audio Overview is in-app, Infographic downloadable, etc.)
2432. Report the location (URL or in-app navigation path) to user
2443. Don't try to download/save Studio outputs to local workspace — that's NotebookLM's job
245 
246## Reporting Back Format
247 
248After completing any action:
249 
2501. Take final screenshot if visually relevant
2512. Give **clean summary** (not raw chat dump):
252 - Notebook used (name)
253 - Action taken (specific)
254 - Result (1-2 sentences)
255 - For generated outputs: what was created + where it is + when ready
2563. For fire-and-notify actions: explicit "NotebookLM will notify you when ready"
257 
258## Error Handling
259 
260| Failure | Behavior |
261|---|---|
262| Browser automation unavailable | Fail fast with "this skill requires browser automation" message (Step 0 halt) |
263| Login wall detected | Stop. Tell user to log in. Don't attempt auto-login. |
264| Multiple notebooks match name | Screenshot homepage, list options, ask user to specify |
265| Source ingestion spinner stuck > 60s | Note timeout, ask user if they want to retry |
266| Studio button not found in panel | Scroll down or look for "Discover more"; if still missing, note feature may not be enabled for this account |
267| Chat response doesn't appear in 10s | Screenshot, check for error state, retry once |
268| Page layout changed unexpectedly | Screenshot, describe what's visible, ask user for guidance |
269 
270## Tooling
271 
272| Script | Role |
273|---|---|
274| `scripts/action_router.py` | Q1-Q4 answers → action plan + UI flow + required parameters |
275| `scripts/custom_prompt_template_generator.py` | Studio output type + audience + length → starter custom prompt |
276| `scripts/async_action_classifier.py` | Action name → wait-or-notify pattern (fire-and-notify for slow generations) |
277 
278## References
279 
280- [`references/browser_automation_canon.md`](references/browser_automation_canon.md) — screenshot-first + find-before-click + tool-agnostic patterns (7+ sources)
281- [`references/studio_output_custom_prompts.md`](references/studio_output_custom_prompts.md) — why defaults are mediocre + per-output-type templates (7+ sources)
282- [`references/async_action_discipline.md`](references/async_action_discipline.md) — fire-and-notify pattern for slow UI ops (7+ sources)
283 
284## Anti-Patterns To Reject
285 
286- Tool-specific tool names without abstraction (e.g., hardcoding "Claude Chrome Extension")
287- Synchronous waiting on Studio generations (especially Audio Overview)
288- Skipping screenshots between actions
289- Using pixel coordinates when semantic find() is available
290- Attempting to handle login flows automatically
291- Generating Studio outputs without opening customization menu
292- Using default Studio prompts (always write custom)
293 
294---
295 
296**Version:** 1.0.0
297**Source spec:** `megaprompts/03-notebooklm-megaprompt.md` (maintainer-local draft spec — gitignored, not present in the public repository)
298**Build pattern:** Path B (direct conversion). Browser-automation shape — distinct from research-pack convention.
299 
View all files on GitHub →

Details

Updated
Aug 30, 2026
License
MIT
Stars on the repo
★ 26,349
Checked
Source
alirezarezvani/claude-skills ↗
Creator
alirezarezvani · 363 listings
View creator

Similar skills

See all →
SkillAI crawler access analysisAI Crawler Access Analysis Skillzubair-trabzada/geo-seo-claude · by zubair-trabzadaAI crawler access analysis. Checks robots.txt, meta tags, and HTTP headers to determine which AI crawlers can access the site. Provides a complete access map and recommendations for maximizing AI visibility while maintaining appropriate control.★ 10.8k GitHub starsSkillAutomate browser tasks, scrape websites, fill formsBrowser Automation - POWERFULalirezarezvani/claude-skills · by alirezarezvaniUse when the user asks to automate browser tasks, scrape websites, fill forms, capture screenshots, extract structured data from web pages, or build web automation workflows. NOT for testing — use playwright-pro for that.★ 26.3k GitHub starsSkill4-tier progressive web scraping that auto-escalates WebFetchBrightdatadanielmiessler/LifeOS · by danielmiessler4-tier progressive web scraping that auto-escalates WebFetch to curl to Interceptor to Bright Data proxy for bot detection and CAPTCHAs, with single-URL and multi-page crawl modes, output as markdown. USE WHEN Bright Data, scrape URL, web scraping, bot detection, crawl site, CAPTCHA, can't access, site blocking, extract page content, scrape whole site, spider domain, convert URL to markdown, getting blocked. NOT FOR simple public content (use WebFetch directly), social platform scraping with named actors (use Apify), or real-Chrome bot bypass with logged-in sessions and zero CDP fingerprint (use Interceptor).★ 19.3k GitHub starsSkillScrape blog posts via RSS feeds with Apify fallbackBlog feed monitorgooseworks-ai/goose-skills · by gooseworks-aiScrape blog posts via RSS feeds (free, no API key) with Apify fallback for JS-heavy sites. Use when you need to monitor competitor blogs, track industry content, or aggregate blog posts by keyword.★ 1.2k GitHub starsSkillExtract structured data from web pages using AIExtract webpage datagooseworks-ai/goose-skills · by gooseworks-aiExtract structured data from web pages using AI★ 1.2k GitHub starsSkillBrowser automation - control browser sessions, scrape pagesNotte - Browser Automation APIgooseworks-ai/goose-skills · by gooseworks-aiBrowser automation - control browser sessions, scrape pages, and run AI agents★ 1.2k GitHub stars

More from alirezarezvani

SkillResume a paused experiment/ar:ar-resume — Resume Experimentalirezarezvani/claude-skills · by alirezarezvaniResume a paused experiment. Checkout the experiment branch, read results history, continue iterating. Use when the user runs /ar:ar-resume or asks to pick up a previously started autoresearch experiment.★ 26.3k GitHub starsSkillShow experiment dashboard with results, active loops/ar:ar-status — Experiment Dashboardalirezarezvani/claude-skills · by alirezarezvaniShow experiment dashboard with results, active loops, and progress. Use when the user runs /ar:ar-status or asks how an autoresearch experiment is going.★ 26.3k GitHub starsSkillStart an autonomous experiment loop with user-selected/ar:loop — Autonomous Experiment Loopalirezarezvani/claude-skills · by alirezarezvaniStart an autonomous experiment loop with user-selected interval (10min, 1h, daily, weekly, monthly). Uses CronCreate for scheduling. Use when the user runs /ar:loop or asks to run an autoresearch experiment continuously on a schedule.★ 26.3k GitHub starsSkillRun a single experiment iteration/ar:run — Single Experiment Iterationalirezarezvani/claude-skills · by alirezarezvaniRun a single experiment iteration. Edit the target file, evaluate, keep or discard. Use when the user runs /ar:run or asks for one manual autoresearch iteration.★ 26.3k GitHub starsSkillSet up a new autoresearch experiment interactively/ar:setup — Create New Experimentalirezarezvani/claude-skills · by alirezarezvaniSet up a new autoresearch experiment interactively. Collects domain, target file, eval command, metric, direction, and evaluator. Use when the user runs /ar:setup or asks to start optimizing a file with the autoresearch loop.★ 26.3k GitHub starsSkill/cs:boardroom <brief/cs:boardroom — Multi-Role Boardroom Deliberationalirezarezvani/claude-skills · by alirezarezvani/cs:boardroom <brief> — 6-phase multi-role deliberation across the C-suite with Phase 2 isolation, critic pre-screen, and synthesis. Outputs a board memo. Use when a decision spans multiple executive domains — e.g. a pricing change touching finance, positioning, and product, or a raise-vs-cut runway call.★ 26.3k GitHub stars