用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/fuyuxiang/echo-agent --skill web-search命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | web-search |
| description | Free web search via DuckDuckGo — text, news, images. No API key needed. Self-hosted SearXNG as alternative. |
| version | 1.0.0 |
| metadata | {"echo":{"tags":["Search","Web","DuckDuckGo","SearXNG","Research"]}} |
Free web search without API keys. Two options: DuckDuckGo (zero config) or SearXNG (self-hosted).
pip install duckduckgo_search
from duckduckgo_search import DDGS
# Text search
results = DDGS().text("query here", max_results=5)
for r in results:
print(f"{r['title']}\n{r['href']}\n{r['body']}\n")
# News search
news = DDGS().news("AI agents", max_results=5)
# Image search
images = DDGS().images("cat meme", max_results=3)
python3 -c "
from duckduckgo_search import DDGS
for r in DDGS().text('$QUERY', max_results=5):
print(f\"{r['title']}\n {r['href']}\n {r['body'][:100]}\n\")
"
python3 scripts/web_search.py "your query" --max 5
python3 scripts/web_search.py "AI news" --type news
python3 scripts/web_search.py "cat" --type images
For privacy or heavy usage, deploy your own SearXNG instance:
# JSON API (no key needed for self-hosted)
curl -s "http://localhost:8080/search?q=QUERY&format=json&engines=google,bing,duckduckgo" | python3 -m json.tool
Docker deployment:
docker run -d -p 8080:8080 searxng/searxng
| Service | Limit | Notes |
|---|---|---|
| DuckDuckGo | ~20-30 req/min | No official limit, be respectful |
| SearXNG | Unlimited (self-hosted) | Depends on upstream engines |
site:github.com Python agent"2026" AI agent frameworkregion param: DDGS().text(query, region="cn-zh")