Automate operations for NotebookLM MCP in environments where Google session cookies become invalid quickly.
This skill solves repeated manual auth refresh by automating:
GUI stack startup,
navigation to NotebookLM,
auth refresh via CDP,
MCP sanity checks,
full cleanup on shutdown.
Run commands from [REDACTED_ABSOLUTE_PATH].
Requirements / dependencies
Linux host with Chromium and CDP (--remote-debugging-port=9222).
Virtual display stack: Xvfb + openbox + x11vnc.
Working scripts used by this skill:
[REDACTED_ABSOLUTE_PATH]
[REDACTED_ABSOLUTE_PATH]
[REDACTED_ABSOLUTE_PATH]
[REDACTED_ABSOLUTE_PATH]
NotebookLM MCP configured in mcporter (notebooklm-mcp).
One-time login
A one-time manual login in Chromium to Google/NotebookLM is required.
After that, this skill keeps refresh automated by reusing the same browser profile/session.
Navigate the current tab to https://notebooklm.google.com/.
Wait for load.
Refresh NotebookLM auth via CDP.
Reload NotebookLM MCP auth and run sanity check (notebooklm-list).
Turn NotebookLM OFF
Execute:
[REDACTED_ABSOLUTE_PATH]
Stop Chromium and related GUI processes (x11vnc/Xvfb/openbox), then clean leftovers.
Check status
Execute:
[REDACTED_ABSOLUTE_PATH]
Smoke test
Execute:
[REDACTED_ABSOLUTE_PATH]
Expected result: notebook list returns "status": "success".
Failure handling
If auth refresh fails:
Re-run NotebookLM ON once.
If still failing, ask user to log in at https://notebooklm.google.com/ in the same Chromium profile via VNC.
Re-run NotebookLM ON and smoke test.
1---2name: asb04-0079053description: "Operate Google NotebookLM MCP authentication lifecycle on Linux host. Use for NotebookLM MCP (`notebooklm-mcp` via `mcporter`) when cookies expire frequently and auth must be refreshed often. Handles on/off, auth refresh, status, and smoke test. Triggers: \"Включи NotebookLM\", \"Выключи NotebookLM\", \"обнови авторизацию NotebookLM\", \"проверь NotebookLM\"."4metadata:5 source: https://skillmd.com/skills/bishal-pdmsft/asb04-0079056---78# NotebookLM Ops910Automate operations for **NotebookLM MCP** in environments where Google session cookies become invalid quickly.1112This skill solves repeated manual auth refresh by automating:13- GUI stack startup,14- navigation to NotebookLM,15- auth refresh via CDP,16- MCP sanity checks,17- full cleanup on shutdown.1819Run commands from `[REDACTED_ABSOLUTE_PATH]`.2021## Requirements / dependencies2223- Linux host with Chromium and CDP (`--remote-debugging-port=9222`).24- Virtual display stack: **Xvfb + openbox + x11vnc**.25- Working scripts used by this skill:26 - `[REDACTED_ABSOLUTE_PATH]`27 - `[REDACTED_ABSOLUTE_PATH]`28 - `[REDACTED_ABSOLUTE_PATH]`29 - `[REDACTED_ABSOLUTE_PATH]`30- NotebookLM MCP configured in `mcporter` (`notebooklm-mcp`).3132## One-time login3334A one-time manual login in Chromium to Google/NotebookLM is required.35After that, this skill keeps refresh automated by reusing the same browser profile/session.3637## Turn NotebookLM ON3839Execute:4041```bash42[REDACTED_ABSOLUTE_PATH]43```4445Required sequence:461. Start GUI/CDP stack (Xvfb + openbox + x11vnc + Chromium).472. Navigate the **current tab** to `https://notebooklm.google.com/`.483. Wait for load.494. Refresh NotebookLM auth via CDP.505. Reload NotebookLM MCP auth and run sanity check (`notebooklm-list`).5152## Turn NotebookLM OFF5354Execute:5556```bash57[REDACTED_ABSOLUTE_PATH]58```5960Stop Chromium and related GUI processes (x11vnc/Xvfb/openbox), then clean leftovers.6162## Check status6364Execute:6566```bash67[REDACTED_ABSOLUTE_PATH]68```6970## Smoke test7172Execute:7374```bash75[REDACTED_ABSOLUTE_PATH]76```7778Expected result: notebook list returns `"status": "success"`.7980## Failure handling8182If auth refresh fails:831. Re-run NotebookLM ON once.842. If still failing, ask user to log in at `https://notebooklm.google.com/` in the same Chromium profile via VNC.853. Re-run NotebookLM ON and smoke test.
Run npx get-skill add bishal-pdmsft/asb04-007905 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
NotebookLM Ops It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Capability flags: docs only. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
bishal-pdMSFT (@bishal-pdmsft) published this skill. Their other Agent Skills are listed on their SkillMD profile.