agentleFS
tiangong-aitiangong-ai/agent-skills/notebooklm-Invoke/SKILL.md

notebooklm

Skill11 starsChanged 3 months agoMITView on GitHub

NotebookLM CLI wrapper via `python3 {baseDir}/scripts/notebooklm.py` (backed by notebooklm-py). Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use claudeception, remotion-best-practices and 7 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.
  • chipoto69Skill

    claudeception

    Claudeception is a continuous learning system that extracts reusable knowledge from work sessions. Triggers: (1) /claudeception command to review session learnings, (2) "save this as a skill" or "extract a skill from this", (3) "what did we learn?", (4) After any task involving non-obvious debugging, workarounds, or trial-and-error discovery. Creates new Claude Code skills when valuable, reusable knowledge is identified.

    Also in 3 projects that use this

  • VercelSkill

    remotion-best-practices

    Best practices for Remotion - Video creation in React

    Also in 5 projects that use this

  • dandacompanySkill

    youtube-transcript

    Extract YouTube video transcripts/subtitles using yt-dlp. Handles rate limiting, auto-generated captions, multiple languages, and VTT parsing.

    Also in 3 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 7 projects that use this

  • VercelSkill

    find-skills

    Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.

    Also in 5 projects that use this

  • VercelSkill

    vercel-react-best-practices

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    Also in 3 projects that use this

  • +1 more from vercel

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 47 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Prefer --json for machine-readable output where supported.

    line 26
  2. Distinctive:

    File paths: Use absolute paths for output files so the main session can find them.

    line 131
  3. Very specific:

    If user requirements exceed 15 pages, split into multiple decks (e.g., Part 1/2/3) and generate separately.

    line 136
  4. Very specific:

    After generation, provide downloadable .pptx output when possible:

    line 137

“Common” is measured: kept by at least 6 in 10 of the 47 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 CLI Wrapper (Python)

Required parameters

  • python3 available.
  • notebooklm-py installed (CLI binary: notebooklm).
  • NotebookLM authenticated (login).

Quick start

  • Wrapper script: scripts/notebooklm.py.
  • Command form: python3 {baseDir}/scripts/notebooklm.py <command> [args...].
python3 {baseDir}/scripts/notebooklm.py login
python3 {baseDir}/scripts/notebooklm.py list
python3 {baseDir}/scripts/notebooklm.py use <notebook_id>
python3 {baseDir}/scripts/notebooklm.py status
python3 {baseDir}/scripts/notebooklm.py ask "Summarize the key takeaways" --notebook <notebook_id>

Output guidance

  • Prefer --json for machine-readable output where supported.
  • Long-running waits are handled by native commands like:
    • source wait
    • artifact wait
    • research wait

⚡ Sub-Agent Delegation (Anti-Blocking)

Problem

NotebookLM operations like source wait, artifact wait, research wait, generate slide-deck, and source add-research can take minutes to complete. Running them in the main session blocks the conversation.

Strategy

For any operation expected to take >30 seconds, delegate to a sub-agent via sessions_spawn:

  1. Main session: Acknowledge the user's request, then spawn a sub-agent with a clear task description.
  2. Sub-agent: Executes the long-running NotebookLM commands, waits for completion, and reports back.
  3. Main session: Remains responsive. The sub-agent auto-announces completion.

Which operations to delegate

OperationDelegate?Reason
login, status, list, use, clear❌ NoFast (<5s)
ask (chat)❌ NoUsually fast (~10s)
source list, source get, note list❌ NoFast reads
source add (URL/text)⚠️ MaybeFast to submit, but source wait after is slow
source add-research✅ YesDeep research can take 2-5 min
source wait✅ YesPolling wait, unpredictable duration
generate slide-deck + artifact wait✅ YesGeneration takes 1-5 min
research wait✅ YesCan take several minutes
download slide-deck⚠️ MaybeUsually fast, but can be slow for large files
Multi-step workflows (add sources → wait → generate → wait → download)✅ YesCompound long tasks

How to spawn

sessions_spawn:
  task: |
    You are a NotebookLM task runner. Execute the following NotebookLM operations
    and report results when done.

    Notebook ID: <notebook_id>
    Commands to run (in order):
    1. <command 1>
    2. <command 2>
    ...

    Use the CLI wrapper: python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py
    Prefer --json output where supported.
    If any step fails, report the error and stop.
    When complete, summarize what was accomplished and any output files created.
  mode: run
  label: notebooklm-<short-description>

Example: Generate slide deck

User: "帮我用 notebook X 生成一个 PPT"

Main session response:

好的,我派了一个后台任务去生成 PPT,完成后会通知你 ✧

Spawn:

sessions_spawn:
  task: |
    NotebookLM task: Generate a slide deck from notebook.

    Steps:
    1. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py generate slide-deck "Create a comprehensive slide deck" --notebook <id>
    2. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py artifact wait <artifact_id> --notebook <id> --timeout 600 --json
    3. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py download slide-deck ./output.pptx --notebook <id> --latest --format pptx

    Report: artifact details, file path, any errors.
  mode: run
  label: notebooklm-slide-deck

Example: Add research source

User: "在 notebook Y 里加一个关于碳足迹的深度研究"

Spawn:

sessions_spawn:
  task: |
    NotebookLM task: Add deep research source.

    Steps:
    1. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py source add-research "碳足迹最新研究进展" --mode deep --notebook <id>
    2. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py research wait --notebook <id> --timeout 600
    3. python3 ~/.openclaw/skills/notebooklm-Invoke/scripts/notebooklm.py source list --notebook <id> --json

    Report: research status, new sources added, any errors.
  mode: run
  label: notebooklm-research

Guidelines

  • Always tell the user you're delegating to a background task before spawning.
  • Use mode: run (one-shot) — no need for persistent sessions.
  • Use descriptive labels like notebooklm-slide-deck, notebooklm-research-carbon for easy tracking.
  • Include all context in the task — the sub-agent has no conversation history.
  • Error handling: Instruct the sub-agent to report errors clearly so you can relay them.
  • File paths: Use absolute paths for output files so the main session can find them.
  • Compound workflows: Bundle related steps (add → wait → generate → wait → download) into a single sub-agent task rather than spawning multiple.

PPT generation policy

  • A single generated slide deck should target at most 15 pages.
  • If user requirements exceed 15 pages, split into multiple decks (e.g., Part 1/2/3) and generate separately.
  • After generation, provide downloadable .pptx output when possible:
    • download slide-deck ... --format pptx

References

  • README.md (installation, requirements, troubleshooting)
  • QUICKSTART_CN.md(中文快速上手)
  • references/cli-commands.md

Assets

  • None.

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.