← 返回 Skills 市场
jeanne0r

Web Gateway

作者 jeanne0r · GitHub ↗ · v1.0.6 · MIT-0
cross-platform ⚠ suspicious
333
总下载
0
收藏
0
当前安装
7
版本数
在 OpenClaw 中安装
/install openclaw-web-gateway
功能描述
Minimal Flask-based multi-user chat interface enabling OpenClaw HTTP integration with persistent UI state and optional Google Maps support.
安全使用建议
This repository appears to implement the described web gateway, but there are several inconsistencies you should resolve before running it: (1) Confirm which auth env var to use — code expects OPENCLAW_TOKEN but SKILL.md mentions OPENCLAW_AUTH. (2) Treat the included skill.json/requirements.txt as an actual install step (pip install) and run in an isolated virtualenv or container to avoid exposing system-wide environment or other .env files. (3) Inspect any .env file you plan to use — the app will load it and could pick up other secrets if present in the same directory. (4) Verify the upstream OPENCLAW_BASE endpoint is trusted before supplying an auth token. (5) If you need guarantees about provenance, follow the repository referenced in skill.json (the skill.json repository field points to a GitHub URL) and compare the published package to that source; the registry metadata listing 'source: unknown' and version mismatches (skill.json v1.0.0 vs registry v1.0.6) are reasons to be cautious. Running this in a disposable VM/container and reviewing config/participants.json and any .env contents first is recommended.
功能分析
Type: OpenClaw Skill Name: openclaw-web-gateway Version: 1.0.6 The OpenClaw Web Gateway is a legitimate Flask-based web interface designed to provide a multi-user chat UI for an OpenClaw agent. It includes features for local persistent memory (storing facts and user profiles in JSON files), UI state management, and integrated Google Maps route visualization. The code (app.py, routes/chat.py, memory_store.py) is well-structured, follows its stated purpose, and contains no evidence of malicious intent, data exfiltration, or unauthorized execution. Specific logic for Lausanne-based locations and aquarium facts appears to be part of the developer's personal configuration rather than a security risk.
能力评估
Purpose & Capability
The files implement a Flask-based multi-user chat gateway that forwards requests to an OpenClaw HTTP endpoint, stores minimal local state, and optionally embeds Google Maps — this matches the skill name and description.
Instruction Scope
SKILL.md instructs simply to run python app.py and documents expected env vars, but the documentation uses OPENCLAW_AUTH while the code (config.py/openclaw_client.py) expects OPENCLAW_TOKEN. The app also reads a .env file (python-dotenv) and creates/writes local files under memory/ and state/, which the SKILL.md only partially mentions. These mismatches make it unclear which env variable actually provides upstream auth and what other local secrets may be read.
Install Mechanism
Registry metadata claimed 'no install spec / instruction-only', but the repository includes a skill.json with a pip install step and a requirements.txt (Flask, requests, python-dotenv). Installing pulls packages from PyPI (expected for a Python web app) but the mismatch between declared registry install state and the presence of code + requirements is an incoherence to investigate.
Credentials
The environment variables referenced by the code (OPENCLAW_BASE, OPENCLAW_TOKEN, OPENCLAW_CHANNEL, OPENCLAW_MODEL, GOOGLE_MAPS_EMBED_API_KEY, MEMORY_ROOT, etc.) are appropriate for a local gateway. However the SKILL.md uses OPENCLAW_AUTH while the code expects OPENCLAW_TOKEN; the app will also load .env which could expose any secrets present there if you run it in a directory containing other credentials. No unrelated external credentials are requested by the code.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills. It does persist local runtime state (memory/, state/) under its own directory — expected for this application and consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-web-gateway
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-web-gateway 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.6
Initial public release. Lightweight Flask web interface for OpenClaw providing a simple browser chat UI. Features: - Multi-user chat interface - Proxy to OpenClaw HTTP endpoint - Configurable upstream agent and model - Environment-based configuration - Local state and memory storage Configuration via environment variables: OPENCLAW_BASE=http://127.0.0.1:18789 OPENCLAW_AUTH= OPENCLAW_AGENT=main OPENCLAW_CHANNEL=web-gateway OPENCLAW_MODEL=default DEFAULT_USER=family PORT=5002
v1.0.5
OpenClaw Web Gateway 1.0.5 - Replaced OPENCLAW_TOKEN with OPENCLAW_AUTH - Authentication is now optional - Improved registry compatibility
v1.0.4
OpenClaw Web Gateway 1.0.2 - Fixed broken .env loading in config.py - Improved configuration consistency - Clarified runtime behavior and required OpenClaw settings
v1.0.3
1.0.2 - Documentation and configuration alignment
v1.0.2
- Load .env only if present - Improve environment variable handling
v1.0.1
OpenClaw Web Gateway 1.0.1 - Updated SKILL.md to better reflect the gateway behavior - Clarified configuration instructions - Improved documentation consistency
v1.0.0
## OpenClaw Web Gateway 1.0.0 Initial public release. Features: - Minimal Flask-based web interface for OpenClaw agents - Multi-user chat interface with per-user conversation history - Integration with the OpenClaw HTTP API - Lightweight persistent UI state - Simple local memory helper - Optional embedded Google Maps route and search windows - Configuration via `.env` and `config/participants.json`
元数据
Slug openclaw-web-gateway
版本 1.0.6
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 7
常见问题

Web Gateway 是什么?

Minimal Flask-based multi-user chat interface enabling OpenClaw HTTP integration with persistent UI state and optional Google Maps support. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 333 次。

如何安装 Web Gateway?

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

Web Gateway 是免费的吗?

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

Web Gateway 支持哪些平台?

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

谁开发了 Web Gateway?

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

💬 留言讨论