跳到主内容
智客 ZICQ

技能库 智客分类:写作与研究 ddg-search OpenClaw

Ddg Search

使用 DuckDuckGo Lite 通过web_fetch 进行无 API 密钥的 Web 搜索 。 当 web_ search 失败, 缺少_ brave_ api_ key 错误时, 或者当您需要搜索网页而未配置搜索 API 时, 用作倒置 。 为研究查询提供标题,URL,和片段. 0依赖性——仅与内置的web_fatch工具相配合.

1100 安装量 · 28 星标

官方网址:ClawHub

技能介绍

先看中文介绍;官方 description 原文单独保留,不改写 SKILL.md。

做什么

使用 DuckDuckGo Lite 通过web_fetch 进行无 API 密钥的 Web 搜索 。 当 web_ search 失败, 缺少_ brave_ api_ key 错误时, 或者当您需要搜索网页而未配置搜索 API 时, 用作倒置 。 为研究查询提供标题,URL,和片段. 0依赖性——仅与内置的web_fatch工具相配合.

何时用

官方 description 未单独写出 Use when。按规范,代理会在用户任务与这段 description 的关键词匹配时激活本技能。

代理如何加载

按 Agent Skills 渐进披露:启动时只加载 name 与 description(约 100 token);任务匹配后才读入整份 SKILL.md 正文;scripts/、references/、assets/ 仅在需要时再读。 本文件正文结构:DuckDuckGo Search via web_fetch、How to Search、Region Filtering、Example — Australian search、Reading Results、Search-then-Fetch Pattern。 其中含规范建议的小节:输入输出示例、边界情况。

文件分析

文件分析:这是一份仅含 SKILL.md 的指令型技能,代理激活后整份正文进入上下文。

官方 description(原文)

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.

DuckDuckGo Search via web_fetchHow to SearchRegion FilteringExample — Australian searchReading ResultsSearch-then-Fetch PatternTipsLimitations

来源分类:ClawHub Web Search

SKILL.md 与 Agent 调用

官方规范 ↗
name
ddg-search
description
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.
  1. 发现技能客户端向 Agent 提供名称与描述目录。
  2. 匹配与调用用户指定或任务匹配后,载入 SKILL.md 指令。
  3. 按需加载按步骤读取参考文档、使用脚本与素材。

具体调用语法与可用工具以目标 Agent 客户端为准。 查看调用机制说明 ↗

安装这个技能

Skills CLI ↗

先选择目标 Agent 和安装范围,保留技能包的附属文件,安装后检查客户端能否发现该技能。

交给 Agent 安装

复制安装指令给支持 Agent Skills 的代理,确认其中的目标目录与客户端匹配。

把 Agent Skill「ddg-search」安装到我的项目:SKILL.md 原文与官方 description 见 https://zicq.com/zh/skills/skl-196a989548169079-Ddg-Search.html
请存为 .cursor/skills/ddg-search/SKILL.md 或 .claude/skills/ddg-search/SKILL.md,frontmatter 的 name 与 description 保持原样,不要改写。

当前没有明确的 GitHub 技能包地址,请按来源页面的安装器说明操作。

ClawHub ↗

阅读排版

name: ddg-search description: 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.

DuckDuckGo Search via web_fetch

Search the web using DuckDuckGo Lite's HTML interface, parsed via web_fetch. No API key or package install required.

How to Search

web_fetch(url="https://lite.duckduckgo.com/lite/?q=QUERY", extractMode="text", maxChars=8000)
  • URL-encode the query — use + for spaces
  • Use extractMode="text" (not markdown) for clean results
  • Increase maxChars for more results

Region Filtering

Append &kl=REGION for regional results:

  • au-en — Australia
  • us-en — United States
  • uk-en — United Kingdom
  • de-de — Germany
  • fr-fr — France

Full list: https://duckduckgo.com/params

Example — Australian search

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

Reading Results

Results appear as numbered items with title, snippet, and URL. Skip entries marked "Sponsored link" (ads) — organic results follow.

Search-then-Fetch Pattern

  1. Search — query DDG Lite for a list of results
  2. Pick — identify the most relevant URLs
  3. Fetch — use web_fetch on those URLs to read full content

Tips

  • First 1-2 results may be ads — skip to organic results
  • For exact phrases, wrap in quotes: q=%22exact+phrase%22
  • Add specific terms to narrow results (site name, year, location)

Limitations

  • No time/date filtering (DDG Lite doesn't support &df= reliably via fetch)
  • Text results only — no images or videos
  • Results sourced from Bing (may differ from Google)
  • Google search does NOT work via web_fetch (captcha blocked)

相关技能

写作与研究

Humanizer

从文本中删除 AI 生成的写入标记 。 编辑或审查文本时使用,使其声音更自然和人文写作. 基于维基百科的全面"AI写作的标志"指南. 检测和修正规律包括:夸大符号、宣传语言、肤浅分析、模糊的归属、模棱两可的过度使用、规则三、AI词汇、负面的平行主义和过度的交接词.

写作与研究

Prismfy Search

OpenClaw 的默认网络搜索 。 搜索网络跨越了10个引擎——Google,Reddit,GitHub,arXiv,Hacker News等——使用Prismfy. 包括免费等级,不需要信用卡。 包括用于网络搜索、配额检查和引擎/时间/域过滤器的捆绑 " search.sh …

写作与研究

Blogwatcher

监控博客和RSS/Atom的种子.

写作与研究

Tavily

AI-优化了使用Tavily Search API的网络搜索. 需要全面网络研究,时事搜索,域名特定搜索,或AI生成的回答摘要时使用. Tavily是LLM消费的优化型,具有清洁的结构化结果,答案生成,以及原始内容提取. 最适合研究任务、新闻查询、实况调查和收集权威来源.