agentleFS
claude-worldclaude-world/notebooklm-skill/AGENTS.md

notebooklm-skill

AGENTS.md463 starsChanged 8 months agoMITView on GitHub

NotebookLM research automation — CLI, MCP server, and Claude Code Skill. This project bridges Google NotebookLM's research capabilities with AI content generation. Feed it URLs, PDFs, or trending topics — it creates NotebookLM notebooks, runs deep research, and produces structured output: articles, social posts, podcasts, videos, slides, and more. Built on notebooklm-py 0.7.x — pure async Python. NotebookLM uses browser-based Google login (no API keys needed): Sessions are profile-aware and stored under ~/.notebooklm/profiles/ by default. Five global commands are available…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository2 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

2 rules. About 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    All CLI commands output JSON to stdout.

    line 99
  2. Very specific:

    Use --output to save artifacts to files.

    line 100

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “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
AGENTS.md

notebooklm-skill

NotebookLM research automation — CLI, MCP server, and Claude Code Skill.

Overview

This project bridges Google NotebookLM's research capabilities with AI content generation. Feed it URLs, PDFs, or trending topics — it creates NotebookLM notebooks, runs deep research, and produces structured output: articles, social posts, podcasts, videos, slides, and more.

Built on notebooklm-py 0.7.x — pure async Python.

Authentication

NotebookLM uses browser-based Google login (no API keys needed):

notebooklm-auth setup   # One-time browser auth
notebooklm-auth verify  # Read-only session verification

Sessions are profile-aware and stored under ~/.notebooklm/profiles/ by default.

CLI Commands

Five global commands are available after installation:

notebooklm-skill — Core Operations

notebooklm-skill create --title "Research" --sources https://example.com
notebooklm-skill list
notebooklm-skill ask --notebook "Research" --query "Key findings?"
notebooklm-skill generate --type audio --notebook "Research" --lang en
notebooklm-skill download --type audio --notebook "Research" --output podcast.m4a
notebooklm-skill delete --notebook "Research" --yes

notebooklm-pipeline — Workflow Orchestration

notebooklm-pipeline research-to-article --sources url1 url2 --title "Topic"
notebooklm-pipeline research-to-social --sources url1 --platform threads
notebooklm-pipeline trend-to-content --geo TW --count 5 --platform threads
notebooklm-pipeline batch-digest --rss https://example.com/feed.xml
notebooklm-pipeline generate-all --sources url1 --title "Research" --output-dir ./output

notebooklm-mcp — MCP Server

notebooklm-mcp            # stdio mode (Claude Code, Cursor)
notebooklm-mcp --http     # HTTP mode on port 8765

Authentication and Skill install

notebooklm-auth --profile work setup
notebooklm-install-skill --scope project

MCP Tools (13)

ToolDescription
nlm_create_notebookCreate notebook with sources
nlm_listList all notebooks
nlm_deleteDelete a notebook
nlm_add_sourceAdd source to existing notebook
nlm_askAsk question (returns answer + citations)
nlm_summarizeGet notebook summary
nlm_generateGenerate one of 11 canonical artifact types
nlm_downloadDownload generated artifact
nlm_list_sourcesList sources in notebook
nlm_list_artifactsList generated artifacts
nlm_researchDeep web research
nlm_research_pipelineFull research pipeline
nlm_trend_researchTrend-to-research pipeline

Artifact Types (11 canonical types)

audio, video, cinematic, slides, report, study-guide, quiz, flashcards, mind-map, infographic, data-table

Project Structure

scripts/                  CLI wrappers (notebooklm_client.py, pipeline.py)
mcp_server/               FastMCP server (server.py, tools.py)
SKILL.md                  Claude Code Skill definition
docs/                     Setup guides (EN + zh-TW)
tests/                    Test suite
output/                   Default output directory

Output Format

All CLI commands output JSON to stdout. Progress messages go to stderr. Use --output to save artifacts to files.

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.