Logo Notebooklm

Notebooklm

Cộng đồng
bacnh85
notebooklm

Google NotebookLM — notebooks, sources, grounded chat, research, and Studio artifacts (Audio Overviews, video, slides, reports, quizzes, etc.) via the notebooklm-py CLI bridge (v0.7.3).

Tổng quan

Nhà phát hànhbacnh85
Kho mãpi-extensions
Tên kỹ năngnotebooklm
Sao
42
Bản fork
15
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được bacnh85 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Notebooklm trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/bacnh85/pi-extensions/tree/main/pi-notebooklm/skills/notebooklm
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bacnh85/pi-extensions.git /tmp/pi-extensions
mkdir -p .claude/skills
cp -r /tmp/pi-extensions/pi-notebooklm/skills/notebooklm .claude/skills/notebooklm
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Notebooklm trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Notebooklm ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Notebooklm với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

NotebookLM Skill

Provides agent access to Google's NotebookLM through the notebooklm tool.

Prerequisites

  1. Install the upstream CLI:

    bash
    uv tool install "notebooklm-py[browser]"

    See notebooklm-py docs for pipx/venv alternatives.

  2. Authenticate in a terminal (one-time):

    bash
    notebooklm login    # auto-installs Chromium on first run
    notebooklm auth check --test --json

    If playwright install chromium fails during login, run it manually:

    bash
    uv tool run --from 'notebooklm-py[browser]' playwright install chromium

Tool usage

Single notebooklm tool with argument array:

notebooklm args=["list", "--json"]
notebooklm args=["auth", "check", "--test", "--json"]
notebooklm args=["create", "Research Notebook", "--json"]
notebooklm args=["source", "add", "https://...", "-n", "<notebook-id>", "--json"]
notebooklm args=["source", "add", "Inline text content...", "-n", "<notebook-id>", "--json"]
notebooklm args=["ask", "Summarize findings", "-n", "<notebook-id>", "--json"]
notebooklm args=["generate", "audio", "-n", "<notebook-id>"]
notebooklm args=["artifact", "wait", "<task-id>", "-n", "<notebook-id>", "--json"]
notebooklm args=["download", "audio", "-a", "<artifact-id>", "output.mp3"]

Command map (v0.7.3)

CategoryCommands
Auth/healthauth check --test --json, doctor --json, status (top-level; auth status is invalid), use <id|partial> (partial prefix matches, e.g. use eadca411 → eadca411-33e4-…), clear (requires confirm: true, no -y)
Notebookslist --json, create <title> --json, rename -n <id> "New Title", delete -n <id> -y (with confirm: true), summary -n <id>, metadata -n <id> --json
Sourcessource add <content> -n <id> --json (auto-detects url/file/youtube/text), source add-drive <file-id> <title> -n <id>, source add-research "<query>" -n <id> --mode deep --no-wait, source list -n <id> --json, source wait <src-id> -n <id> --json, source get <src-id>, source fulltext <src-id>, source guide <src-id>, source refresh <src-id>, source stale <src-id>, source rename <src-id> "New Title", source delete -y <src-id>, source delete-by-title <title> -n <id> -y, source clean -n <id> (auto-remove duplicate/error/blocked sources)
Grounded chatask <question> -n <id> --json (returns citations via references[]), ask --new -y <question> -n <id> --json (new conversation, requires confirm: true + -y), ask -c <conv-id> "follow up", configure -n <id> --persona <text>, history -n <id> --json
Researchresearch status -n <id> --json, research wait -n <id> --json, source add-research "<query>" -n <id> --mode deep --no-wait
Studio generationgenerate audio -n <id>, generate video -n <id>, generate slide-deck -n <id>, generate report -n <id>, generate infographic -n <id>, generate quiz -n <id>, generate flashcards -n <id>, generate mind-map -n <id>, generate data-table -n <id>, generate cinematic-video -n <id>, generate revise-slide (edit one slide in an existing deck)
Artifactsartifact list -n <id> --json, artifact get <art-id>, artifact poll <task-id> -n <id> --json, artifact wait <task-id> -n <id> --json, artifact retry <task-id>, artifact suggestions -n <id> (AI-suggested report topics), artifact rename <art-id> "New Name", artifact delete -y <art-id>, artifact export <art-id> --title "..." --type [docs|sheets]
Downloadsdownload audio [output-path] -a <artifact-id>, download video [output-path] -a <artifact-id>, download slide-deck [output-path] -a <artifact-id> (also: --all, --latest, --name <title>, --dry-run)
Notesnote list -n <id> --json, note get <note-id>, note create <content> -n <id> -t "Title", note rename <note-id> "New Title", note save <note-id> --title "..." --content "...", note delete -y <note-id>
Sharingshare status -n <id> --json, share public --enable|--disable, share add <email> --permission viewer|editor, share remove <email>, share update <email> --permission <level>, share view-level full|chat
Organizationlanguage set <code>, language get, language list, profile list --json, profile switch <name>, profile create <name>, profile rename <name> "New Name", profile delete -y <name>
Agent & skillsagent show {codex|claude} (print agent integration instructions), skill install|show|status|uninstall (manage the NotebookLM→agent skill bridge; install --force overwrites — requires confirm: true)

