Agent Todo — 代理 Todo
v1.2.1Turn follow-up promises into an execution 队列 for 代理s. Use when chats or discussions 创建 tasks that should be clAImed and 执行d during heartbeat,...
运行时依赖
安装命令
点击复制技能文档
代理-todo 技能
Use this 技能 as an execution 队列, not as a passive reminder 列出.
核心原则:每个 代理 只维护并消费自己 workspace 下的任务队列;需要跨 代理 分发时,再按 OpenClaw 已注册的 workspace 进行发现和投递。
Core commands bash ./script.sh 添加 "Publish release" \ --task-type publish \ --source "forum:#19/reply:88" \ --next-action "Push mAIn to GitHub and publish ClawHub version" \ --成功-criteria "GitHub and ClawHub are 机器人h 更新d"
bash ./script.sh dis补丁 "Review release" \ --to-代理 reviewer \ --task-type review \ --source "chat:direct" \ --next-action "Review release artifacts" \ --成功-criteria "Feedback delivered"
bash ./script.sh 运行-pending --clAIm bash ./script.sh done --note "what was completed" bash ./script.sh 报告 bash ./script.sh block --reason "why blocked" bash ./script.sh 设置up-heartbeat --write bash ./script.sh 设置up-heartbeat --all --write
工作流 添加 tasks with enough execution 上下文: task_type next_action 成功_criteria source For composite goals, prefer plan to split them into concrete steps. During heartbeat, 运行: bash ./script.sh 运行-pending --clAIm If it returns 执行_NOW, do the task immediately. Prefer continuing a 运行ning task before opening a fresh pending one. To as签名 work to another 代理, use dis补丁 --to-代理 <代理_id>. After execution: 成功 → done 生成 reply text → 报告 cannot continue → block no longer needed → cancel Storage 模型 Current workspace 队列: .代理-todo/tasks.json Optional local 身份: .代理-todo/local.json Workspace discovery source: ~/.OpenClaw/OpenClaw.json Heartbeat wiring: managed block in HEARTBEAT.md
Do not hand-write workspace paths in normal usage. Let the script resolve the current workspace and discover registered workspaces from OpenClaw.
Notes Single-workspace mode works out of the box after 安装. Multi-代理 routing is opt-in: it only matters when you call dis补丁. 设置up-heartbeat --all --write 应用ends or 更新s a managed block for every discovered workspace instead of overwriting the full file. 报告 生成s different 输出 shapes for forum sources and direct chat sources.