← 返回 Skills 市场
Seamless Restart
作者
Zihao Feng
· GitHub ↗
· v1.0.0
· MIT-0
293
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install seamless-restart
功能描述
Seamless gateway restart with automatic context recovery and post-restart notification. Use whenever the agent needs to restart the OpenClaw gateway (config...
安全使用建议
This protocol is coherent with its goal (ensuring the agent notifies users and restores context after a gateway restart) but carries two practical risks you should consider before installing: (1) NOW.md is a persistent workspace file — do not put API keys, passwords, or other secrets in it; add explicit redaction or encryption steps if you plan to store sensitive context. (2) The recovery cron automatically instructs the agent to 'resume' tasks from NOW.md; decide whether resumed tasks should require explicit user confirmation (recommended for any operation that performs actions, accesses services, or could change external state). Additional mitigations: restrict write access to NOW.md to trusted principals, limit cron payload visibility/logging, set short lifetimes for scheduled recovery jobs, and add explicit sanitization steps in the protocol (remove secrets, redact tokens, require user approval before resuming critical tasks). If you cannot control who can edit workspace files or you need strong protection for secrets, treat this skill as higher-risk and avoid automatic resumption.
功能分析
Type: OpenClaw Skill
Name: seamless-restart
Version: 1.0.0
The 'seamless-restart' skill is a utility designed to maintain agent context across gateway restarts. It uses a structured protocol involving local state storage in 'NOW.md', user notifications via the 'message' tool, and a one-shot 'cron' job to trigger recovery logic after the restart. The instructions in SKILL.md are functional and aligned with the stated purpose of preventing context loss, with no evidence of malicious intent, data exfiltration, or unauthorized access.
能力评估
Purpose & Capability
Name, description, and runtime instructions are consistent: the skill is an instruction-only protocol for saving state, notifying the user, scheduling a recovery job, and invoking a gateway restart. No unrelated binaries, env vars, or installs are requested.
Instruction Scope
The SKILL.md instructs the agent to write and later read NOW.md in the workspace root and to 'resume any active tasks' after restart. Persisting conversation context and task lists is coherent with the purpose, but the instructions do not: (1) warn against storing secrets in NOW.md; (2) constrain what 'resuming' means (could trigger network actions, credentials use, or side effects); or (3) require user confirmation before resuming potentially sensitive or destructive tasks. The cron payload also embeds textual instructions that may be stored in scheduler logs or visible to other components.
Install Mechanism
Instruction-only skill with no install steps and no code files — lowest-risk install mechanism. Nothing is downloaded or written by an installer.
Credentials
The skill requests no env vars, credentials, or config paths, which is proportionate. However, it encourages persisting session context in workspace files and may prompt inclusion of channel IDs, task descriptions, or notes about config changes (e.g., 'Applying new API key') without explicit guidance to avoid including secret values.
Persistence & Privilege
The skill recommends creating a one-shot cron job that survives the restart to trigger recovery. While the cron is temporary, it will persist across the restart and contains payload text instructing the agent to read NOW.md and resume tasks. Combined with automatic resumption, this allows autonomous post-restart actions without explicit user confirmation, increasing blast radius if NOW.md contains sensitive data or if an attacker can tamper with NOW.md or the scheduled job.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install seamless-restart - 安装完成后,直接呼叫该 Skill 的名称或使用
/seamless-restart触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. Zero-downtime gateway restart protocol with NOW.md state persistence, one-shot recovery cron, and automatic post-restart notification.
元数据
常见问题
Seamless Restart 是什么?
Seamless gateway restart with automatic context recovery and post-restart notification. Use whenever the agent needs to restart the OpenClaw gateway (config... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 293 次。
如何安装 Seamless Restart?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install seamless-restart」即可一键安装,无需额外配置。
Seamless Restart 是免费的吗?
是的,Seamless Restart 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Seamless Restart 支持哪些平台?
Seamless Restart 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Seamless Restart?
由 Zihao Feng(@zihaofeng2001)开发并维护,当前版本 v1.0.0。
推荐 Skills