Skip to main content

ddgr-web-search

Run DuckDuckGo web searches from the terminal using `ddgr` with JSON output. Use when the task calls for lightweight web search, quick result triage, or filtering by region/time/site.

跳到安装

来源信息

仓库
s-kostyaev/.emacs.d
最近来源活动
2026年2月11日 00:44
检测到的 SKILL.md 语言
英语
星标
7
分支
1

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
ddgr-web-search
description
Run DuckDuckGo web searches from the terminal using `ddgr` with JSON output. Use when the task calls for lightweight web search, quick result triage, or filtering by region/time/site.
# DDGR Web Search (JSON) ## Overview Use `ddgr "query" --json` to fetch search results as structured JSON, then extract only the minimal fields needed for the task. ## Workflow 1. Run a JSON search (non-interactive). ```bash ddgr "cli websearch" --json ``` 2. If you need fewer/more results or filters, add options: ```bash ddgr "cli websearch" --json -n 5 ddgr "cli websearch" --json -t w ddgr "cli websearch" --json -w "example.com" ddgr "cli websearch" --json -r "us-en" ``` 3. Summarize or cite results using only a small subset of entries. Avoid copying full JSON into context. ## Useful Options (Non-Exhaustive) - `--json`: output results as JSON - `-n N`: results per page (0-25) - `-t d|w|m|y`: time filter (day/week/month/year) - `-w SITE`: restrict to a site/domain - `-r REG`: region code (e.g., `us-en`) - `--unsafe`: disable safe search if needed - `-x`: expand full URLs - `--proxy URI`: use HTTPS proxy
在 GitHub 查看