跳至主要内容
小龙虾小龙虾AI
🤖

DuckDuckGo Web Search

Search the web using DuckDuckGo. Free, no API key required. Use when the user asks to search the web, look something up, find information online, research a topic, or when you need to find current information that isn't in your training data. Also use when web_search tool is unavailable or has no API key configured.

下载2.8k
星标6
版本1.0.0
搜索研究
安全通过
⚙️脚本

技能说明


name: ddg-search description: Search the web using DuckDuckGo. Free, no API key required. Use when the user asks to search the web, look something up, find information online, research a topic, or when you need to find current information that isn't in your training data. Also use when web_search tool is unavailable or has no API key configured.

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

如何使用「DuckDuckGo Web Search」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「DuckDuckGo Web Search」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能