← 返回 Skills 市场
mrzhangkris

SearXNG-lite

作者 mrzhangkris · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
136
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install searxng-lite
功能描述
Multi-engine web search aggregation via local Python script. Use when: (1) searching the web for information, articles, documentation, (2) searching code rep...
使用说明 (SKILL.md)

SearXNG-lite

Lightweight multi-engine aggregated web search. No Docker, no server, no SearXNG instance required — just a single Python script that queries search engines directly.

26 engines across 9 categories, concurrent execution, JSON + compact text output.

What makes this different

Unlike other SearXNG skills that need a running SearXNG server, this skill:

  • Zero infrastructure — no Docker, no SearXNG instance, no HTTP server
  • Single file — one Python script (~850 lines) does everything
  • Direct queries — sends requests to search engines in-process via httpx
  • Hot-reload config — edit config.yml to toggle categories, changes apply instantly
  • Concurrent — queries multiple engines in parallel (up to 5 threads)
  • Deduplication — merges results from multiple engines, scores by cross-engine overlap

Requirements

  • Python 3.10+
  • httpx — HTTP client (pip3 install httpx)
  • lxml — HTML parser (pip3 install lxml, pre-installed on macOS)
  • (Optional) socksio — for SOCKS proxy support (pip3 install socksio)
  • (Optional) pyyaml — for config parsing (pip3 install pyyaml; falls back to built-in parser)

Quick start

# Install dependencies
pip3 install httpx lxml

# Search
python3 scripts/search.py "your query"

# List all engines
python3 scripts/search.py --list

How to search

python3 scripts/search.py "query"                          # default (general + knowledge engines)
python3 scripts/search.py "query" -c dev                   # by category
python3 scripts/search.py "query" -c dev,academic          # multiple categories
python3 scripts/search.py "query" -e github,arxiv          # specific engines
python3 scripts/search.py "query" --all                    # all enabled engines
python3 scripts/search.py "query" -l zh-CN                 # Chinese results
python3 scripts/search.py "query" -n 5                     # limit results
python3 scripts/search.py "query" --compact                # title + url + snippet text output
python3 scripts/search.py --list                           # show all engines & categories

All paths are relative to this skill's directory.

Arguments

Arg Short Default Description
query required Search query
--engines -e Comma-separated engine names
--categories -c Comma-separated categories
--max-results -n 10 Max results
--lang -l en Language code (e.g. en, zh-CN, de)
--page -p 1 Page number
--proxy from config Proxy URL (overrides config/env)
--timeout 12 Timeout in seconds
--all Use all enabled engines
--compact Human-readable text output
--list List engines and exit
--debug Enable debug logging

Without -e or -c, searches general + knowledge categories.

Configuration

Edit config.yml in the skill directory to customize behavior:

# Proxy for engines that need it (Google, YouTube, Reddit, etc.)
# Supports: http, https, socks5, socks5h
# Leave empty to disable — proxy-required engines will fail silently.
proxy: "socks5h://127.0.0.1:1080"

# Category toggles
categories:
  general: true       # bing, brave, duckduckgo, google🌐, startpage, yahoo
  knowledge: true     # wikipedia, wikidata, wolframalpha🌐
  dev: true           # github, gitlab, stackoverflow, hackernews, reddit🌐, huggingface🌐, mdn
  academic: true      # arxiv, semantic_scholar, google_scholar🌐, crossref
  news: false         # bing_news, reuters
  video: false        # youtube🌐
  images: false       # unsplash
  social: false       # lemmy🌐
  translate: false    # lingva🌐

Proxy setup

Some engines (marked with 🌐) require a proxy to access. Three ways to configure:

  1. config.yml (recommended): set proxy: "your-proxy-url"
  2. Environment variable: set HTTPS_PROXY=your-proxy-url
  3. CLI flag: pass --proxy your-proxy-url per search

Priority: CLI flag > config.yml > environment variable.

If no proxy is configured, 🌐-marked engines will fail silently and results from other engines are still returned.

Config hot-reload

The config file is read on every search call. No restart needed — just edit and save.

If config.yml is missing, the script falls back to a default set of engines: bing, brave, duckduckgo, wikipedia.

Categories and engines

Category Engines Use for
general bing, brave, duckduckgo, google🌐, startpage, yahoo General web search
knowledge wikipedia, wikidata, wolframalpha🌐 Facts, definitions, calculations
dev github, gitlab, stackoverflow, hackernews, reddit🌐, huggingface🌐, mdn Code, repos, dev Q&A, AI models
academic arxiv, semantic_scholar, google_scholar🌐, crossref Papers, citations
news bing_news, reuters Current events
video youtube🌐 Video search
images unsplash Free stock photos
social lemmy🌐 Community discussions
translate lingva🌐 Translation

