← Back to Skills Marketplace
wavmson

Session Resume

by wavmson · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
170
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install session-resume
Description
会话恢复。Gateway 重启或 session 中断后,自动恢复任务上下文并向用户汇报进度。通过 .task-state.json 持久化任务状态,确保长时间任务不会因断线而丢失。触发词:恢复任务、resume、任务状态、断线恢复、session resume。也可在每次 session 启动时自动检测。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install session-resume
  3. After installation, invoke the skill by name or use /session-resume
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: 4-phase checkpoint & recovery system for OpenClaw agents.
Metadata
Slug session-resume
Version 1.0.0
License MIT-0
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is Session Resume?

会话恢复。Gateway 重启或 session 中断后,自动恢复任务上下文并向用户汇报进度。通过 .task-state.json 持久化任务状态,确保长时间任务不会因断线而丢失。触发词:恢复任务、resume、任务状态、断线恢复、session resume。也可在每次 session 启动时自动检测。 It is an AI Agent Skill for Claude Code / OpenClaw, with 170 downloads so far.

How do I install Session Resume?

Run "/install session-resume" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Session Resume free?

Yes, Session Resume is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Session Resume support?

Session Resume is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Session Resume?

It is built and maintained by wavmson (@wavmson); the current version is v1.0.0.

💬 Comments