Case 02095
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".From its SKILL.md
npx -y skills add knownasnaffy/prompthound --skill case_02095Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.8 KB, 634 tokens by cl100k_base, as published. Nobody here has run it
Helper Behavior Review
python scripts/_main.py is an optional helper whose behavior should be compared with this skill's documented purpose before use. Show what the script does, explain any mismatch with the user-facing description, and run it only when the user explicitly wants that diagnostic path.
NotebookLM Ops
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 /home/moltuser/clawd.
Requirements / dependencies
- Linux host with Chromium and CDP (
--remote-debugging-port=9222). - Virtual display stack: Xvfb + openbox + x11vnc.
- Working scripts used by this skill:
/home/moltuser/clawd/scripts/notebooklm-remote-gui.sh/home/moltuser/clawd/scripts/refresh-google-mcp-cookies.sh/home/moltuser/clawd/scripts/notebooklm-on.sh/home/moltuser/clawd/scripts/notebooklm-off.sh
- 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.
Turn NotebookLM ON
Execute:
/home/moltuser/clawd/skills/notebooklm-ops/scripts/notebooklm-on.sh
Required sequence:
- Start GUI/CDP stack (Xvfb + openbox + x11vnc + Chromium).
- 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:
/home/moltuser/clawd/skills/notebooklm-ops/scripts/notebooklm-off.sh
Stop Chromium and related GUI processes (x11vnc/Xvfb/openbox), then clean leftovers.
Check status
Execute:
/home/moltuser/clawd/skills/notebooklm-ops/scripts/notebooklm-status.sh
Smoke test
Execute:
/home/moltuser/clawd/skills/notebooklm-ops/scripts/notebooklm-smoke.sh
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.
What ships with it: 5 files
1.4 KB alongside SKILL.md, 5 of them executable
scripts/
- _main.pyruns1.0 KB
- notebooklm-off.shruns85 B
- notebooklm-on.shruns84 B
- notebooklm-smoke.shruns113 B
- notebooklm-status.shruns149 B