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

DuckDuckGo搜索

技能标识:ddg-search

Web search without an API key using DuckDuckGo Lite via web_fetch. Use as a fallback when web_search fails with missing_brave_api_key error, or whenever you need to search the web and no search API is configured. Provides titles, URLs, and snippets for research queries. Zero dependencies — works with just the built-in web_fetch tool.

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

DuckDuckGo搜索

通过 web_fetch 进行 DuckDuckGo 搜索

使用 DuckDuckGo Lite 的 HTML 界面进行网络搜索,通过 web_fetch 解析。无需 API 密钥或安装软件包。

搜索方法

web_fetch(url=https://lite.duckduckgo.com/lite/?q=QUERY, extractMode=text, maxChars=8000)

  • - 对查询进行 URL 编码——使用 + 表示空格
  • 使用 extractMode=text(而非 markdown)获取干净的结果
  • 增加 maxChars 以获取更多结果

地区筛选

追加 &kl=REGION 获取地区结果:

  • - au-en — 澳大利亚
  • us-en — 美国
  • uk-en — 英国
  • de-de — 德国
  • fr-fr — 法国

完整列表:https://duckduckgo.com/params

示例——澳大利亚搜索

web_fetch(url=https://lite.duckduckgo.com/lite/?q=best+coffee+melbourne&kl=au-en, extractMode=text, maxChars=8000)

阅读结果

结果以编号项形式显示,包含标题、摘要和 URL。跳过标记为赞助链接(广告)的条目——自然结果紧随其后。

搜索-获取模式

  1. 1. 搜索——向 DDG Lite 查询结果列表
  2. 选择——识别最相关的 URL
  3. 获取——使用 web_fetch 访问这些 URL 以阅读完整内容

提示

  • - 前 1-2 个结果可能是广告——跳转到自然结果
  • 对于精确短语,用引号包裹:q=%22exact+phrase%22
  • 添加特定术语以缩小结果范围(网站名称、年份、地点)

局限性

  • - 无时间/日期筛选(DDG Lite 通过 fetch 无法可靠支持 &df=)
  • 仅文本结果——无图片或视频
  • 结果来自 Bing(可能与 Google 不同)
  • Google 搜索无法通过 web_fetch 工作(被验证码拦截)

标签

skill ai

通过对话安装

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

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 mxy-web-search-1776080952 技能

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

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

通过命令行安装

skillhub install mxy-web-search-1776080952

下载

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

文件大小: 1.65 KB | 发布时间: 2026-4-15 13:32

v1.0.0 最新 2026-4-15 13:32
- Initial release: DuckDuckGo web search via web_fetch with no API key required.
- Returns titles, URLs, and snippets for research and general queries.
- Supports regional result filtering using `&kl=REGION` parameter.
- Provides step-by-step usage examples and tips for clean results.
- Designed as a fallback when standard web_search fails due to missing API keys; zero additional dependencies.
返回顶部