Files
TrulyMEM-TrueHumanMEM-local/ts/bundled-skills/graph_memory/task/SKILL.md
root 904661d73f feat: migrate to TypeScript for WaterFlow framework
- Add TypeScript graph memory module (GraphDatabase, MemoryService)
- Add GraphMemoryTool for WaterFlow Tool interface
- Add bundled-skills for graph_memory, persona, task
- Remove Python code (core/, ui/, tests/, etc.)
- Remove redundant docs and build files
- Keep only ts/, docs/integration/, .gitignore, LICENSE
2026-04-15 15:45:12 +08:00

1.9 KiB

name, description, when_to_use, context, allowed_tools, arguments, user_invocable
name description when_to_use context allowed_tools arguments user_invocable
graph_memory_task 管理连续性任务 - 创建、更新、删除任务节点 需要创建或管理长期任务时 inline
builtin:graph_memory
name type required enum description
action string true
task_create
task_set_state
task_delete
task_link_info
操作类型
name type required description
task_id string true 任务ID
name type description
description string 任务描述 (用于 create)
name type enum description
state string
进行中
已完成
已暂停
已取消
任务状态 (用于 set_state)
name type description
info_nodes array 信息节点数组 (用于 create)
name type description
info_node string 信息节点 (用于 link_info)
true

GraphMemory Task 任务管理

管理长期/连续性任务。

操作

1. task_create - 创建任务

创建新的任务节点。

参数:

  • task_id: 唯一任务标识
  • description: 任务描述
  • info_nodes: 可选的相关信息节点

示例:

action: task_create
task_id: "Task_学习TypeScript"
description: "学习 TypeScript 并完成项目"
info_nodes: ["TypeScript文档", "教程链接"]

2. task_set_state - 设置状态

更新任务状态。

参数:

  • task_id: 任务ID
  • state: 新状态 (进行中/已完成/已暂停/已取消)

示例:

action: task_set_state
task_id: "Task_学习TypeScript"
state: "已完成"

3. task_delete - 删除任务

删除任务节点。

参数:

  • task_id: 任务ID

示例:

action: task_delete
task_id: "Task_学习TypeScript"

将信息节点关联到任务。

参数:

  • task_id: 任务ID
  • info_node: 信息节点

示例:

action: task_link_info
task_id: "Task_学习TypeScript"
info_node: "新教程链接"