界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

searxng

searxng

【开发与工程】Search the web using a self-hosted SearXNG metasearch engine. Aggregates Google, Brave, DuckDuckGo, and more without API keys.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: searxng description: Search the web using a self-hosted SearXNG metasearch engine. Aggregates Google, Brave, DuckDuckGo, and more without API keys. homepage: https://docs.searxng.org metadata: {"moltbot":{"emoji":"🔍","requires":{"bins":["python3"],"env":["SEARXNG_URL"]}}}

SearXNG Web Search

Privacy-respecting metasearch via your self-hosted SearXNG instance.

When to use (trigger phrases)

Use this skill when the user asks:

  • "search the web for..."
  • "look up..." / "find information about..."
  • "what is..." (when current info needed)
  • "research..." / "search for..."
  • "google..." (redirect to privacy-respecting search)

Quick start

python3 ~/.clawdbot/skills/searxng/scripts/searxng_search.py "your query"
python3 ~/.clawdbot/skills/searxng/scripts/searxng_search.py "query" --count 10
python3 ~/.clawdbot/skills/searxng/scripts/searxng_search.py "query" --lang de

Setup

Set SEARXNG_URL environment variable:

export SEARXNG_URL="http://your-searxng-host:8888"

Flags

FlagDefaultDescription
-n, --count5Results to return (1-20)
-l, --langautoLanguage code (en, de, fr, es, etc.)

Output

Returns JSON:

{
  "query": "search terms",
  "count": 5,
  "results": [
    {"title": "...", "url": "...", "description": "...", "engines": ["google", "brave"], "score": 1.5}
  ]
}

Notes

  • No API keys needed—SearXNG aggregates upstream engines
  • Results include source engines for transparency
  • Scores indicate relevance (higher = better)
  • For news, add "news" to query or use --lang for regional results
我的收藏