Gateway Service

v0.1.0

Installs OpenClaw Gateway as a Windows scheduled task to auto-restart on crash and enable automatic startup with admin rights.

0· 335·1 current·1 all-time
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

latestvk9740fgzrjedg2cxys9kwm1cd1826gb5
335downloads
0stars
1versions
Updated 1mo ago
v0.1.0
MIT-0

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 自动运行

故障排查

  1. 查看服务状态:openclaw gateway status
  2. 查看日志:%USERPROFILE%\AppData\Local\Temp\openclaw\
  3. 手动启动:openclaw gateway start

Comments

Loading comments...