Install
openclaw skills install @sclawbot/msearch集成16个搜索引擎(7个国内 + 9个国际),支持高级搜索操作符、时间筛选、站内搜索、隐私搜索引擎和 WolframAlpha 知识查询,无需 API 密钥。
openclaw skills install @sclawbot/msearch集成 16 个搜索引擎进行网页抓取,无需 API 密钥。
准备阶段:AI Agent 初始化一个空的运行时内存 Cookie 存储。Cookie 仅在搜索操作遇到访问拒绝时动态获取。
语言评估:检测搜索查询的语言属性。如果查询为中文,使用国内搜索引擎(百度、必应CN、必应INT、360、搜狗、微信、神马)。如果查询为非中文,使用国际搜索引擎(Google、Google HK、DuckDuckGo、Yahoo、Startpage、Brave、Ecosia、Qwant、WolframAlpha)。根据查询的相关性和可用性选择合适的引擎。
受控搜索:使用 web_fetch 执行搜索请求并进行速率限制:
Cookie 管理:
重试机制:如果搜索因 Cookie/会话问题失败,在 2 秒延迟后使用新获取的 Cookie 重试一次。
结果聚合:整合来自搜索引擎的成功结果,整理并汇总,输出核心搜索报告。
https://www.baidu.com/s?wd={keyword}https://cn.bing.com/search?q={keyword}&ensearch=0https://cn.bing.com/search?q={keyword}&ensearch=1https://www.so.com/s?q={keyword}https://sogou.com/web?query={keyword}https://wx.sogou.com/weixin?type=2&query={keyword}https://m.sm.cn/s?q={keyword}https://www.google.com/search?q={keyword}https://www.google.com.hk/search?q={keyword}https://duckduckgo.com/html/?q={keyword}https://search.yahoo.com/search?p={keyword}https://www.startpage.com/sp/search?query={keyword}https://search.brave.com/search?q={keyword}https://www.ecosia.org/search?q={keyword}https://www.qwant.com/?q={keyword}https://www.wolframalpha.com/input?i={keyword}// 基础搜索
web_fetch({"url": "https://www.google.com/search?q=python教程"})
// 站内搜索
web_fetch({"url": "https://www.google.com/search?q=site:github.com+react"})
// 文件类型搜索
web_fetch({"url": "https://www.google.com/search?q=机器学习+filetype:pdf"})
// 时间筛选(最近一周)
web_fetch({"url": "https://www.google.com/search?q=AI新闻&tbs=qdr:w"})
// 隐私搜索
web_fetch({"url": "https://duckduckgo.com/html/?q=隐私工具"})
// DuckDuckGo Bangs 快捷跳转
web_fetch({"url": "https://duckduckgo.com/html/?q=!gh+tensorflow"})
// 知识计算查询
web_fetch({"url": "https://www.wolframalpha.com/input?i=100+USD+to+CNY"})
| 操作符 | 示例 | 描述 |
|---|---|---|
site: | site:github.com python | 在指定网站内搜索 |
filetype: | filetype:pdf 报告 | 指定文件类型 |
"" | "机器学习" | 精确匹配 |
- | python -蛇 | 排除关键词 |
OR | 猫 OR 狗 | 任意关键词 |
| 参数 | 描述 |
|---|---|
tbs=qdr:h | 最近1小时 |
tbs=qdr:d | 最近1天 |
tbs=qdr:w | 最近1周 |
tbs=qdr:m | 最近1月 |
tbs=qdr:y | 最近1年 |
| Bang | 跳转目标 |
|---|---|
!g | |
!gh | GitHub |
!so | Stack Overflow |
!w | Wikipedia |
!yt | YouTube |
integrate x^2 dx100 USD to CNYAAPL stockweather in Beijingreferences/advanced-search.md - 国内搜索引擎深度搜索指南references/international-search.md - 国际搜索引擎深度搜索指南MIT