跳到正文
TakoAPI
返回技能列表

duckduckgo-websearch

由 ianwchoi 提供

Web & Frontend Development
459下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

High-quality web search using DuckDuckGo (Instant Answer + SERP scraping fallback)

描述

该技能的功能

Provides web search using DuckDuckGo's Instant Answer API with an HTML SERP scrape as fallback. Returns a structured result set: a short summary, up to 5 links with titles and snippets, and optional page summaries. No API key required.

Works out of the box without registering for or paying for a search API key, unlike Brave, Google, or Bing search integrations.

何时使用

  • Looking up recent news on a topic without sharing queries with ad networks
  • Finding top tutorials or docs for a library or framework
  • Getting quick factual answers during a research session
  • Running site-specific searches to locate relevant pages
  • Summarizing top search results for a given question

示例工作流

输入

User asks: Search the web for recent Python 3.13 release notes and give me the top links

智能体
  1. 1

    Invoke scripts/ddg_search.js with the query string

  2. 2

    Script calls DuckDuckGo Instant Answer JSON API

  3. 3

    If the instant answer returns limited data, script falls back to lightweight HTML SERP fetch

  4. 4

    Script parses results and returns structured JSON with summary and up to 5 links

  5. 5

    Agent presents the summary and link list to the user

输出

JSON object with query, short abstract summary, and 5 titled links with snippets

安装

clawhub install ianwchoi/duckduckgo-websearch

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接