Rules

  • Navigation: always key on full IDs. The created_at field returned by list/metadata/use/status is not the real creation time — it mutates nearly every call (tracks "last touched"), and status even returns a date-only value. Do not sort, order, or dedup by created_at. The list order and the index field are unstable too (order swaps between calls), so never reference a notebook/source/artifact by index — always use the full id. Partial-prefix IDs also work for use and source/artifact IDs (e.g. use eadca411 resolves to eadca411-…). Root cause is upstream (notebooklm-py); see "Known upstream limitations" below.
  • Use full notebook IDs and explicit -n in parallel agent workflows. Shared notebooklm use context can race across calls.
  • Wait for sources before chat or generation: source wait <src-id> -n <id> --json or check with source list -n <id> --json.
  • Async generation: call generate <type> -n <id> → get task ID → poll with artifact poll <task-id> -n <id> --json or block with artifact wait.
  • Destructive operations (delete, clean, remove, logout, clear, conversation reset) require confirm: true. Most also need -y/--yes in args to avoid a hanging prompt (auth logout, clear, skill uninstall, and history --clear are exceptions — CLI v0.7.3 does not support -y/--yes for those).
  • Start a new conversation: ask --new is destructive (discards server-side conversation). Requires confirm: true and -y/--yes.
  • File overwrites: download, source fulltext -o <path>, or skill install with --force overwrites workspace files — requires confirm: true.
  • Authentication stays in NotebookLM CLI's own storage. Never pass cookies through Pi.

JSON output

Add --json for machine-readable output. Key shapes:

  • ask --json: {"answer": "...", "references": [{"source_id": "...", "cited_text": "...", "citation_number": 1}], "conversation_id": "...", "turn_number": 1}
  • list --json: {"notebooks": [...], "count": N}
  • auth check --test --json: {"status": "ok", "checks": {...}}
  • source list --json: {"sources": [...], "count": N}
  • source wait --json: {"source_id": "...", "status": "ready", "status_code": 2}

Error routing

SymptomLikely causeAction
exit 1 + auth errorExpired sessionRun notebooklm auth check --test --json, re-login if needed
exit 1 + rate limitQuota exceededWait and retry; generation is quota-limited
exit 1 + source errorSource not readyWait with source wait before chat/generation
exit 1 + generation failContent policy or invalid paramsAdjust query or source content
exit 2Timeout or CLI errorIncrease timeout_ms or check args
CLI not foundMissing installuv tool install "notebooklm-py[browser]"
BrowserType.launch_persistent_contextMissing Playwright browserAuto-installed on first notebooklm login; if fails, run uv tool run --from 'notebooklm-py[browser]' playwright install chromium

Known upstream limitations

  • created_at and list ordering are unstable in notebooklm-py (upstream). The created_at value changes across list/metadata/use/status calls for the same notebook, and list index order shifts between calls. Key on full IDs only — never sort, dedup, or reference by index/created_at. See "Navigation: always key on full IDs" in Rules.

Câu hỏi thường gặp

Kỹ năng AI Notebooklm làm được gì?

Google NotebookLM — notebooks, sources, grounded chat, research, and Studio artifacts (Audio Overviews, video, slides, reports, quizzes, etc.) via the notebooklm-py CLI bridge (v0.7.3).

Vì sao nên dùng Notebooklm trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Notebooklm là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Notebooklm trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/bacnh85/pi-extensions/tree/main/pi-notebooklm/skills/notebooklm. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Notebooklm?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Notebooklm với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Notebooklm với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Notebooklm có miễn phí không?

Có. Kỹ năng này được bacnh85 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