An Agent Skill for Google Antigravity that provides seamless integration with Google NotebookLM through the nlm command-line interface.
This skill enables you to use Google NotebookLM directly within Antigravity for:
- Creating and managing notebooks
- Adding sources from URLs, files, text, and Google Drive
- Generating AI-powered audio podcasts and video content
- Performing web research
- Querying notebooks with natural language
- Sharing and collaborating on notebooks
Clone or copy this skill to:
~/.gemini/antigravity/skills/notebooklm/
Clone or copy this skill to your project's skill directory:
<your-project>/.agent/skills/notebooklm/
The skill includes an installation script that sets up the nlm CLI:
cd <skill-directory>
bash scripts/install.shThis will:
- Check for
uv(recommended),pipx, orpip - Install
notebooklm-mcp-clipackage - Make the
nlmcommand available in your PATH
Before using NotebookLM, authenticate with your Google account:
nlm loginThis will:
- Launch a dedicated Chrome profile
- Let you log in to Google
- Automatically extract authentication cookies
Verify authentication:
nlm login --checkOnce installed and authenticated, Antigravity will automatically detect when you want to use NotebookLM based on your request. You can mention tasks like:
- "Create a notebook for my research"
- "Add this URL to my notebook"
- "Generate an audio podcast from these sources"
- "Research [topic] and import sources"
- "What are the key findings in this notebook?"
- "Share this notebook publicly"
- Antigravity will create a notebook
- Add sources (URLs, files, Drive docs)
- Generate an AI audio podcast
- Download the generated audio
- Create a notebook
- Upload PDF or document
- Query with natural language
- Get insights and summaries
- Start research on a topic
- Automatically find and import top sources
- Query the gathered sources
- Generate summary or presentation
- Create, list, and view notebooks
- Add multiple source types
- Organize research projects
- URLs: Web pages, articles
- YouTube: Video transcripts
- Text: Direct text input
- Files: PDF, DOCX, TXT, etc.
- Google Drive: Import Drive documents
- Audio Podcasts: AI-generated audio overviews
- Videos: Explainer videos with various styles
- Briefings: Summary documents
- Flashcards: Study cards (easy/medium/hard)
- Infographics: Visual summaries
- Mind Maps: Concept visualization
- Slides: Presentation decks
- Web research with auto-discovery
- Natural language queries
- Multi-source synthesis
- Drive source sync
- Public links
- Invite collaborators (editor/viewer)
- Share management
- Antigravity: Google Antigravity installed
- Python Package Manager:
uv(recommended),pipx, orpip - Google Account: For NotebookLM authentication
- Chrome: For authentication (uses headless Chrome)
- Rate Limits: Free tier ~50 queries/day
- Auth Expiration: Cookies expire every 2-4 weeks; re-run
nlm login - Internal APIs: Uses undocumented internal APIs (as documented by notebooklm-mcp-cli)
- Use Case: Intended for personal/experimental purposes
# Force reinstall
uv tool install --force notebooklm-mcp-cli
# Or manually
rm -rf ~/.notebooklm-mcp-cli
bash scripts/install.sh# Remove old auth and re-login
rm -rf ~/.notebooklm-mcp-cli
nlm login# Check installation
which nlm
# If not found, PATH issue - add to shell config
# For bash/zsh:
echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrcAudio and video generation takes time. Always check status before downloading:
nlm studio status <notebook-id> <artifact-id>
# Wait until status shows "completed", then:
nlm download audio <notebook-id> <artifact-id>Use multiple Google accounts:
nlm login --profile work
nlm login --profile personal
nlm login switch workRun nlm without installing:
uvx --from notebooklm-mcp-cli nlm notebook list- CLI Guide: Available in the notebooklm-mcp-cli package
- MCP Guide: https://github.com/jacob-bd/notebooklm-mcp-cli
- Antigravity Skills: https://codelabs.developers.google.com/getting-started-with-antigravity-skills
- Based on notebooklm-mcp-cli by Jacob Bedorf
- Follows Antigravity Skills specification from Google
- Compatible with Antigravity Agent Skills architecture
This skill is provided as-is for use with Google Antigravity and notebooklm-mcp-cli.
Note: This skill requires notebooklm-mcp-cli to be installed and authenticated. Run bash scripts/install.sh and nlm login before first use.