Browser Gemini Search
/install browser-gemini-search
Browser Gemini Search
Use OpenClaw's browser tool to control the user's Chrome and search Gemini.
Workflow
-
Ensure browser is connected
- Run
browser(action="start", profile="user", target="host") - If
attachOnlyerror or timeout: Chrome is not running with debugging port- Ask user to run:
& "C:\Program Files\Google\Chrome\Application\chrome.exe" --remote-debugging-port=9222 - Then retry connection
- Ask user to run:
- Run
-
Find or open Gemini tab
- Run
browser(action="tabs", profile="user", target="host")to list open tabs - Look for existing Gemini tab (URL contains
gemini.google.com) - If found:
browser(action="focus", targetId="\x3Cid>", profile="user", target="host") - If not found: open new tab via
browser(action="navigate", url="https://gemini.google.com", target="host")
- Run
-
Wait for page load
- Run
browser(action="snapshot", profile="user", target="host")to verify page is ready - Look for the input textbox (usually
textboxwith placeholder like "Ask Gemini" or "输入双子座的提示")
- Run
-
Type the search query
- Use
browser(action="act", kind="type", ref="\x3Ctextbox_ref>", text="\x3Cuser's search query>", profile="user", target="host") - Then
browser(action="act", kind="click", ref="\x3Csend_button_ref>", profile="user", target="host")to send
- Use
-
Read Gemini's response
- Wait 5-10 seconds for response to generate
- Run
browser(action="snapshot", profile="user", target="host")to read the answer - Present the answer to the user
Quick reference
# Step 1: connect
browser(action="start", profile="user", target="host")
# Step 2: find tab or navigate
browser(action="tabs", profile="user", target="host")
browser(action="focus", targetId="11", profile="user", target="host") # if found
browser(action="navigate", url="https://gemini.google.com", target="host") # if not found
# Step 3 & 4: type and send
browser(action="act", kind="type", ref="1_1236", text="search query here", profile="user", target="host")
browser(action="act", kind="click", ref="2_2", profile="user", target="host") # send button
# Step 5: read response
browser(action="snapshot", profile="user", target="host")
Common issues
- "Chrome MCP existing-session attach timed out": Chrome debugging port not enabled. User must restart Chrome with
--remote-debugging-port=9222. - SSRF blocked URL: The Gemini domain must be in
browser.ssrfPolicy.hostnameAllowlistin openclaw.json. Add if missing:*.google.com - Tab focus fails: Use correct
targetIdfromtabsoutput - Input ref changes: Re-run snapshot to get fresh refs after page navigation
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install browser-gemini-search - After installation, invoke the skill by name or use
/browser-gemini-search - Provide required inputs per the skill's parameter spec and get structured output
What is Browser Gemini Search?
Search the web using Google Gemini via OpenClaw-controlled Chrome with remote debugging enabled and an approved user profile. It is an AI Agent Skill for Claude Code / OpenClaw, with 54 downloads so far.
How do I install Browser Gemini Search?
Run "/install browser-gemini-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Browser Gemini Search free?
Yes, Browser Gemini Search is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Browser Gemini Search support?
Browser Gemini Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Browser Gemini Search?
It is built and maintained by dream007007s (@dream007007s); the current version is v1.0.0.