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

ddgr

使用`ddgr`命令行工具通过DuckDuckGo搜索网络。当用户要求在线查找信息、验证事实或收集来源链接时使用。

person作者: jakexiaohubgithub

Ddgr

Search the web from the terminal with ddgr.

ddgr --noprompt --noua --json --num 10 "query terms"

Search Web

Preferred command (machine-readable JSON):

ddgr --noprompt --noua --json --num 10 "query terms"

Search with region targeting:

ddgr --noprompt --noua --json --num 10 -r us-en "query terms"

Common options:

  • --json: Return JSON results for deterministic parsing
  • --num <N>: Maximum number of results
  • -r <region>: Region code such as us-en or gb-en
  • --noprompt: Non-interactive mode
  • --noua: Disable random user-agent behavior

Fallback

If --json is not supported by the installed ddgr version, use plain output:

ddgr --noprompt --noua --num 10 "query terms"

Summarize results with title, URL, and snippet for each entry.