← 返回 Skills 市场
qiaoshaohua

SearXNG Web Search

作者 adeeptools · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
39
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install youyiai-web-search
功能描述
SearXNG 元搜索联网搜索技能。通过自建 SearXNG 元搜索引擎聚合百度、Bing 等多个搜索引擎的结构化结果,返回标题、摘要、来源链接。比 HTML 爬虫方案更稳定,通过正式 JSON API 获取搜索结果。适用于需要联网搜索信息、查询资料、查新闻、了解最新动态的场景。
使用说明 (SKILL.md)

SearXNG 元搜索联网搜索

本技能用于普通联网搜索。它通过自建的 SearXNG 元搜索引擎聚合百度、Bing 等多个搜索引擎的结果,返回结构化 JSON(标题、链接、摘要、来源引擎)。不需要打开智能浏览器,不需要用户登录,也不依赖浏览器插件桥。

相比 baidu-mobile-search 的 HTML 爬虫方案,SearXNG 通过正式 JSON API 获取结果,更稳定、更不容易被反爬封锁。

何时使用

用户提出以下需求时,优先使用本技能(优先级高于 baidu-mobile-search):

  • 搜索某个关键词、人物、公司、产品、新闻、政策、资料。
  • 查询最新公开信息、网络资料、公开网页线索。
  • 需要先判断有哪些可靠来源,再决定是否打开详情页。
  • 需要同时从多个搜索引擎获取结果。

如果 SearXNG 实例不可用或返回空结果,可降级使用 baidu-mobile-search 作为备选。 如果需要登录态、点击网页筛选、处理复杂网页交互、进入多个详情页逐步读取,再改用 smart-browser 智能网页助手。

命令

搜索关键词(默认使用百度+Bing引擎):

python "${HERMES_HOME:-$HOME/.hermes}/skills/searxng-search/scripts/searxng_search.py" "\x3C关键词>"

限制结果数量:

python "${HERMES_HOME:-$HOME/.hermes}/skills/searxng-search/scripts/searxng_search.py" "\x3C关键词>" --limit 10

指定搜索引擎:

python "${HERMES_HOME:-$HOME/.hermes}/skills/searxng-search/scripts/searxng_search.py" "\x3C关键词>" --engines baidu,bing

输出 JSON:

python "${HERMES_HOME:-$HOME/.hermes}/skills/searxng-search/scripts/searxng_search.py" "\x3C关键词>" --json

指定 SearXNG 实例地址(也可通过 SEARXNG_ENDPOINT 环境变量设置):

python "${HERMES_HOME:-$HOME/.hermes}/skills/searxng-search/scripts/searxng_search.py" "\x3C关键词>" --endpoint http://175.24.233.186:8890

回复要求

  • 先根据 RESULTS_JSONRESULTS 总结,不要编造搜索结果里没有的信息。
  • 对事实类、新闻类、政策类回答,至少引用 2 个搜索结果来源;只有一个可靠结果时要说明来源有限。
  • 结果中的 source 字段标明了来源引擎(如 baidu、bing),可以据此判断结果的可信度。
  • 如果输出 SEARXNG_SEARCH_STATUS: EMPTY,告诉用户当前没有搜索结果,建议换关键词或稍后重试。
  • 如果输出 SEARXNG_SEARCH_STATUS: ERROR,简要说明连接失败,可降级使用 baidu-mobile-search
  • 如果有 UNRESPONSIVE_ENGINES,部分引擎超时但仍有其他引擎返回结果,正常使用即可。
  • 如果有 SUGGESTIONS,可以参考建议关键词进一步搜索。

推荐流程

普通搜索任务:

searxng_search.py "\x3C关键词>" -> 阅读 RESULTS/RESULTS_JSON -> 引用来源总结

SearXNG 不可用时降级:

searxng_search.py "\x3C关键词>" -> ERROR -> baidu_mobile_search.py "\x3C关键词>" -> 总结

需要详情页确认:

searxng_search.py "\x3C关键词>" -> 选择最相关来源 -> smart-browser goto "\x3C结果链接>" -> extract -> 总结
安全使用建议
Install only if you trust the configured SearXNG server. Before using it for private, client, account, health, legal, financial, or workplace-sensitive searches, set SEARXNG_ENDPOINT to a trusted HTTPS or self-hosted instance. Treat results as web-search output from Baidu/Bing through that endpoint, not as private local search.
能力标签
requires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is web search via SearXNG, and the script only performs a search request, parses JSON results, and prints structured output. This is coherent with the skill description.
Instruction Scope
The skill broadly tells the agent to use it for ordinary search and latest-information requests. That is expected for a search skill, but users should understand it may run whenever the assistant chooses a web-search workflow.
Install Mechanism
The artifact contains normal skill files plus one Python script using only the standard library. No installer, package download, persistence hook, or hidden setup step was found.
Credentials
Network access is purpose-aligned, but the default endpoint is a remote public IP using plain HTTP, so search terms and metadata can be observed or logged by the endpoint or network path. The artifact discloses the endpoint value but does not clearly warn about this privacy and integrity impact.
Persistence & Privilege
No credential reading, local profile access, background worker, privilege escalation, file mutation, or persistence behavior was found. Environment variables are only used to override the SearXNG endpoint.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install youyiai-web-search
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /youyiai-web-search 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
初始发布:支持百度+Bing双引擎聚合搜索,JSON API结构化输出,中文优化
元数据
Slug youyiai-web-search
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

SearXNG Web Search 是什么?

SearXNG 元搜索联网搜索技能。通过自建 SearXNG 元搜索引擎聚合百度、Bing 等多个搜索引擎的结构化结果,返回标题、摘要、来源链接。比 HTML 爬虫方案更稳定,通过正式 JSON API 获取搜索结果。适用于需要联网搜索信息、查询资料、查新闻、了解最新动态的场景。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 39 次。

如何安装 SearXNG Web Search?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install youyiai-web-search」即可一键安装,无需额外配置。

SearXNG Web Search 是免费的吗?

是的,SearXNG Web Search 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

SearXNG Web Search 支持哪些平台?

SearXNG Web Search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SearXNG Web Search?

由 adeeptools(@qiaoshaohua)开发并维护,当前版本 v1.0.0。

💬 留言讨论