stock-data-skill
OpenClaw Skill for stock data analysis
DuckDuckGo HTML search scraper CLI with JSON, CSV, OpenSearch, markdown, and compact outputs.
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
SkillHub CLI
skillhub install camohiddendj/ddg-search-cli打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。
将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。
Search DuckDuckGo from the command line. Results go to stdout; progress goes to stderr.
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)
| 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 |
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 through jq for 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.ddg-search "query" | jq -r '.items[].link'
这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。
# ddg-search Search DuckDuckGo from the command line. Results go to stdout; progress goes to stderr. ## Quick reference ```bash 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 through `jq` for 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 ```bash 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 messag...
OpenClaw Skill for stock data analysis
Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...
139邮箱邮件收发 Skill - 支持 IMAP/SMTP 协议,兼容139/QQ/163/Gmail等主流邮箱 功能: 1. 发送邮件(SMTP) 2. 接收邮件(IMAP) 3. 查看收件箱列表 4. 查看未读邮件 当用户提到 "发邮件"、"收邮件"、"查看邮件"、"邮箱"...
⚠️ 重要声明