skills/notebooklm/SKILL.md
Programmatic access to Google NotebookLM via the notebooklm-py CLI and Python API. Use this skill whenever the user wants to create notebooks, add sources (URLs, YouTube, PDFs, files), generate audio overviews/podcasts, videos, slide decks, quizzes, flashcards, infographics, reports, mind maps, or data tables from their research materials. Also use when the user mentions NotebookLM, wants to turn documents into podcasts, generate study materials, or automate any NotebookLM workflow — even if they don't explicitly say "NotebookLM". Triggers on: podcast from documents, audio overview, NotebookLM, notebook research, generate quiz from PDF, flashcards from notes, study materials, deep dive audio.
npx skillsauth add julianobarbosa/claude-code-skills notebooklmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Unofficial Python CLI and API for Google NotebookLM (notebooklm-py). Provides full programmatic access including capabilities the web UI doesn't expose.
# Install with browser login support
pip install "notebooklm-py[browser]"
playwright install chromium
# Linux only: also run
playwright install-deps chromium
First-time setup requires browser login:
notebooklm login
# Opens Chromium → sign into Google → press Enter when done
# Session saved to ~/.notebooklm/storage_state.json
Check auth status: notebooklm auth check --test
For headless/CI environments, copy storage_state.json from a local machine or set NOTEBOOKLM_AUTH_JSON env var.
| Variable | Description | Default |
|----------|-------------|---------|
| NOTEBOOKLM_HOME | Config directory | ~/.notebooklm |
| NOTEBOOKLM_AUTH_JSON | Inline auth JSON (CI/CD) | — |
| NOTEBOOKLM_LOG_LEVEL | DEBUG/INFO/WARNING/ERROR | WARNING |
| NOTEBOOKLM_DEBUG_RPC | Enable RPC debug (1) | false |
The typical workflow is: create notebook → add sources → generate content → download.
notebooklm create "My Research" # Create notebook
notebooklm list # List all notebooks
notebooklm use <id> # Set active notebook (supports partial ID)
notebooklm summary # AI summary of current notebook
notebooklm rename "New Title" # Rename
notebooklm delete <id> # Delete
Sources are auto-detected by type:
notebooklm source add "https://example.com/article" # URL
notebooklm source add "https://youtube.com/watch?v=..." # YouTube
notebooklm source add ./document.pdf # File (PDF, MD, DOCX, TXT, audio, video, images)
notebooklm source add-drive <drive-file-id> "Title" # Google Drive
notebooklm source add-research "climate policy" --mode deep --import-all # Research agent
Other source commands:
notebooklm source list # List sources
notebooklm source fulltext <id> # Get source full text
notebooklm source guide <id> # AI-generated source guide
notebooklm source rename <id> "New" # Rename
notebooklm source refresh <id> # Re-fetch URL source
notebooklm source delete <id> # Delete
notebooklm ask "What are the key findings?" -s <source_id>
notebooklm ask "Compare sources" --json --save-as-note --note-title "Comparison"
notebooklm history # View chat history
notebooklm history --save # Save history as note
All generate commands support: -s/--source (repeatable, limit to specific sources), --json, --language, --retry N.
Most are async — use --wait to block until complete.
notebooklm generate audio "Focus on practical applications" \
--format deep-dive \ # deep-dive | brief | critique | debate
--length long \ # short | default | long
--wait
notebooklm generate video "Explain the architecture" \
--format explainer \ # explainer | brief
--style whiteboard \ # auto | classic | whiteboard | kawaii | anime | watercolor | retro-print | heritage | paper-craft
--wait
notebooklm generate slide-deck "Executive summary" \
--format detailed \ # detailed | presenter
--length default \ # default | short
--wait
# Revise a specific slide
notebooklm generate revise-slide "Add more data points" \
-a <artifact_id> --slide 2 --wait # slide is zero-based
# Quizzes
notebooklm generate quiz --difficulty hard --quantity more --wait
# Flashcards
notebooklm generate flashcards --difficulty medium --wait
# Infographic
notebooklm generate infographic \
--orientation landscape \ # landscape | portrait | square
--detail detailed \ # concise | standard | detailed
--wait
# Mind map (synchronous, no --wait needed)
notebooklm generate mind-map
# Data table
notebooklm generate data-table "Compare metrics across studies" --wait
notebooklm generate report "Security analysis" \
--format briefing-doc \ # briefing-doc | study-guide | blog-post | custom
--append "Include threat modeling" \
--wait
All download commands support: -a/--artifact, --all, --latest, --earliest, --name, --force, --no-clobber, --dry-run, --json.
notebooklm download audio ./podcast.mp3
notebooklm download video ./overview.mp4
notebooklm download slide-deck ./slides.pptx --format pptx # or pdf (default)
notebooklm download infographic ./info.png
notebooklm download report ./report.md
notebooklm download mind-map ./map.json
notebooklm download data-table ./data.csv
notebooklm download quiz --format json ./quiz.json # json | markdown | html
notebooklm download flashcards --format markdown ./cards.md
notebooklm share status
notebooklm share public --enable # Create public link
notebooklm share view-level full # full | chat
notebooklm share add [email protected] --permission editor -m "Check this out"
notebooklm share remove [email protected]
notebooklm language list # 80+ languages
notebooklm language get
notebooklm language set ja # Set to Japanese
Fully async API for programmatic workflows:
import asyncio
from notebooklm import NotebookLMClient
async def main():
async with await NotebookLMClient.from_storage() as client:
# Create notebook and add sources
nb = await client.notebooks.create("Research")
await client.sources.add_url(nb.id, "https://example.com")
# Generate audio overview
artifact = await client.artifacts.generate_audio(
nb.id, description="Deep dive on findings",
format=AudioFormat.DEEP_DIVE, length=AudioLength.LONG
)
# Wait and download
await client.artifacts.wait(nb.id, artifact.id)
await client.artifacts.download_audio(nb.id, artifact.id, "output.mp3")
# Chat with sources
result = await client.chat.ask(nb.id, "Summarize key points")
print(result.answer)
asyncio.run(main())
API modules: client.notebooks, client.sources, client.artifacts, client.chat, client.research, client.notes, client.settings, client.sharing
notebooklm create "Climate Research"
notebooklm use <id>
notebooklm source add "https://en.wikipedia.org/wiki/Climate_change"
notebooklm source add-research "climate change solutions 2025" --mode deep --import-all
notebooklm generate audio "Focus on actionable solutions" --format debate --length long --wait
notebooklm download audio ./climate-debate.mp3
notebooklm create "Exam Prep"
notebooklm use <id>
notebooklm source add ./textbook.pdf
notebooklm generate quiz --difficulty hard --quantity more --wait
notebooklm generate flashcards --wait
notebooklm download quiz --format markdown ./quiz.md
notebooklm download flashcards --format json ./cards.json
notebooklm create "Literature Review"
notebooklm use <id>
for f in ./papers/*.pdf; do notebooklm source add "$f"; done
notebooklm generate report "Systematic review" --format briefing-doc --wait
notebooklm download report ./review.md
| Issue | Fix |
|-------|-----|
| Auth expired | Run notebooklm login again |
| playwright not found | pip install "notebooklm-py[browser]" then playwright install chromium |
| Generation stuck | Use notebooklm source wait <id> for pending sources, check --retry flag |
| Partial ID not matching | Use more characters of the notebook ID |
| Debug API calls | Set NOTEBOOKLM_LOG_LEVEL=DEBUG or NOTEBOOKLM_DEBUG_RPC=1 |
--account explicitly when they diverge.development
End-to-end branch delivery: commit (no AI attribution) → push → open a pull request → ensure a Board work item exists (create one per task, assigned to the configured user, if none) and link it → after merge, clean up branch and worktree. Auto-detects the platform from the remote — Azure Repos + Boards (azure-devops-node-api SDK; OAuth Bearer push fallback via `az`) or GitHub (Octokit; `gh` for auth). Scripts are TypeScript, run via `bun`. Use whenever asked to "ship", "ship it", "ship this branch", "open a PR", "push and open a PR", "raise a PR", "deliver this", "send this for review", or "create a PR and link the work item" — and when a direct push to main is blocked and the change needs to go through a PR instead.
testing
Brief description of what this skill does. Include specific triggers - when should Claude use this skill? Example triggers, file types, or keywords that indicate this skill applies.
tools
Manage and troubleshoot PATH configuration in zsh. Use when adding tools to PATH (bun, nvm, Python venv, cargo, go), diagnosing "command not found" errors, validating PATH entries, or organizing shell configuration in .zshrc and .zshrc.local files.
tools
Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper/sender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User/permission management