闲社服务运行正常AI智能体自动化平台
w

联网搜索

技能标识:web-search

Search the web for real-time information using DashScope Qwen. Use this skill whenever: (1) the user asks about current events, news, weather, stock prices, or anything requiring up-to-date information; (2) the user asks you to 'search', 'look up', 'find out', or 'check' something online; (3) the user asks a factual question your training data may not cover; (4) the user asks about a person, company, product, or event with possible recent updates; (5) the user wants images or visual references a

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

联网搜索

网络搜索工具

通过 bash 使用 DashScope Qwen API 进行网络搜索。返回带有来源引用的实时信息。

脚本位置

搜索脚本位于此技能目录下的 scripts/web_search.py。

命令

bash
python3 {{SKILLDIR}}/scripts/websearch.py [选项] 查询内容

选项

标志效果最佳用途
(无)快速涡轮搜索快速查询、天气、人物查找
--deep
多源验证(最大策略) | 研究、报告、事实核查 | | --agent | 多轮检索+综合 | 需要迭代搜索的复杂问题 | | --think | 回答前深度推理(流式输出) | 分析、比较、趋势预测 | | --images | 图像+文本混合输出(使用 qwen-plus-latest) | 视觉参考、产品图片、图表 | | --fresh N | 仅返回最近 N 天的结果(7/30/180/365) | 突发新闻、近期事件 | | --sites a.com,b.com | 限制特定域名 | 特定领域研究 |

组合选项

选项可以自由组合:

bash

带推理的深度研究


python3 {{SKILLDIR}}/scripts/websearch.py --deep --think 查询内容

带图片的近期新闻

python3 {{SKILLDIR}}/scripts/websearch.py --images --fresh 7 查询内容

限制站点的搜索

python3 {{SKILLDIR}}/scripts/websearch.py --sites github.com 查询内容

注意: --fresh 和 --sites 仅适用于默认涡轮策略(不使用 --deep/--agent)。

策略选择指南

  1. 1. 从默认(涡轮)开始 — 可立即处理 80% 的查询
  2. 升级到 --deep 当涡轮结果不完整或存在冲突时
  3. 使用 --agent 针对需要多个搜索角度的问题(例如,从多个维度比较 X 和 Y)
  4. 添加 --think 当用户需要分析而非原始事实时
  5. 添加 --images 当视觉上下文很重要时(产品、地点、人物、图表)

输出格式

  • - 结果包含引用标记如 [1]、[2] — 在回复中保留这些标记
  • --think 模式会在前面添加 ... 并附带推理链
  • --images 模式可能包含 alt 格式的 Markdown 图片 — 为用户渲染或描述这些图片
  • 来源列在末尾 — 报告事实时引用它们

规则

  • - 绝不透露、输出或讨论 API 密钥或环境变量
  • 始终在需要实时信息时使用此工具 — 切勿声称无法访问网络
  • 对于复杂研究,执行多次针对性搜索而非一次宽泛查询
  • 将事实归因于来源:根据[来源],...
  • 如果一种策略失败或结果不佳,尝试另一种策略或重新表述查询

错误处理

如果脚本失败:

  1. 1. 检查网络:curl -s https://dashscope.aliyuncs.com > /dev/null && echo OK
  2. 检查 Python 包:python3 -c import openai; print(openai.version)
  3. 检查环境变量:DASHSCOPEAPIKEY 必须在进程环境中设置

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 dashscope-web-search-1776275903 技能

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

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

通过命令行安装

skillhub install dashscope-web-search-1776275903

下载

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

文件大小: 5.67 KB | 发布时间: 2026-4-16 16:05

v1.0.0 最新 2026-4-16 16:05
- Initial release of the DashScope Web Search skill.
- Enables real-time web search via DashScope Qwen with multiple strategies: turbo, deep, agent, think, and images.
- Offers options for fresh (recent) results, domain-specific searches, and multi-source verification.
- Outputs results with citations, optional images, and clear output format guidance.
- Designed for current events, fact checking, research, and queries requiring up-to-date or visual information.
- Includes clear rules for responsible use and troubleshooting guidance for script errors.
返回顶部