ai-search-browser-uselisted
Install: claude install-skill JWCodeWrote/Agent_Skills_Plugin
# AI Search Browser Use
## Overview
Enable reliable AI-assisted web research by using **Chrome CDP** as the primary automation method. This approach connects to a Chrome instance with remote debugging enabled, allowing direct control over browser tabs for Gemini + Qwen queries.
**Key Advantage**: CDP uses your logged-in Chrome profile, so no additional authentication is needed for Gemini and Qwen.
## Workflow
### 0) Check Prerequisites
**Required: Python + websockets**
```bash
python3 --version
python3 -m pip show websockets
```
If `websockets` is missing, install in a venv:
```bash
python3 -m venv .venv
./.venv/bin/pip install websockets
```
**Required: Google Chrome**
Verify Chrome is installed:
```bash
"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" --version
```
If not installed:
- macOS: `brew install --cask google-chrome`
- Windows: `winget install --id Google.Chrome -e`
### 1) Launch Chrome with CDP (Remote Debugging)
**CRITICAL**: CDP requires a **non-default user data directory**. This serves two purposes:
1. **Allows running alongside your normal Chrome**: By using a separate `--user-data-dir`, the CDP Chrome runs as an independent process. You can continue using your regular Chrome without any conflicts.
2. **Preserves login state**: By cloning your existing Chrome profile, the CDP Chrome inherits your logged-in sessions for Gemini, Qwen, and other sites.
**Clone your existing Chrome profile**:
```bash
# Clean and clone profile (on