🌐 = requires proxy. Without proxy, these engines are skipped.

Output format

Default JSON:

{
  "query": "search term",
  "results": [
    {"title": "...", "url": "...", "content": "...", "engines": ["bing","brave"], "score": 2}
  ],
  "result_count": 15,
  "elapsed": 2.1,
  "engines_used": ["bing", "brave", "wikipedia"],
  "errors": []
}

--compact outputs human-readable text: numbered title, URL, snippet, engine tags.

score = number of engines that returned this result. Higher = more relevant.

Typical agent workflows

  • General research: python3 scripts/search.py "topic" -n 5
  • Find a library: python3 scripts/search.py "image processing python" -e github
  • Academic papers: python3 scripts/search.py "attention mechanism" -c academic -n 5
  • Tech discussions: python3 scripts/search.py "topic" -e hackernews,reddit
  • AI models: python3 scripts/search.py "text-to-speech" -e huggingface
  • Dev docs: python3 scripts/search.py "fetch API" -e mdn,stackoverflow
  • Chinese search: python3 scripts/search.py "大语言模型" -l zh-CN -n 5
  • News: python3 scripts/search.py "AI regulation" -c news
安全使用建议
This skill appears to do what it says: run a local Python script that scrapes multiple public search engines. Before installing, consider: (1) review the included scripts yourself (they are bundled) and run them in an isolated environment if you are concerned about network activity; (2) you will need to pip-install httpx and lxml and give the script network access — it will make many outbound HTTP requests to public search engines; (3) some engines require a proxy (config.yml or HTTPS_PROXY) and scraping may trigger CAPTCHAs or rate limits; (4) avoid searching sensitive or private data because results and queries travel over the network to third-party sites; (5) if you intend to use this in an automated/always-on agent, be aware it can make arbitrary outbound requests when invoked. If you want extra caution, run it in a container or restricted network namespace and inspect logs/output during initial runs.
功能分析
Type: OpenClaw Skill Name: searxng-lite Version: 1.0.0 The 'searxng-lite' skill is a legitimate multi-engine search aggregator implemented in a single Python script (scripts/search.py). It uses standard libraries like httpx and lxml to query and parse results from various search engines, APIs, and academic databases. The code follows its stated purpose, lacks dangerous execution sinks (such as eval or os.system), and shows no signs of data exfiltration, persistence, or prompt injection. All network activity is directed toward well-known search providers and APIs as described in the documentation.
能力评估
Purpose & Capability
The name/description promise a local Python-based multi-engine search aggregator. The package contains a single Python script that implements scraping/parsing logic for many public search engines and a config.yml to toggle engines and proxy — these are coherent and expected for the stated purpose.
Instruction Scope
SKILL.md instructs running the included script and editing config.yml. The runtime instructions and the script operate only on the skill directory (config.yml) and make outbound HTTP(S) requests to public search engines (and optionally use HTTPS_PROXY). The instructions do not ask the agent to read unrelated files or exfiltrate data to unknown endpoints.
Install Mechanism
No install spec is provided; this is instruction-only plus an included script. Dependencies (httpx, lxml, optional pyyaml/socksio) are typical, installed via pip by the user. There are no downloads from untrusted URLs or archive extraction steps in the manifest.
Credentials
The skill declares no required environment variables or credentials. It optionally respects standard proxy env vars (HTTPS_PROXY) which is justified by the need to access certain engines. No secret tokens, keys, or unrelated service credentials are requested.
Persistence & Privilege
The skill does not request always:true, does not modify agent/system configuration, and is user-invocable only. It runs only when invoked and does not persist elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install searxng-lite
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /searxng-lite 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release — lightweight multi-engine search without Docker or server. 26 engines, 9 categories, pure Python in-process, concurrent execution, hot-reload config.
元数据
Slug searxng-lite
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

SearXNG-lite 是什么?

Multi-engine web search aggregation via local Python script. Use when: (1) searching the web for information, articles, documentation, (2) searching code rep... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 136 次。

如何安装 SearXNG-lite?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install searxng-lite」即可一键安装,无需额外配置。

SearXNG-lite 是免费的吗?

是的,SearXNG-lite 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

SearXNG-lite 支持哪些平台?

SearXNG-lite 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 SearXNG-lite?

由 mrzhangkris(@mrzhangkris)开发并维护,当前版本 v1.0.0。

💬 留言讨论