notebooklm-cli-cookiesSearch and answer questions over documents already uploaded to NotebookLM using the nlm CLI. Use when users ask to find information, summarize sources, or query a specific NotebookLM notebook.
Install via ClawdBot CLI:
clawdbot install lhquangit/notebooklm-cli-cookiesUse this skill when the user wants to search or ask questions over content that already exists in NotebookLM notebooks.
This skill assumes:
nlm is installed (notebooklm-mcp-cli package).NOTEBOOKLM_MCP_CLI_PATH points to the auth storage directory.When the user mentions any of the following, treat it as a strict request to query NotebookLM:
tai_lieu_dien, nlm_tai_lieu_dien)In these cases:
nlm via Exec to answer. Do not answer from memory.nlm output).Slash command:
/nlm ... in Telegram, treat the raw text after /nlm as the nlm arguments.nlm via Exec, and return the relevant stdout.Before running queries:
echo "$NOTEBOOKLM_MCP_CLI_PATH"
nlm login --check
If auth check fails, stop and ask for auth refresh workflow (do not run browser login in AWS runtime).
nlm notebook list --json
notebook_id from the list output (do not pass raw title into nlm notebook get/source list/query).nlm notebook query "<notebook_id_or_alias>" "<user_question>"
Notes:
nlm notebook list returns titles for display, but many other commands expect a notebook id (UUID) or an alias. Passing a title like "tài liệu điện" may return null/empty results.tai_lieu_dien).Prefer one of these formats to reliably trigger this skill:
1) Force CLI query:
Chạy lệnh: nlm notebook query tai_lieu_dien "giá của A9N61500 là bao nhiêu? Nếu notebook không có thông tin giá thì trả lời: không thấy trong NotebookLM."
2) Natural language but explicit:
Trong NotebookLM notebook alias tai_lieu_dien: trả lời câu hỏi "giá của A9N61500 là bao nhiêu?". Bắt buộc dùng nlm để truy vấn, không tìm web, không đọc file local.
Authentication expired / 401 / 403:NOTEBOOKLM_MCP_CLI_PATH.profiles/default/cookies.json and profiles/default/metadata.json exist.nlm: command not found:pipx install notebooklm-mcp-cli (recommended), or uv tool install notebooklm-mcp-cli.# List notebooks
nlm notebook list --json
# Query notebook by id or alias
nlm notebook query "<notebook_id_or_alias>" "<question>"
# Check auth status
nlm login --check
AI Usage Analysis
Analysis is being generated… refresh in a few seconds.
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.
Command-line tool to manage Google Workspace services including Gmail, Calendar, Drive, Sheets, Docs, Slides, Contacts, Tasks, People, Groups, and Keep.
Runs shell commands inside a dedicated tmux session named claw, captures, and returns the output, with safety checks for destructive commands.
A modern text-based browser. Renders web pages in the terminal using headless Firefox.
Write robust, portable shell scripts. Use when parsing arguments, handling errors properly, writing POSIX-compatible scripts, managing temp files, running commands in parallel, managing background processes, or adding --help to scripts.
NotebookLM CLI wrapper via `node {baseDir}/scripts/notebooklm.mjs`. Use for auth, notebooks, chat, sources, notes, sharing, research, and artifact generation/download.