← 返回 Skills 市场
1796
总下载
2
收藏
13
当前安装
1
版本数
在 OpenClaw 中安装
/install ddg-search-cli
功能描述
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.
使用说明 (SKILL.md)
ddg-search
Search DuckDuckGo from the command line. Results go to stdout; progress goes to stderr.
Quick reference
ddg-search "query" # default: JSON, 5 pages
ddg-search -f compact "query" # minimal-token output (best for LLM context)
ddg-search -f jsonl "query" # one JSON object per line
ddg-search -n 10 "query" # stop after 10 results
ddg-search -p 2 -f json "query" # 2 pages, JSON
ddg-search -r us-en -t w "recent topic" # US-English, past week
ddg-search -p 0 "query" # unlimited pages (scrape all)
Options
| Flag | Long | Description | Default |
|---|---|---|---|
-f |
--format |
Output format: json, jsonl, csv, opensearch, markdown, compact |
json |
-p |
--pages |
Max pages to scrape (0 = unlimited) | 5 |
-n |
--max-results |
Stop after this many results | all |
-r |
--region |
Region code (e.g. us-en, uk-en) |
all regions |
-t |
--time |
Time filter: d (day), w (week), m (month), y (year) |
none |
Choosing a format
compact: Use for feeding results into an LLM. Minimal tokens, no JSON overhead.jsonl: Use when piping to line-oriented tools or streaming processors.json: Use when you need structured data with OpenSearch metadata, zero-click answers, and spelling corrections. Pipe throughjqfor field extraction (e.g.| jq '.items[].link').csv: Use for spreadsheets or tabular analysis.markdown: Use for human-readable output or embedding in documents.opensearch: Use when producing Atom XML feeds.
Extracting URLs from JSON output
ddg-search "query" | jq -r '.items[].link'
Notes
- DuckDuckGo may trigger bot detection. The tool stops early and returns whatever results were collected.
- Random delays (800–2900 ms) are inserted between page fetches automatically.
- Progress messages appear on stderr, so redirecting stdout captures only results.
安全使用建议
This skill appears to be what it says: an instruction-only wrapper around the ddg-search CLI. Before installing: 1) Verify the npm package 'ddg-search' and its maintainer (check npmjs.org and the GitHub repo) to avoid typosquatting; 2) Inspect the package source (or review its GitHub repo) for unexpected network or file behavior; 3) Install in an isolated or ephemeral environment if you need to limit blast radius; 4) Be aware the CLI performs network requests (it will contact DuckDuckGo) and could expose queries in logs—no credentials are requested by the skill. If you need higher assurance, ask for the package tarball checksum or a link to the published npm package and its source tree to review before installation.
功能分析
Type: OpenClaw Skill
Name: ddg-search-cli
Version: 2026.2.15
The skill bundle is classified as benign. The `_meta.json` contains standard metadata. The `SKILL.md` provides clear instructions for installing and using a DuckDuckGo search CLI via `npm install -g ddg-search`. There is no evidence of prompt injection attempts, malicious commands, data exfiltration, persistence mechanisms, or obfuscation within the provided files. While `npm install` carries inherent supply chain risks, the instruction itself is a standard method for installing Node.js CLIs and does not indicate malicious intent from this skill bundle.
能力评估
Purpose & Capability
Name/description (DuckDuckGo HTML search scraper) match the declared requirement (ddg-search binary) and the install spec (npm package 'ddg-search'). The declared binaries and install are proportional to the stated functionality.
Instruction Scope
SKILL.md only instructs running the ddg-search command with flags and shows example pipes (e.g., to jq). It does not ask the agent to read unrelated files, environment variables, or send results to unexpected external endpoints. The behavior described (network scraping of DuckDuckGo, progress to stderr, delays between requests) is consistent with the tool's purpose.
Install Mechanism
Installation is via the npm package 'ddg-search', which is a standard registry-based install (moderate-risk compared to no-install). No arbitrary URL downloads or archive extraction are used. As with any npm package, verify the package owner, recent versions, and known vulnerabilities before installing.
Credentials
The skill requests no environment variables, credentials, or config paths. This is proportionate to a search-scraper CLI.
Persistence & Privilege
The skill is not forced-always, does not request persistent elevated privileges, and does not modify other skills or system-wide agent config. Autonomous invocation is allowed (platform default) but not combined with other red flags.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ddg-search-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/ddg-search-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2026.2.15
- Added detailed documentation to SKILL.md, including usage examples, available output formats, and options.
- Explained each format's use case: compact, jsonl, json, csv, markdown, and opensearch.
- Provided quick reference command examples for common search scenarios.
- Included tips for extracting URLs and notes on bot detection handling and fetch delays.
- Described installation requirements and process in metadata for easy setup.
元数据
常见问题
ddg-search 是什么?
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1796 次。
如何安装 ddg-search?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ddg-search-cli」即可一键安装,无需额外配置。
ddg-search 是免费的吗?
是的,ddg-search 完全免费(开源免费),可自由下载、安装和使用。
ddg-search 支持哪些平台?
ddg-search 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 ddg-search?
由 camo(@camohiddendj)开发并维护,当前版本 v2026.2.15。
推荐 Skills