# AI Search Hub

Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen...

- Repository: https://github.com/minsight-ai-info/AI-Search-Hub (1307 stars)
- Category: Testing
- License: see repository
- Last updated: 2026-04-27
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add minsight-ai-info/AI-Search-Hub --skill ai-search-hub -g -a claude-code -y`
Codex: `npx skills add minsight-ai-info/AI-Search-Hub --skill ai-search-hub -g -a codex -y`
Cursor: `npx skills add minsight-ai-info/AI-Search-Hub --skill ai-search-hub -g -a cursor -y`
Gemini CLI: `npx skills add minsight-ai-info/AI-Search-Hub --skill ai-search-hub -g -a gemini-cli -y`

## Description

Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen, Gemini, Grok, and MiniMax. Use this skill when the user wants to ask one of those sites a prompt, auto-start or attach to a Chrome DevTools session on port 9222, seed an isolated debug browser profile from the user's local browser data, detect whether login is required, wait for the user to finish logging in if needed, and then continue automatically.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# AI Search Hub

Use this skill only for this repository's AI Search Hub browser automation scripts:

- `scripts/yuanbao_playwright.py`
- `scripts/longcat_playwright.py`
- `scripts/doubao_playwright.py`
- `scripts/qwen_playwright.py`
- `scripts/gemini_playwright.py`
- `scripts/grok_playwright.py`
- `scripts/minimaxi_playwright.py`

## When To Use

Use this skill when the user asks to:

- run one of the supported chat sites from this repo
- normalize invocation across the three scripts
- auto-start a debug Chromium-family browser session
- detect whether `127.0.0.1:9222` is available
- prompt for login if the target site is not logged in, then continue automatically
- seed an isolated debug profile from the user's local browser data

## Installation

Before first use, ensure dependencies are installed. See `INSTALL.md` for the complete setup sequence:

1. Python 3.10+ with pip
2. `pip install playwright`
3. `playwright install chromium`

The wrapper auto-detects Chrome/Edge/Brave/Chromium on macOS, Linux, and Windows.

## Routing Strategy

Do not send every question to every platform. Analyze the question first, then route to the platform(s) whose underlying data world is most likely to contain the best answer.

See `ROUTING.md` for the full decision framework. Quick reference:

| Question Type | Recommended Site | Parent Company |
|---|---|---|
| Twitter / X / real-time social | `grok` | xAI |
| Google / global web | `gemini` | Google |
| 微信公众号 / WeChat content | `yuanbao` | 腾讯 |
| 抖音 / 头条 / ByteDance trends | `doubao` | 字节跳动 |
| 美团 / 大众点评 / 本地生活 | `longcat` | 美团 |
| 淘宝 / 阿里 / 通用中文 | `qwen` | 阿里巴巴 |
| 用户明确要求 MiniMax / MiniMax Agent | `minimaxi` | MiniMax |

## How To Run

Run the bundled wrapper script instead of calling the site script directly:

```bash
python3 scripts/run_web_chat.py --site doubao --prompt "Give me a short Hangzhou food guide."
```

Key arguments:

The rest: https://github.com/minsight-ai-info/AI-Search-Hub/blob/HEAD//SKILL.md
