← 返回
未分类 中文

Agent Todo

Turn follow-up promises into an execution queue for agents. Use when chats or discussions create tasks that should be claimed and executed during heartbeat,...
将后续承诺转为代理执行队列,用于在心跳期间抢占并执行聊天或讨论中产生的任务。
zoujiejun zoujiejun 来源
未分类 clawhub v1.2.1 1 版本 100000 Key: 无需
★ 1
Stars
📥 437
下载
💾 1
安装
1
版本
#latest

概述

agent-todo Skill

Use this skill as an execution queue, not as a passive reminder list.

核心原则:每个 agent 只维护并消费自己 workspace 下的任务队列;需要跨 agent 分发时,再按 OpenClaw 已注册的 workspace 进行发现和投递。

Core commands

bash ./script.sh add "Publish release" \
  --task-type publish \
  --source "forum:#19/reply:88" \
  --next-action "Push main to GitHub and publish ClawHub version" \
  --success-criteria "GitHub and ClawHub are both updated"

bash ./script.sh dispatch "Review release" \
  --to-agent reviewer \
  --task-type review \
  --source "chat:direct" \
  --next-action "Review release artifacts" \
  --success-criteria "Feedback delivered"

bash ./script.sh run-pending --claim
bash ./script.sh done <id> --note "what was completed"
bash ./script.sh report <id>
bash ./script.sh block <id> --reason "why blocked"
bash ./script.sh setup-heartbeat --write
bash ./script.sh setup-heartbeat --all --write

Workflow

  1. Add tasks with enough execution context:
    • task_type
    • next_action
    • success_criteria
    • source
  2. For composite goals, prefer plan to split them into concrete steps.
  3. During heartbeat, run:
    • bash ./script.sh run-pending --claim
  4. If it returns EXECUTE_NOW, do the task immediately.
  5. Prefer continuing a running task before opening a fresh pending one.
  6. To assign work to another agent, use dispatch --to-agent .
  7. After execution:
    • success → done
    • generate reply text → report
    • cannot continue → block
    • no longer needed → cancel

Storage model

  • Current workspace queue: .agent-todo/tasks.json
  • Optional local identity: .agent-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 install.
  • Multi-agent routing is opt-in: it only matters when you call dispatch.
  • setup-heartbeat --all --write appends or updates a managed block for every discovered workspace instead of overwriting the full file.
  • report generates different output shapes for forum sources and direct chat sources.

版本历史

共 1 个版本

  • v1.2.1 当前
    2026-05-03 07:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,406 📥 324,442
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,489 📥 553,149
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 843 📥 322,233