← 返回 Skills 市场
Resume After Gateway Restart
作者
Bobby Lindsey
· GitHub ↗
· v1.0.0
· MIT-0
90
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install resume-after-gateway-restart
功能描述
Reliably resume work after `openclaw gateway restart` (or when you must restart the OpenClaw gateway mid-task). Uses durable one-shot cron `agentTurn` jobs (...
安全使用建议
This skill appears to implement its stated purpose, but review these points before installing:
- The package metadata declares no required binaries, yet the scripts call: openclaw (sessions/cron), systemd-run/systemctl, and python3. Ensure those commands exist and are trusted on the host.
- The skill will schedule a systemd restart of openclaw-gateway and will create one-shot cron agentTurns that autonomously send messages back to captured channels. Only install if you trust the skill to act on your behalf and your environment supports systemd and the openclaw CLI.
- Inspect memory/post-restart-task.md usage: the resume job will read and append to this file. Ensure storing sensitive data there is acceptable.
- Test in a safe environment first (or dry-run the scheduling steps without performing the restart) to confirm route/model inference works for your sessionKey format.
If you want to proceed, ask the author to update package metadata to list required binaries (openclaw, systemd, python3) and to document failure modes when systemd isn't available. If you do not trust autonomous restarts or automated sends to chat channels, do not install.
功能分析
Type: OpenClaw Skill
Name: resume-after-gateway-restart
Version: 1.0.0
This skill bundle provides a mechanism for the agent to restart the OpenClaw gateway service and resume tasks using scheduled cron jobs. It utilizes scripts like `delayed-gateway-restart.sh` (using `systemd-run` to trigger `systemctl restart`) and `schedule-resume-cron.sh` (using `openclaw cron` to schedule automated follow-up turns). While the logic is transparent and directly supports the stated goal of session continuity, the inherent capabilities—restarting system services and scheduling persistent automated execution—are high-risk behaviors that warrant a suspicious classification despite the lack of clear malicious intent.
能力评估
Purpose & Capability
The skill's behavior (scheduling cron agentTurns, reading/writing memory/post-restart-task.md, calling openclaw sessions/cron, and using systemd-run/systemctl) is coherent with 'resume after gateway restart'. However the registry metadata claims no required binaries/configs while the scripts clearly require: the openclaw CLI, systemd (systemd-run and systemctl), and python3. The missing declared dependencies is an incoherence the user should note.
Instruction Scope
SKILL.md stays within the stated scope: it instructs capturing session/delivery info, writing a post-restart memory file, scheduling two isolated agentTurn cron jobs (a 'back' message and a resume job), and then scheduling a delayed restart. It explicitly reads and writes memory/post-restart-task.md and uses openclaw sessions/cron — these are expected for this purpose. The instructions do grant the agent autonomous ability to send messages after restart (intended behavior).
Install Mechanism
No install spec (instruction-only plus two helper scripts) — low installation risk. The scripts are bundled with the skill and not downloaded from external URLs.
Credentials
No environment variables or external credentials are requested, which aligns with the described function. However, the scripts do require runtime tools (openclaw, systemd, python3) that were not declared in the registry metadata — this omission should be treated as a configuration/packaging problem rather than malicious intent.
Persistence & Privilege
always:false (normal). The skill schedules durable one-shot cron jobs and a transient systemd unit that will autonomously run agentTurns and restart the gateway. That autonomous behavior is part of the feature, but it increases blast radius (the agent will send messages and modify the memory file without a follow-up user step).
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install resume-after-gateway-restart - 安装完成后,直接呼叫该 Skill 的名称或使用
/resume-after-gateway-restart触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial publish of skill to resume activity after performing a gateway restart
元数据
常见问题
Resume After Gateway Restart 是什么?
Reliably resume work after `openclaw gateway restart` (or when you must restart the OpenClaw gateway mid-task). Uses durable one-shot cron `agentTurn` jobs (... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 90 次。
如何安装 Resume After Gateway Restart?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install resume-after-gateway-restart」即可一键安装,无需额外配置。
Resume After Gateway Restart 是免费的吗?
是的,Resume After Gateway Restart 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Resume After Gateway Restart 支持哪些平台?
Resume After Gateway Restart 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Resume After Gateway Restart?
由 Bobby Lindsey(@bobbylindsey)开发并维护,当前版本 v1.0.0。
推荐 Skills