TopRank Skills

Home / Claw Skills / Araignée / Duckduckgo Websearch
Official OpenClaw rules 54%

Duckduckgo Websearch

DuckDuckGo Websearch Skill

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 Duckduckgo Websearch 技能。 若已安装,则直接安装 Duckduckgo Websearch 技能。

Overview

Skill Key
ianwchoi/duckduckgo-websearch
Author
ianwchoi
Source Repo
openclaw/skills
Version
-
Source Path
skills/ianwchoi/duckduckgo-websearch
Latest Commit SHA
327889bafcdd5ac1893f16b3ccb9c2ad03b38059

Extracted Content

SKILL.md excerpt

# DuckDuckGo Websearch Skill

Purpose
- Provide a stable, privacy-minded websearch skill using DuckDuckGo's Instant Answer JSON API as primary source and a lightweight HTML SERP scrape as a fallback for richer link lists.
- Return structured results: concise summary (if available), top 5 links with titles and snippets, and optional short summary of a landed page when requested.

When to use
- Use this skill when the user asks to "search the web", "find links about X", "summarize search results for Y", or any task requiring quick web lookup without paid search APIs.
- Prefer the skill when privacy-friendly sources are acceptable and rate limits / API keys for other search providers are unavailable.

Design principles
- Progressive disclosure: SKILL.md contains the trigger and workflow. Detailed parsing and helpers are in scripts/ so the agent can execute them without loading large text.
- Fail gracefully: if Instant Answer returns limited data, the skill falls back to a minimal HTML fetch-and-parse to extract top results.
- Safety: avoid returning raw HTML; always sanitize snippets and obey robots (basic checks).

Bundled resources
- scripts/ddg_search.js — Node script that performs the search and returns JSON (summary, links[]). Executable by the agent when the skill is invoked.
- references/usage_examples.md — short examples of prompts that should trigger this skill.

Outputs
- JSON shape returned from scripts/ddg_search.js:
  {
    "query": "...",
    "summary": "short abstract or empty",
    "links": [ {"title":"...","url":"...","snippet":"..."}, ... up to 5],
    "source": "instant-answer|serp-fallback",
    "notes": "any warnings"
  }

Security & limits
- The script uses DuckDuckGo's public instant-answer endpoint (no key). For many queries this is enough; for others the SERP fallback will perform a lightweight HTML request. Respect rate limits and avoid heavy scraping.
- Do not follow or fetch pages that explicitly disallow crawling via robots.txt for automati...

Related Claw Skills