← 返回 Skills 市场
pengong101

searxng-auto-proxy searxng自适应代理检测

作者 pengong101 · GitHub ↗ · v3.0.0 · MIT-0
cross-platform ⚠ suspicious
325
总下载
0
收藏
1
当前安装
3
版本数
在 OpenClaw 中安装
/install searxng-auto-proxy
功能描述
SearXNG 自适应代理检测技能,自动检测 Clash 代理可用性,智能切换 17 个搜索引擎,支持性能监控和自动优化。
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install searxng-auto-proxy
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /searxng-auto-proxy 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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 代理可用性 - 🔄 智能切换全球/国内搜索引擎 - ⏰ 每小时自动检测 - 📝 完整日志记录 - 🔔 故障告警(可选)
元数据
Slug searxng-auto-proxy
版本 3.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 3
常见问题

searxng-auto-proxy searxng自适应代理检测 是什么?

SearXNG 自适应代理检测技能,自动检测 Clash 代理可用性,智能切换 17 个搜索引擎,支持性能监控和自动优化。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 325 次。

如何安装 searxng-auto-proxy searxng自适应代理检测?

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

searxng-auto-proxy searxng自适应代理检测 是免费的吗?

是的,searxng-auto-proxy searxng自适应代理检测 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

searxng-auto-proxy searxng自适应代理检测 支持哪些平台?

searxng-auto-proxy searxng自适应代理检测 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 searxng-auto-proxy searxng自适应代理检测?

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

💬 留言讨论