返回顶部
m

moark-web-search网络搜索

Search web content such as webpages, images, and videos using the /web-search API with an Access Token.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
110
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

moark-web-search

网页搜索

该技能允许用户通过 /web-search API 搜索网页内容。适用于信息查询、最新内容发现、网页搜索、图片搜索和视频搜索。

使用方法

确保已安装所需依赖(pip install requests)。使用捆绑脚本执行搜索。

bash
python {baseDir}/scripts/performwebsearch.py \
--query 阿里巴巴2024年的ESG报告 \
--summary true \
--freshness noLimit \
--count 10 \
--api-key YOURAPIKEY

选项说明

  • - --query - 搜索关键词或自然语言问题。
  • --summary - 是否在结果中包含摘要。接受 true 或 false。默认为 true。
  • --freshness - 时间筛选。选项:noLimit、oneDay、oneWeek、oneMonth、oneYear。
  • --count - 返回结果数量。默认为 10。
  • --api-key - 用于 Authorization: Bearer 标头的 API 密钥。如果省略,则从 GITEEAIAPIKEY 读取。

工作流程

  1. 1. 使用用户参数执行 performwebsearch.py。
  2. 解析脚本输出,找到以 SEARCHRESULTSJSON: 开头的行。
  3. 从该行提取 JSON 数据。
  4. 为用户总结最相关的结果,优先使用 webPages.value。

注意事项

  • - 回复语言应与用户提问语言保持一致。
  • 除非用户明确要求图片或视频,否则优先使用 webPages.value。
  • 如果用户询问最新信息,请相应设置 --freshness 参数。
  • 如果 API 未返回结果,请直接说明,不要编造答案。
  • 如果缺少 GITEEAIAPIKEY,用户必须提供 --api-key。
  • 脚本输出中包含 SEARCHRESULTSJSON:,请始终解析该行。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 moark-web-search-1776055512 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 moark-web-search-1776055512 技能

通过命令行安装

skillhub install moark-web-search-1776055512

下载

⬇ 下载 moark-web-search v1.0.0(免费)

文件大小: 3.26 KB | 发布时间: 2026-4-14 09:55

v1.0.0 最新 2026-4-14 09:55
- Initial release of moark-web-search skill.
- Enables searching web pages, images, and videos via the /web-search API with access token support.
- Provides a command-line script for performing searches, supporting parameters for query, summary, freshness, count, and API key.
- Reads API key from the GITEEAI_API_KEY environment variable or command-line argument.
- Outputs results in JSON; users are instructed to parse lines starting with SEARCH_RESULTS_JSON:.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部