← 返回 Skills 市场
Task Memory
作者
huyaohuahk
· GitHub ↗
· v1.2.0
· MIT-0
114
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install task-memory
功能描述
任务遗忘防护系统 — 解决 AI Agent 任务发出但未执行的记忆漏洞问题。 当需要创建、追踪、管理长期任务时使用,特别是:提出或承诺了某项计划后、设置 cron/自动化任务时、任务状态变更后、晨间/心跳检查时。 核心功能:通过 todo.json 持久化任务状态,todo_manager.py 管理增/查/改...
安全使用建议
This skill appears to be a legitimate todo manager, but it's inconsistent: the documentation says todo.json will live in the skill/current directory (references/todo.json), while the script writes to /home/openclaw/.openclaw/workspace/backtest/todo.json. Before installing or running: 1) Do not run it as-is on a machine where /home/openclaw/... might exist and contain important data. 2) Inspect and edit scripts/todo_manager.py to point TODO_FILE to a safe, relative path (for example ./references/todo.json) or make the path configurable (env var or command-line option). 3) Run the script in a sandbox or test environment first to confirm behavior. 4) If you expect IM push integration, note the script does not implement it — that would need explicit, separate code. These mismatches are likely an oversight but are material; fix the file-path handling (or require/declare a configurable path) before trusting it with real data.
功能分析
Type: OpenClaw Skill
Name: task-memory
Version: 1.2.0
The task-memory skill is a legitimate utility designed to help AI agents track long-term tasks and prevent 'memory loss' between sessions. The core logic in scripts/todo_manager.py is a straightforward Python script that performs CRUD operations on a local JSON file (todo.json) without any network activity, shell execution, or access to sensitive system files. The instructions in SKILL.md are well-aligned with the stated purpose of task persistence and do not contain any malicious prompt injections or unauthorized commands.
能力评估
Purpose & Capability
SKILL.md describes a simple, local todo.json stored in the skill's references/ directory (or current directory). The shipped script instead uses a hardcoded TODO_FILE = "/home/openclaw/.openclaw/workspace/backtest/todo.json". This does not match the stated default path and indicates the code will read/write outside the skill bundle (and possibly overwrite or create files in an unexpected user home path).
Instruction Scope
SKILL.md instructs agents to run the script for add/check/list/done/etc and implies use of references/todo.json and optional push-to-IM in heartbeats. The script implements add/check/list/done operations but: (a) ignores the references/todo.json shipped in the package (because of the hardcoded path), and (b) does not itself implement network push to QQ/IM (it only prints to stdout). The runtime instructions therefore assume a different file layout/behavior than the code actually uses.
Install Mechanism
No install spec or external downloads; the skill is instruction+script only. No packages or remote installs are performed.
Credentials
The skill declares no required env vars or config paths, but the script requires filesystem write access and uses a hardcoded absolute path under /home/openclaw/.openclaw/... rather than a relative path or configurable location. That is disproportionate to the stated purpose (which implied local skill-scoped storage) and could unintentionally read/modify files in a host user's home.
Persistence & Privilege
The skill persists data to disk (normal for a todo tool). It does not request elevated platform privileges nor set always:true. The main issue is the persistence location (absolute path) which gives broader filesystem presence than the docs imply.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install task-memory - 安装完成后,直接呼叫该 Skill 的名称或使用
/task-memory触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.0
v1.2.0: --add强制校验deadline格式,--done自动归档30天,新增--archive/--purge
v1.1.0
v1.1.0: SKILL.md去除所有个人信息,改为通用路径,CHANGELOG去除身份信息,适合所有用户部署
v1.0.1
v1.0.1: 增加 CHANGELOG.md 知识库,完整版本历史/设计决策/未来计划
v1.0.0
首发版:任务遗忘防护系统 todo_manager.py + todo.json,自动追踪承诺的计划
元数据
常见问题
Task Memory 是什么?
任务遗忘防护系统 — 解决 AI Agent 任务发出但未执行的记忆漏洞问题。 当需要创建、追踪、管理长期任务时使用,特别是:提出或承诺了某项计划后、设置 cron/自动化任务时、任务状态变更后、晨间/心跳检查时。 核心功能:通过 todo.json 持久化任务状态,todo_manager.py 管理增/查/改... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 114 次。
如何安装 Task Memory?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install task-memory」即可一键安装,无需额外配置。
Task Memory 是免费的吗?
是的,Task Memory 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Task Memory 支持哪些平台?
Task Memory 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Task Memory?
由 huyaohuahk(@huyaohuahk)开发并维护,当前版本 v1.2.0。
推荐 Skills