Agent skill · research science · grasseed

gemini-research-browser-use

Use Chrome DevTools Protocol to allow the AI to "ask Gemini" or "research with Gemini" directly. This uses the user's logged-in Chrome session, bypassing API limits and leveraging the web interface's reasoning capabilities.

Why this skill is useful

Adds a Python script that enables direct interaction with Google Gemini through Chrome's DevTools Protocol, bypassing API limits and leveraging existing user sessions.

What it needs

Requires python, websockets installed locally. Requires google account access. About 8k tokens when loaded. Last updated 2026-01-23. 3 stars on the source repository.

What this skill does

Gemini Research Browser Use Overview Perform research or queries using Google Gemini via Chrome DevTools Protocol (CDP). This method reuses the user's existing Chrome login session to interact with the Gemini web interface (https://gemini.google.com/). Prerequisites 1. Python + websockets Verify: Install if missing: 2. Google Chrome Verify: 3. CDP Port Availability Verify Chrome is listening (after launch in Step 2): 4. Non-default user data directory (required by Chrome) Chrome CDP requires a non-default profile path. Use a cloned profile so you keep login state. Method Comparison Method Pros Cons Recommended -------- ------ ------ ------------- Chrome Remote Debugging (CDP) Uses existing login, full automation, reliable Requires Chrome restart with debugging flag ✅ Yes browser-use --browser real Simple CLI Opens new session without login ❌ No browsersubagent Visual feedback Rate limited, may fail ❌ No --- ✅ Recommended Method: Chrome Remote Debugging (CDP) This is the most reliable method that uses your system Chrome with existing Google login. Prerequisites 1. Python 3 with websockets library 2. Google Chrome installed at /Applications/Google Chrome.app/ 3. User logged into Google in Chrome Step 1: Install websockets (if needed) Step 2: Launch Chrome with Remote Debugging (Non-default profile) Important: Close any existing Chrome windows first, or use a different debugging port. Parameters explained: --remote-debugging-port=9222: Enables CDP on port 9222 --user-data-dir: Points to your existing Chrome profile (with login session) The URL opens Gemini directly Step 3: Verify Connection (CDP) Look for the Gemini page entry: Note: If URL shows /app instead of just /, it means you're logged in. Step 4: Send Query to Gemini Save this as geminiquery.py or run inline: Step 5: Run the Query Or inline for simple queries: --- Alternative Method: browser-use CLI This method is simpler but does not use your existing Chrome login. You'll need to log in manually each time. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills grasseed/gemini-research-browser-use

View the source on GitHub

Browse the @skills marketplace