Notebooklmのロゴ

Notebooklm

コミュニティ
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).

概要

公開者bacnh85
リポジトリpi-extensions
スキル名notebooklm
スター
42
フォーク
15
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    bacnh85がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルNotebooklmをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/bacnh85/pi-extensions/tree/main/pi-notebooklm/skills/notebooklm
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでNotebooklmを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にNotebooklmを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Notebooklmは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「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).

TypingMindでNotebooklmを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Notebooklmはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにNotebooklmをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/bacnh85/pi-extensions/tree/main/pi-notebooklm/skills/notebooklmを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Notebooklmを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Notebooklmは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもNotebooklmを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Notebooklm」は無料ですか?

はい。bacnh85がGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