peanuts62

AI-Search-Hub

AI 智能体v1.0.0
作者:peanuts62更新于 2026-05-18ai-search-hub@clawhub_peanuts62/ai-search-hub
任务自动化工具调用#Browser Automation#Debug#Prompt

据 AlphaMoat 统计,截至 2026-09,AI-Search-Hub 累计下载 1,373 次、获 1 个星标,在全部 5,078 个 AI 技能中排名第 4,853 位,在「AI 智能体」分类(969 个)中排名第 932 位。

累计安装
179
累计下载
1,373
星标
1
全站排名
#4,853
全站前 96% · 「AI 智能体」前 97%
平台累计安装累计下载星标评论
ClawHub ↗301,149--
SkillHub ↗1791,3731—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

文档描述为支持站点发送提示并收集响应,也可能从本地浏览器数据创建持久调试配置。提示会发送给外部 AI 服务,浏览器资料可能含登录信息;使用独立配置文件,不提交秘密或机密内容。

资料发布于 2026-10-27

可以用来做什么

  • 整理向支持聊天站点提交的提示
  • 收集并保存返回的文本响应
  • 检查登录状态和调试浏览器配置范围

什么时候用

  • 需要通过浏览器自动化使用指定聊天站点时
  • 已确认提示内容可发送给对应外部服务且未复制敏感登录资料时

示例提示词

以下是根据技能文档生成的示例,不代表实际运行结果。

先说明这个提示将发送到哪个聊天站点,以及会使用哪个浏览器配置;不要复制现有登录数据。

月度数据趋势

累计下载1,373
3398951,4502026-03 · 累计下载 4162026-05 · 累计下载 7112026-07 · 累计下载 9962026-08 · 累计下载 1,0632026-09 · 累计下载 1,37326-0326-09
星标1
0112026-03 · 星标 -2026-05 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 126-0326-09

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-091,373—1
2026-081,063+6.7%1
2026-07996—1
2026-05711—1
2026-03416—-

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 2026-10-23。

4.2 KB · ClawHub v1.0.0
---
name: ai-search-hub
description: Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen, Gemini, and Grok. 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.
---

# AI Search Hub

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

- `scripts/yuanbao_playwright.py`
展开全部(共 75 行)
- `scripts/longcat_playwright.py`
- `scripts/doubao_playwright.py`
- `scripts/qwen_playwright.py`
- `scripts/gemini_playwright.py`
- `scripts/grok_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

## 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:

- `--site yuanbao|longcat|doubao|qwen|gemini|grok`
- `--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:

1. Finds the repo root and target site script.
2. Reuses `--cdp-http` if `9222` is already listening.
3. 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.
4. For legacy sites (`yuanbao`, `longcat`, `doubao`), opens the target site and checks for login UI before dispatching the site-specific script.
5. For generic sites (`qwen`, `gemini`, `grok`), opens the target site, enters the prompt, and waits for a reply.
6. 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.
7. Invokes the matching site script with standardized flags and the resolved `--cdp-url`.
8. 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`: 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`.

「AI 智能体」分类下的热门技能

数据月份:2026-09 · 下载/星标/安装数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。