Files
our-claude-skills/custom-skills/51-notebooklm-automation/SKILL.md
Andrew Yim 6ac547e78f
Some checks failed
Verify Skills / verify-skills (push) Has been cancelled
refactor(skills): clean skill names (strip NN- prefix from name:) — convention change
Adopt: directory keeps its NN- ordering prefix; skill `name:` is the clean form
without it (dir 16-seo-schema-validator → name: seo-schema-validator). Nicer to
invoke, matches the original desktop/SKILL.md names, still globally unique.

- 71 root SKILL.md: name: NN-foo → name: foo (flat skills + reference-curator suite).
  Plugins (mac-optimizer/multi-agent-guide/dintel-bootstrap) already clean; 95 already clean.
- scripts/migrate_skill_root.py: derive name = dirname minus NN- prefix (skill_name()).
- CLAUDE.md + SKILL-MIGRATION-GUIDE.md: document the dir-prefix / clean-name convention.

verify_skills.py: 0 name collisions across all renamed skills. (The ~/.claude/skills
symlinks were re-pointed to the clean names separately — filesystem only.)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-28 02:11:01 +09:00

105 lines
2.5 KiB
Markdown

---
name: notebooklm-automation
description: |
Complete NotebookLM automation for notebooks, sources, and artifacts management.
Triggers: manage NotebookLM, create notebook, add sources, 노트북 관리, NotebookLM 자동화.
---
# NotebookLM Automation
Complete programmatic control over NotebookLM notebooks, sources, and artifacts.
## Prerequisites
```bash
pip install notebooklm-py
playwright install chromium
notebooklm login
```
## When This Skill Activates
- "Create a NotebookLM notebook"
- "Add sources to NotebookLM"
- "Manage my notebooks"
- Korean: "노트북 만들어줘", "소스 추가"
## Quick Reference
### Notebook Operations
| Task | Command |
|------|---------|
| List all | `notebooklm list` |
| List (JSON) | `notebooklm list --json` |
| Create | `notebooklm create "Title"` |
| Rename | `notebooklm rename <id> "New"` |
| Delete | `notebooklm delete <id>` |
| Set context | `notebooklm use <id>` |
### Source Operations
| Task | Command |
|------|---------|
| Add URL | `notebooklm source add "https://..."` |
| Add file | `notebooklm source add ./file.pdf` |
| Add YouTube | `notebooklm source add "youtube.com/..."` |
| List sources | `notebooklm source list` |
| Delete source | `notebooklm source delete <id>` |
| Wait for ready | `notebooklm source wait <id>` |
### Artifact Operations
| Task | Command |
|------|---------|
| List artifacts | `notebooklm artifact list` |
| Wait for completion | `notebooklm artifact wait <id>` |
| Delete artifact | `notebooklm artifact delete <id>` |
## Workflows
### Bulk Import Sources
```bash
notebooklm create "Research Collection"
notebooklm source add "https://url1.com"
notebooklm source add "https://url2.com"
notebooklm source add ./local.pdf
notebooklm source list
```
### CI/CD Integration
Use `--json` for machine-readable output:
```bash
# Create and capture ID
NOTEBOOK_ID=$(notebooklm create "Docs" --json | jq -r '.id')
# Add sources
notebooklm source add "https://docs.example.com" --json
# Export for downstream processing
notebooklm list --json > notebooks.json
```
## Environment Variables
| Variable | Purpose |
|----------|---------|
| `NOTEBOOKLM_HOME` | Custom config directory |
| `NOTEBOOKLM_AUTH_JSON` | Inline auth (CI/CD) |
## Autonomy Rules
**Auto-run:** `list`, `status`, `source list`, `artifact list`, `create`, `use`
**Ask first:** `delete`, `rename`
## Error Handling
| Error | Solution |
|-------|----------|
| Auth error | `notebooklm login` |
| No context | `notebooklm use <id>` |
| Rate limit | Wait 5-10 min, retry |