返回 Skill 列表
extension
分类: 开发与工程无需 API Key

DuckDuckGo Web Search

使用 DuckDuckGo 搜索网页。免费且无需 API 密钥。适用于用户要求搜索网页、查询信息、在线研究或需要获取训练数据之外的最新信息时。也可在 web_search 工具不可用或未配置 API 密钥时使用。

person作者: neobotjan2026hubclawhub

DuckDuckGo Web Search

Search the web via DuckDuckGo using the ddgs Python library. No API key needed.

Quick Usage

python3 skills/ddg-search/scripts/search.py "your search query" [count]
  • query (required): Search terms
  • count (optional): Number of results, default 5, max 20

Output Format

Each result includes:

  • Title — Page title
  • URL — Direct link
  • Snippet — Text excerpt

Examples

# Basic search
python3 skills/ddg-search/scripts/search.py "latest AI news"

# More results
python3 skills/ddg-search/scripts/search.py "Python async tutorial" 10

Follow-up

After searching, use web_fetch to read full content from any result URL.

Dependencies

  • ddgs Python package (install: pip install --break-system-packages ddgs)

Limitations

  • Unofficial scraping — may break if DuckDuckGo changes their frontend
  • Rate limits possible under heavy use
  • English-biased results by default