--- name: Gemini Browser description: >- Query Google Gemini via browser automation using OpenClaw's Browser Relay. Use when you need to ask Gemini questions and get AI responses. Requires OpenClaw with Browser Relay Chrome extension configured. --- # Gemini Browser Skill Query Google Gemini (`gemini.google.com`) via OpenClaw Browser Relay and extract responses. > **⚠️ Security Notice**: This skill operates on your **real Chrome browser** with > your logged-in Google session via CDP (Chrome DevTools Protocol). The agent will > have access to anything visible in the attached tab. Only attach tabs you > explicitly intend for the agent to control. See [Security Considerations](#security-considerations). ## Prerequisites - **OpenClaw** installed and running (this skill uses OpenClaw's `browser` command) - **OpenClaw Browser Relay** Chrome extension installed and configured - Extension binds to loopback `127.0.0.1:18792` by default - Gateway auth token must be configured in extension options - **Google account** logged in within Chrome (Gemini requires authentication) - Use `profile=chrome` to relay through your existing Chrome (not the isolated `profile=openclaw-managed`) ## Quick Start ```bash # 1. Open Gemini in Chrome open -a "Google Chrome" "https://gemini.google.com" # 2. Manually click the Browser Relay extension icon on the Gemini tab to attach # (the badge will show "ON" when attached) # 3. Verify relay is connected browser action=status profile=chrome # Should show cdpReady: true # 4. List tabs browser action=tabs profile=chrome # Note the targetId for the Gemini tab ``` ## Input Method Gemini uses a **Quill rich-text editor** (`contenteditable` div), not a standard `