mcpbeat Sign in

AI Search Hub Agent Skill

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.

526k tokens
context cost
the whole folder, loaded on every use
19
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
1229
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/minsight-ai-info/AI-Search-Hub --skill ai-search-hub

The instruction itself

8 sections, as written by the author

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:

  • Python 3.10+ with pip
  • pip install playwright
  • 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:

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

Key arguments:

  • --site yuanbao|longcat|doubao|qwen|gemini|grok|minimaxi
  • --prompt "..." required
  • --repo-root <path> if the current working directory is not the repo root
  • --cdp-http http://127.0.0.1:9222 to reuse an existing DevTools endpoint
  • --browser-path <path> to force a specific Chromium-family browser binary
  • --debug-profile-dir <path> to control the isolated debug profile location
  • --user-data-source <path> to force a specific source browser user-data-dir
  • --output <path> to control the destination file

Workflow

The wrapper script is the low-freedom path and should be preferred over hand-rolling the sequence.

It does the following:

  • Finds the repo root and target site script.
  • Reuses --cdp-http if 9222 is already listening.
  • Otherwise seeds an isolated Chromium-family debug profile from the user's source browser data and starts the browser with a remote-debugging port, opening the requested site directly instead of leaving a separate about:blank startup tab behind.
  • For legacy sites (yuanbao, longcat, doubao), opens the target site and checks for login UI before dispatching the site-specific script.
  • For generic sites (qwen, gemini, grok, minimaxi), opens the target site, enters the prompt, and waits for a reply.
  • If the site requires login or produces no usable reply because login is required, prints a prompt and waits until login completes, then continues automatically.
  • Invokes the matching site script with standardized flags and the resolved --cdp-url.
  • Reuses the single startup page when possible so the browser does not keep an extra blank tab, and prefers DOM-side text entry over keyboard typing to reduce accidental interference from the user working elsewhere.

Site Notes

  • doubao: requires a logged-in session. The visitor page usually does not answer prompts.
  • yuanbao: login may appear as a modal with QQ, WeChat, or last-login buttons even when the page shell is visible.
  • longcat: the wrapper prefers a new chat before sending unless --no-new-chat is requested downstream.
  • qwen, gemini, grok, minimaxi: each has its own Playwright entry script backed by a shared site-chat core. gemini first targets the visible composer and attempts the send once before falling back to the login-wait loop, because the landing page exposes a real textbox even when the account is not yet in a usable chat state.

Constraints

  • Prefer headed Chromium browsers for login-recovery flows. Headless mode only makes sense when the copied debug profile is already logged in.
  • Do not kill the user's normal browser session unless the user explicitly asks for that.
  • The wrapper copies browser data into an isolated debug profile and skips lock files, so the user's normal browser can stay open.
  • The wrapper bypasses Python proxy settings for local DevTools requests because http://127.0.0.1:9222/json/version may otherwise return a false 502.

Other skills for the same job

different authors, same section of the catalogue
Webapp Testing
by anthropics
vendor ×12

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

6k tokens scripts
Notebooklm
by ZhanlinCui
×6

Use this skill to query your Google NotebookLM notebooks directly from Claude Code for source-grounded, citation-backed answers from Gemini. Browser automation, library management, persistent auth. Drastically reduced hallucinations through document-only responses.

26k tokens scripts
Playwright Skill
by lackeyjb
×4

Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions, validate web functionality, or perform any browser-based testing.

12k tokens scripts
Electron
by vercel-labs
vendor ×2

Automate Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify, etc.) using agent-browser via Chrome DevTools Protocol. Use when the user needs to interact with an Electron app, automate a desktop app, connect to a running app, control a native app, or test an Electron application. Triggers include "automate Slack app", "control VS Code", "interact with Discord app", "test this Electron app", "connect to desktop app", or any task requiring automation of a native Electron application.

2k tokens
Anchor Browser Automation
by christophacham
×2

Automate Anchor Browser tasks via Rube MCP (Composio). Always search tools first for current schemas.

756 tokens needs MCP
Browser Tool Automation
by christophacham
×2

Automate Browser Tool tasks via Rube MCP (Composio). Always search tools first for current schemas.

749 tokens needs MCP
Giil
by Dicklesworthstone
×2

Get Image [from] Internet Link - Zero-setup CLI for downloading full-resolution images from iCloud, Dropbox, Google Photos, and Google Drive share links. Four-tier capture strategy, browser automation, HEIC conversion, album support. Node.js/Playwright.

3k tokens
Browser Extension Builder
by ComeOnOliver
×2

Expert in building browser extensions that solve real problems - Chrome, Firefox, and cross-browser extensions. Covers extension architecture, manifest v3, content scripts, popup UIs, monetization strategies, and Chrome Web Store publishing. Use when: browser extension, chrome extension, firefox addon, extension, manifest v3.

4k tokens

How to use it

Copy the folder

Take minsight-ai-info/ai-search-hub from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.

Install what it needs

The instructions reference pip. Without those the skill loads but fails at the first command.