← 返回 Skills 市场
stanrails

Restart Recovery

作者 stanrails · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
325
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install restart-recovery
功能描述
Make OpenClaw agent workflows restart-safe using checkpoint files, idempotent step tracking, wake/resume handoff, and stale-checkpoint monitoring. Use when u...
安全使用建议
This skill appears to do what it says: local checkpointing and resume. Before installing or enabling it, review and test these points: 1) Do not store secrets/tokens in checkpoint data — the tools may print checkpoint JSON to stdout and write it to disk. 2) Confirm the checkpoint directory (memory/checkpoints under the agent's working directory) is the right location for your deployment and set restrictive file permissions. 3) Review the startup change you will add to AGENTS.md; enable it in a staging environment first so you can validate resume behavior. 4) Understand the simple lock mechanism (file-based) and the '--steal-lock' behavior; if multiple agents may touch the same directory, consider stronger locking or agent coordination. 5) Establish retention/cleanup and expiry policies for old checkpoints. If you want additional assurance, run the scripts in a controlled test workspace and inspect all generated files/logs for any sensitive data exposure.
功能分析
Type: OpenClaw Skill Name: restart-recovery Version: 1.0.0 The skill bundle implements workflow state management but contains a path traversal vulnerability in `scripts/checkpoint_tool.py`, where the `--workflow` argument is used to construct file paths without sanitization, allowing JSON files to be written outside the intended directory. Additionally, `SKILL.md` includes a 'Required operating rule' that instructs the AI agent to automatically resume unfinished workflows on startup; while aligned with the skill's purpose, this creates a persistence mechanism that could be abused if a malicious checkpoint file is planted on the filesystem.
能力评估
Purpose & Capability
Name/description match the included JSON schema and two Python scripts which implement checkpoint lifecycle, listing, stale-check detection, and resume. The resources requested (none) are proportional to the stated purpose.
Instruction Scope
SKILL.md stays on-topic: it explains when to checkpoint, how to use the bundled scripts, and instructs adding a startup check to AGENTS.md. That startup instruction intentionally changes agent behavior (check memory/checkpoints on boot) — expected for a restart-recovery tool but worth explicit review. The docs correctly warn not to write secrets into checkpoints; however the tooling will print full checkpoint JSON (e.g., resume prints the object), so accidental secret inclusion could be exposed in logs/outputs.
Install Mechanism
Instruction-only skill with bundled scripts; there is no remote download or package install. Scripts operate on local disk under workspace 'memory/checkpoints'. No network endpoints or obfuscated install steps.
Credentials
The skill requests no environment variables or credentials and the scripts do not read external secrets. That is proportionate. A caution: checkpoint files may contain arbitrary workflow data; the tool prints checkpoint JSON (resume) and lists files, so if secrets are accidentally stored in checkpoints they can be exposed. No environment variables are required or accessed.
Persistence & Privilege
The skill does not request 'always' or system-wide privileges. It recommends adding a startup check to AGENTS.md which makes resumed execution persistent across restarts — intended behavior for this purpose but should be reviewed before enabling. Locking is implemented via simple .lock files and a '--steal-lock' option exists; this is a lightweight scheme (no OS-level advisory locking) and can result in races or unintended takeover if multiple agents share the same checkpoint directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install restart-recovery
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /restart-recovery 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: checkpoint/restart/wake/resume workflow with no-LLM stale checkpoint self-check scripts.
元数据
Slug restart-recovery
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Restart Recovery 是什么?

Make OpenClaw agent workflows restart-safe using checkpoint files, idempotent step tracking, wake/resume handoff, and stale-checkpoint monitoring. Use when u... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 325 次。

如何安装 Restart Recovery?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install restart-recovery」即可一键安装,无需额外配置。

Restart Recovery 是免费的吗?

是的,Restart Recovery 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Restart Recovery 支持哪些平台?

Restart Recovery 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Restart Recovery?

由 stanrails(@stanrails)开发并维护,当前版本 v1.0.0。

💬 留言讨论