← 返回 Skills 市场
Gateway Service
作者
suncxw-creator
· GitHub ↗
· v0.1.0
362
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install gateway-service
功能描述
Installs OpenClaw Gateway as a Windows scheduled task to auto-restart on crash and enable automatic startup with admin rights.
使用说明 (SKILL.md)
Gateway 服务化
将 OpenClaw Gateway 安装为 Windows 定时任务(Scheduled Task),实现进程崩溃后自动重启。
安装服务
openclaw gateway install
注意:需要管理员权限运行。
管理命令
| 命令 | 说明 |
|---|---|
openclaw gateway install |
安装服务(需管理员权限) |
openclaw gateway start |
启动服务 |
openclaw gateway stop |
停止服务 |
openclaw gateway restart |
重启服务 |
openclaw gateway status |
查看状态 |
服务信息
- Windows 任务名称:OpenClaw Gateway
- 启动方式:开机自动启动
- 失败策略:进程退出后自动重新启动
适用场景
- Gateway 进程经常崩溃退出
- 需要 7×24 小时运行
- 不想手动重启 Gateway
- 电脑重启后希望 Gateway 自动运行
故障排查
- 查看服务状态:
openclaw gateway status - 查看日志:
%USERPROFILE%\AppData\Local\Temp\openclaw\ - 手动启动:
openclaw gateway start
安全使用建议
This skill is coherent with its stated goal, but exercise caution before running it: 1) Verify the openclaw CLI binary you will run (path, publisher, checksum/signature if available) — the skill has no homepage or source to validate. 2) Understand it requires Administrator rights and will create a scheduled task that runs at startup (persistent system-level change). 3) If you want to be cautious, inspect what the scheduled task will point to (use a test VM, or run the install in a controlled environment), run `openclaw gateway status` first, and after installation check the created task with Task Scheduler or schtasks to confirm the command/executable path and permissions. 4) If you do not trust the origin of the openclaw binary, do not run the install as admin on a production machine.
功能分析
Type: OpenClaw Skill
Name: gateway-service
Version: 0.1.0
The skill bundle is designed to install and manage an 'OpenClaw Gateway' as a Windows Scheduled Task for automatic startup and restart. While this involves administrator privileges and establishes persistence, these actions are explicitly stated in SKILL.md and are necessary for its declared purpose of service management. There is no evidence of data exfiltration, unauthorized remote execution, obfuscation, or prompt injection attempts to manipulate the agent into performing actions beyond the stated scope.
能力评估
Purpose & Capability
The name/description (install Gateway as a Windows scheduled task) aligns with the SKILL.md instructions, which simply call the openclaw CLI to install/start/stop the gateway. There are no unrelated env vars or extra capabilities requested.
Instruction Scope
Instructions are narrowly scoped: run `openclaw gateway install` (admin required), use `openclaw gateway {start|stop|status}`, and check logs under %USERPROFILE%\AppData\Local\Temp\openclaw\. They do not instruct reading unrelated files or exfiltrating data.
Install Mechanism
This is an instruction-only skill with no install spec or code files, so it does not install additional software itself. The actual work depends on the existing openclaw CLI being present on the system.
Credentials
No environment variables or secrets are requested. However, the operation requires administrative privileges to create a Windows scheduled task — a proportionate requirement for the stated goal but one that grants elevated system rights while installing.
Persistence & Privilege
The skill's purpose is to create a persistent scheduled task that autoruns the Gateway and restarts it on failure. That persistence is expected for the stated purpose, but it has system-wide impact (startup persistence) so users should verify the executable path and legitimacy of the OpenClaw binary.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install gateway-service - 安装完成后,直接呼叫该 Skill 的名称或使用
/gateway-service触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
- Added Windows Scheduled Task support for OpenClaw Gateway to enable automatic restart after crashes.
- Introduced gateway service management commands: install, start, stop, restart, and status.
- Service starts automatically on system boot and restarts if the process exits unexpectedly.
- Provided troubleshooting steps and common use cases for always-on gateway operation.
元数据
常见问题
Gateway Service 是什么?
Installs OpenClaw Gateway as a Windows scheduled task to auto-restart on crash and enable automatic startup with admin rights. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 362 次。
如何安装 Gateway Service?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install gateway-service」即可一键安装,无需额外配置。
Gateway Service 是免费的吗?
是的,Gateway Service 完全免费(开源免费),可自由下载、安装和使用。
Gateway Service 支持哪些平台?
Gateway Service 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Gateway Service?
由 suncxw-creator(@suncxw-creator)开发并维护,当前版本 v0.1.0。
推荐 Skills