Install
openclaw skills install gemini-opsManage Gemini MCP authentication lifecycle on Linux by automating cookie refresh, GUI startup/shutdown, status checks, and smoke tests.
openclaw skills install gemini-opsAutomate operations for Gemini MCP in environments where Google session cookies become invalid quickly.
Target MCP project: https://github.com/AndyShaman/gemini-webapi-mcp
This skill solves repeated manual auth refresh by automating:
Run these commands from /home/moltuser/clawd.
--remote-debugging-port=9222)./home/moltuser/clawd/scripts/notebooklm-remote-gui.sh/home/moltuser/clawd/scripts/gemini-on.sh/home/moltuser/clawd/scripts/gemini-off.shmcporter (gemini-webapi-mcp).A one-time manual login in Chromium to Google/Gemini is required. After that, this skill keeps refresh automated by reusing the same browser profile/session.
Execute:
/home/moltuser/clawd/skills/gemini-ops/scripts/gemini-on.sh
This sequence must:
https://gemini.google.com/.__Secure-1PSID and __Secure-1PSIDTS from the Gemini tab via CDP Network.getCookies.~/.mcporter/mcporter.json (mcpServers.gemini.env).gemini.gemini_chat.Execute:
/home/moltuser/clawd/skills/gemini-ops/scripts/gemini-off.sh
Stop Chromium and related GUI processes (x11vnc/Xvfb/openbox), then clean leftovers.
Execute:
/home/moltuser/clawd/skills/gemini-ops/scripts/gemini-status.sh
Execute:
/home/moltuser/clawd/skills/gemini-ops/scripts/gemini-smoke.sh
Expected response: smoke-ok.
If __Secure-1PSID / __Secure-1PSIDTS are missing:
https://gemini.google.com/ in the same Chromium profile via VNC.