← Back to Skills Marketplace
Seamless Restart
by
Zihao Feng
· GitHub ↗
· v1.0.0
· MIT-0
293
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install seamless-restart
Description
Seamless gateway restart with automatic context recovery and post-restart notification. Use whenever the agent needs to restart the OpenClaw gateway (config...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install seamless-restart - After installation, invoke the skill by name or use
/seamless-restart - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release. Zero-downtime gateway restart protocol with NOW.md state persistence, one-shot recovery cron, and automatic post-restart notification.
Metadata
Frequently Asked Questions
What is Seamless Restart?
Seamless gateway restart with automatic context recovery and post-restart notification. Use whenever the agent needs to restart the OpenClaw gateway (config... It is an AI Agent Skill for Claude Code / OpenClaw, with 293 downloads so far.
How do I install Seamless Restart?
Run "/install seamless-restart" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Seamless Restart free?
Yes, Seamless Restart is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Seamless Restart support?
Seamless Restart is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Seamless Restart?
It is built and maintained by Zihao Feng (@zihaofeng2001); the current version is v1.0.0.
More Skills