← 返回 Skills 市场
170
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install session-resume
功能描述
会话恢复。Gateway 重启或 session 中断后,自动恢复任务上下文并向用户汇报进度。通过 .task-state.json 持久化任务状态,确保长时间任务不会因断线而丢失。触发词:恢复任务、resume、任务状态、断线恢复、session resume。也可在每次 session 启动时自动检测。
安全使用建议
This skill appears to do what it says (save/restore a .task-state.json to resume long-running tasks). Before installing: 1) Verify the source (check the GitHub repo / ClawHub package owner) since README points to an external repo. 2) Inspect any example or existing .task-state.json files to see what 'context' they store; avoid saving secrets (API keys, passwords, private keys) into task state. 3) Limit file access (store the file under ~/.openclaw with restrictive permissions, e.g., chmod 600) or consider adding encryption/redaction if your tasks include sensitive data. 4) If you enable automatic detection at session start (editing AGENTS.md), be aware the agent will read the state file automatically — ensure only trusted agents run on that host. 5) If you need stronger guarantees, request that the skill include explicit redaction/encryption steps or only record non-sensitive metadata. These precautions will reduce the chance of accidentally persisting sensitive information.
功能分析
Type: OpenClaw Skill
Name: session-resume
Version: 1.0.0
The session-resume skill is designed to provide state persistence for long-running AI agent tasks by saving progress to a local JSON file (~/.openclaw/workspace-main/.task-state.json). The instructions in SKILL.md are well-defined, emphasizing user transparency and confirmation before resuming tasks, and do not contain any indicators of data exfiltration, malicious execution, or harmful prompt injection.
能力评估
Purpose & Capability
Name, description, and runtime instructions all focus on saving/restoring a .task-state.json file in the OpenClaw workspace to resume long-running tasks. There are no unrelated env vars, binaries, or install actions demanded — the declared capabilities match what is needed for this functionality.
Instruction Scope
SKILL.md explicitly instructs the agent to read/write ~/.openclaw/workspace-main/.task-state.json and to be invoked at session start (recommended insertion into AGENTS.md). This is in-scope for a resume feature, but the instructions do not mention any protections for sensitive data stored in the state file (encryption, redaction, or access controls), which means sensitive context could be persisted unintentionally.
Install Mechanism
There is no install spec embedded in the skill (instruction-only). README suggests installing from ClawHub or cloning a GitHub repo; those are expected and do not embed arbitrary download/execution logic in the skill itself.
Credentials
The skill requests no credentials or special environment variables, which is appropriate. However, it persists 'context' fields that may contain file paths, config values, or intermediate results; storing such data locally can expose secrets if users or other processes can access the workspace file. The lack of guidance about redaction or file permissions is a proportionality concern to consider.
Persistence & Privilege
The skill does not request elevated privileges, does not set always:true, and only recommends being invoked at session start. Its suggested behavior — reading/writing a state file in the user's OpenClaw workspace — is a normal level of persistence for this feature.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install session-resume - 安装完成后,直接呼叫该 Skill 的名称或使用
/session-resume触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: 4-phase checkpoint & recovery system for OpenClaw agents.
元数据
常见问题
Session Resume 是什么?
会话恢复。Gateway 重启或 session 中断后,自动恢复任务上下文并向用户汇报进度。通过 .task-state.json 持久化任务状态,确保长时间任务不会因断线而丢失。触发词:恢复任务、resume、任务状态、断线恢复、session resume。也可在每次 session 启动时自动检测。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 170 次。
如何安装 Session Resume?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install session-resume」即可一键安装,无需额外配置。
Session Resume 是免费的吗?
是的,Session Resume 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Session Resume 支持哪些平台?
Session Resume 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Session Resume?
由 wavmson(@wavmson)开发并维护,当前版本 v1.0.0。
推荐 Skills