← Back to Skills Marketplace
searxng-auto-proxy searxng自适应代理检测
by
pengong101
· GitHub ↗
· v3.0.0
· MIT-0
325
Downloads
0
Stars
1
Active Installs
3
Versions
Install in OpenClaw
/install searxng-auto-proxy
Description
SearXNG 自适应代理检测技能,自动检测 Clash 代理可用性,智能切换 17 个搜索引擎,支持性能监控和自动优化。
Usage Guidance
This package implements an adaptive proxy monitor for SearXNG and generally fits its description, but there are several red flags you should address before installing: (1) The bundle appears incomplete or inconsistent — documentation references many modules, CLI commands, and tests that are not present in the file list. Expect the provided adapter.py to be only part of the claimed system. (2) Default file paths are under /root/.openclaw and logs/caches will be written there; avoid running it as root or on a production host until you review/adjust paths. (3) SKILL.md and code disagree about config locations and environment variables (e.g., SEARXNG_SECRET_KEY, CLASH_API). Verify which variables the running code actually reads and do not paste secrets into examples until confirmed. (4) The start script backgrounds the process — run interactively first to observe behavior. (5) The adapter performs outbound HTTP requests (probing search engines) and will call your local Clash API; run in an isolated environment (container or VM) if you want to test safely. (6) If you lack the missing modules/CLI, expect runtime errors; inspect adapter.py fully for any network callbacks or hidden endpoints before use. If you want, I can: (a) diff the full adapter.py to show exactly which env vars/paths it uses, (b) search the code for any network endpoints beyond the documented ones, or (c) suggest minimal config changes to run it safely in a container.
Capability Analysis
Type: OpenClaw Skill
Name: searxng-auto-proxy
Version: 3.0.0
The skill bundle provides a legitimate utility for managing SearXNG search engine proxies through a Clash API. The core logic in `adapter.py` implements a multi-layered approach to detect engine availability and optimize proxy node selection based on latency. While the documentation (SKILL.md) mentions features like a Web Panel and ML prediction that are not present in the provided source code, the included files show no signs of data exfiltration, malicious execution, or prompt injection. The use of hardcoded paths in `/root/.openclaw/` and the interaction with the Clash API are consistent with the tool's stated purpose of automating network configurations for a search aggregator.
Capability Assessment
Purpose & Capability
The code and docs implement an adaptive proxy/optimizer for SearXNG and Clash which is coherent with the skill name. However there are mismatches: SKILL.md claims v4.0.0 while registry and adapter header are v3.0.0; the documentation references many modules (ml_predictor, engine_manager, web_panel, tests) that are not present in the provided file list (only adapter.py and start-adapter.sh). The README/commands reference a CLI 'searxng-proxy' and a Python package import path (skills.searxng_auto_proxy) that are not provided. These inconsistencies mean the delivered bundle is incomplete or the docs are stale.
Instruction Scope
SKILL.md instructs running Docker containers and a CLI and exposes environment variables and config file locations, but adapter.py uses different default paths (e.g. /root/.openclaw/searxng/proxy-rules.yml, /root/.openclaw/logs/...). The docs suggest config at /etc/searxng/auto-proxy.yaml and environment vars like SEARXNG_SECRET_KEY, but the skill's declared requirements list none. The adapter will probe external URLs (google, github, etc.) and will read/write cache/log files under /root/.openclaw — this behaviour is expected for a proxy monitor but the instructions also tell the agent to run commands that don't exist in the bundle (searxng-proxy) and to import modules that are missing, giving the agent broad discretion without the matching code.
Install Mechanism
There is no automated install spec (instruction-only), which reduces installer risk. However the package includes executable code (adapter.py) and a start script that uses nohup to background the process. Because the skill will be run from source, the usual risks of executing third-party Python code apply. Dependencies listed in requirements.txt (requests, numpy, pyyaml) are reasonable for the described ML/polling tasks but numpy is a heavier dependency than strictly necessary for simple probing and suggests additional functionality not present in the provided files.
Credentials
Registry metadata declares no required environment variables, but SKILL.md and adapter.py expect and use configuration via environment variables and config files (CONFIG_FILE, LOG_FILE, CLASH_API, CACHE_FILE; SKILL.md documents SEARXNG_URL/SECRET_KEY, CLASH_HOST/PORT, etc.). The adapter writes to and reads from paths under /root/.openclaw by default, which gives it filesystem access to those locations and could overwrite other data. No explicit secret-scoped variables are enforced by the registry, yet the docs reference a SearXNG secret key — this mismatch is noteworthy and potentially risky if users are prompted to supply secrets without clear gating.
Persistence & Privilege
The skill does not request always:true and is user-invocable only (normal). The included start-adapter.sh backgrounds the adapter (nohup ...) and adapter.py is designed as a long-running background service that reads/writes persistent cache and log files under /root/.openclaw. Running as a service is expected for this function, but you should be aware it will create persistent files and a background process; the default paths target root-owned locations which may require elevated privileges.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install searxng-auto-proxy - After installation, invoke the skill by name or use
/searxng-auto-proxy - Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.0.0
searxng-auto-proxy v3.0.0
- Introduced adaptive proxy detection for SearXNG, automatically testing Clash proxy availability.
- Added smart switching between 17 search engines based on proxy status.
- Added initial performance monitoring and auto-optimization support.
- New configuration files and helper scripts: proxy-rules.yml, start-adapter.sh, MANIFEST.md, and test reports.
- Removed outdated release notes (RELEASE-v2.0.1.md).
- Release documentation and manifest included for improved deployment and testing.
v4.0.0
# searxng-auto-proxy v4.0.0 Changelog
Major update adding monitoring, optimization, and usability features.
- Added ML-based auto optimization of search engine selection and detection frequency.
- Introduced performance monitoring: engine response, proxy latency, success rate and bandwidth statistics.
- Expanded engine support to 17 (China/global) with dynamic and hybrid mode switching.
- Added Web dashboard for real-time status, performance charts, configuration, and alerts.
- New config options in YAML; requirements.txt and clawhub.json files added.
- Improved CLI and Python API usability.
v1.0.0
Adaptive Proxy Detection
- 🌐 Automatically detect Clash proxy availability
- 🔄 Intelligent switching between global/domestic search engines
- ⏰ Automatic detection every hour
- 📝 Complete logging
- 🔔 Fault alerts (optional)
自适应代理检测
- 🌐 自动检测 Clash 代理可用性
- 🔄 智能切换全球/国内搜索引擎
- ⏰ 每小时自动检测
- 📝 完整日志记录
- 🔔 故障告警(可选)
Metadata
Frequently Asked Questions
What is searxng-auto-proxy searxng自适应代理检测?
SearXNG 自适应代理检测技能,自动检测 Clash 代理可用性,智能切换 17 个搜索引擎,支持性能监控和自动优化。 It is an AI Agent Skill for Claude Code / OpenClaw, with 325 downloads so far.
How do I install searxng-auto-proxy searxng自适应代理检测?
Run "/install searxng-auto-proxy" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is searxng-auto-proxy searxng自适应代理检测 free?
Yes, searxng-auto-proxy searxng自适应代理检测 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does searxng-auto-proxy searxng自适应代理检测 support?
searxng-auto-proxy searxng自适应代理检测 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created searxng-auto-proxy searxng自适应代理检测?
It is built and maintained by pengong101 (@pengong101); the current version is v3.0.0.
More Skills