# NotebookLM Research - Claude Code

Research workflows: web research, Drive search, auto-import, source extraction.

## Prerequisites

```bash
pip install notebooklm-py
playwright install chromium
notebooklm login
```

## Research Commands

```bash
# Web research
notebooklm source add-research "topic"
notebooklm source add-research "topic" --mode deep --import-all
notebooklm source add-research "topic" --mode deep --no-wait

# Drive research
notebooklm source add-research "topic" --from drive

# Status and wait
notebooklm research status
notebooklm research wait --import-all
```

## Source Extraction

```bash
notebooklm source fulltext <id>
notebooklm source guide <id>
```

## Research Modes

| Mode | Sources | Time |
|------|---------|------|
| `fast` | 5-10 | seconds |
| `deep` | 20+ | 2-5 min |

## Subagent Pattern

```python
# Non-blocking deep research
notebooklm source add-research "topic" --mode deep --no-wait

# Spawn subagent to wait
Task(
  prompt="Wait for research and import: notebooklm research wait -n {id} --import-all",
  subagent_type="general-purpose"
)
```

## Autonomy

**Auto-run:** `research status`, `source fulltext`, `source guide`
**Ask first:** `source add-research`, `research wait --import-all`
