← 返回 Skills 市场
yangdaowan

Task Persistence

作者 DaYu · GitHub ↗ · v1.1.0
cross-platform ⚠ suspicious
461
总下载
0
收藏
4
当前安装
2
版本数
在 OpenClaw 中安装
/install task-persistence
功能描述
Task continuity, session snapshots, and gateway restart recovery. Use when starting long-running tasks (register them), after gateway restart (check for inte...
安全使用建议
This skill's code matches its stated purpose (task persistence, snapshots, restart recovery) and does not contact external endpoints, but there are a few practical inconsistencies you should consider before installing: - Default workspace mismatch: SKILL.md shows /workspace as the default, but the Python code falls back to paths like ~/.openclaw/workspace or /home/admin/.openclaw/workspace if OPENCLAW_WORKSPACE isn't set. Set OPENCLAW_WORKSPACE explicitly to a safe directory to ensure files are written where you expect. - Docs vs code: dist/SKILL.md mentions optional dependencies (psutil, uv, memory-core) that the included scripts do not actually import; this looks like stale or copy-pasted documentation. Expect the packaged scripts to run with the standard library and python3. - File writes: the skill will create and modify files under the workspace (tasks/, memory/, persistence/, monitor/). If you have sensitive data in your workspace or care about disk usage, inspect the skill directory and run it in a sandboxed workspace first. - Background monitoring: running the 'full' mode starts a background monitor thread that will persist in the process. That is normal for this functionality but be mindful if you allow autonomous invocation. Recommended actions before enabling or granting autonomous use: 1. Inspect the packaged scripts (they are included) to confirm behavior (you've already been given them). 2. Explicitly set OPENCLAW_WORKSPACE to a dedicated sandbox directory. 3. Run check-restart/status commands manually to verify outputs. 4. If you want stronger assurance, run the skill in an isolated environment for a short period and confirm no unexpected files are written outside your chosen workspace. Overall: not obviously malicious, but internal inconsistencies and potentially surprising default paths justify caution.
功能分析
Type: OpenClaw Skill Name: task-persistence Version: 1.1.0 The OpenClaw AgentSkills skill bundle 'task-persistence' is classified as benign. All Python scripts (`gateway_monitor.py`, `session_snapshot.py`, `task_persistence.py`, `task_queue.py`, `main.py`) consistently operate within a designated workspace, storing all state and task data locally. There is no evidence of data exfiltration, unauthorized network communication, or attempts to access sensitive system files outside the workspace. The `SKILL.md` instructions guide the AI agent to execute these scripts with well-defined arguments, showing no signs of prompt injection aimed at malicious actions. Minor inconsistencies, such as undeclared dependencies or differing execution commands (`python3` vs `uv run`) between `SKILL.md` versions, are present but do not indicate malicious intent.
能力评估
Purpose & Capability
Name/description (task continuity, snapshots, restart recovery) matches the included scripts (task queue, persistence, snapshots, gateway monitor). Required binary (python3) is appropriate. However the distributed README (dist/SKILL.md) lists extra dependencies (psutil, uv, memory-core) and integration points that the actual scripts don't import; this is a documentation/code mismatch rather than immediate malicious behavior.
Instruction Scope
SKILL.md instructs the agent to run CLI scripts under a workspace path and to use {baseDir}. The scripts themselves perform local filesystem reads/writes (task lists, snapshots, gateway state) under a workspace location. There is no network or external endpoint usage, but SKILL.md and the code disagree about the default workspace (SKILL.md shows /workspace; code often defaults to ~/.openclaw/workspace or /home/admin/.openclaw/workspace). That mismatch could cause the skill to write persistent state into an unexpected user directory if OPENCLAW_WORKSPACE is not set as anticipated.
Install Mechanism
No install spec (instruction-only installer) — low install risk. Code files are packaged with the skill and will run under python3; nothing is being downloaded or executed from remote URLs during install.
Credentials
The skill declares no required environment variables but both SKILL.md and code read OPENCLAW_WORKSPACE (fallbacking to different defaults). No other secrets or unrelated credentials are requested. The main proportionality issue is the inconsistent default workspace paths in docs vs code, which could cause writes to the user's home directory (/home/admin/.openclaw/...) if OPENCLAW_WORKSPACE is not set.
Persistence & Privilege
always: false and model invocation not disabled (normal). The skill writes/reads only its own files under the workspace/persistence and tasks directories and does not modify other skills' configuration or request elevated system privileges. Background monitoring (full mode) starts a daemon thread locally — benign but be aware it runs persistently while active.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install task-persistence
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /task-persistence 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
Fix: 补全缺失的 task_manager.py 和 main.py;重写 SKILL.md 为 agent 可执行指令格式;完整的任务注册/恢复/完成工作流;所有脚本语法验证通过
v1.0.0
Initial release: Automatic task persistence, session snapshots, and gateway restart notifications
元数据
Slug task-persistence
版本 1.1.0
许可证
累计安装 5
当前安装数 4
历史版本数 2
常见问题

Task Persistence 是什么?

Task continuity, session snapshots, and gateway restart recovery. Use when starting long-running tasks (register them), after gateway restart (check for inte... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 461 次。

如何安装 Task Persistence?

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

Task Persistence 是免费的吗?

是的,Task Persistence 完全免费(开源免费),可自由下载、安装和使用。

Task Persistence 支持哪些平台?

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

谁开发了 Task Persistence?

由 DaYu(@yangdaowan)开发并维护,当前版本 v1.1.0。

💬 留言讨论