← 返回 Skills 市场
zoujiejun

Agent Todo

作者 zoujiejun · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ⚠ suspicious
173
总下载
1
收藏
1
当前安装
8
版本数
在 OpenClaw 中安装
/install 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,...
使用说明 (SKILL.md)

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 \x3Cid> --note "what was completed"
bash ./script.sh report \x3Cid>
bash ./script.sh block \x3Cid> --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 \x3Cagent_id>.
  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.
安全使用建议
This skill appears to do exactly what it says: manage a local task queue and optionally dispatch tasks to other workspaces discovered from your OpenClaw config. Before installing: (1) ensure python3 and a POSIX shell are available (scripts assume them); (2) review and back up any HEARTBEAT.md files you care about because setup-heartbeat --write will insert/update a managed block; (3) enable the post_reply hook only if you want automatic conversion of forum/chat replies into queued tasks (its heuristics may false-positive); (4) understand that dispatch will write to other workspaces discovered via ~/.openclaw/openclaw.json — ensure that config and workspace permissions are appropriate. If you want higher assurance, inspect the full scripts locally (they are included) and run the provided smoke tests in a temporary workspace first.
功能分析
Type: OpenClaw Skill Name: agent-todo Version: 1.2.1 The skill implements a task execution queue that integrates with the OpenClaw heartbeat system. It possesses high-risk capabilities, including the ability to modify 'HEARTBEAT.md' files for persistence and read the global '~/.openclaw/openclaw.json' configuration to discover and write to other agent workspaces (scripts/agent_todo.py). While these behaviors are aligned with the stated purpose of multi-agent task coordination and automated execution, they represent a significant attack surface. Additionally, the 'post_reply.sh' hook automatically queues tasks based on agent replies, and the 'SKILL.md' instructions direct the agent to execute tasks 'immediately' upon discovery, which could be exploited if an agent is manipulated into committing to malicious tasks. No evidence of intentional malice was found.
能力评估
Purpose & Capability
Name/description match the implementation: scripts create and manage a local tasks.json, claim work during heartbeat, and optionally dispatch tasks to discovered workspaces. The only minor mismatch is that the package metadata declares no required binaries while the shipped scripts assume a POSIX shell and python3 are available.
Instruction Scope
Runtime instructions and hooks operate on workspace-local files (.agent-todo/tasks.json, .agent-todo/local.json, HEARTBEAT.md) and on OpenClaw's config (~/.openclaw/openclaw.json). Hooks can auto-create tasks from reply content and will call the CLI to add/dispatch tasks. This matches the stated purpose, but users should note enabling the post_reply hook will automatically queue tasks when reply content matches the heuristic.
Install Mechanism
No remote install or downloads are declared; this is an instruction+script bundle. Nothing is fetched from external URLs and no archives are extracted, which lowers installation risk.
Credentials
No secrets or unrelated environment variables are required. The code optionally reads OPENCLAW_CONFIG, AGENT_TODO_WORKSPACE, and TODO_DB to locate workspaces — these are proportional to discovery and workspace binding. It also relies on standard shell/python runtime environment (not declared in metadata).
Persistence & Privilege
The skill writes and updates local workspace state (.agent-todo/*) and can modify HEARTBEAT.md (append/update a managed block). When dispatch or setup-heartbeat --all are used, it will write into other discovered workspaces; this is expected for cross-agent routing but is a persistence action users should be aware of.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install agent-todo
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /agent-todo 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
Fix heartbeat workspace binding for shared/external installs; add smoke coverage.
v1.1.5
Refresh README opening and AI SEO description
v1.1.4
Align ClawHub display name with Agent Forum style
v1.1.3
Repair TODO schema drift and validate completed task rows
v1.1.2
Use bash-prefixed commands to avoid executable-bit issues after install
v1.1.1
Add heartbeat onboarding commands and cross-links between GitHub and ClawHub
v1.1.0
Execution queue release with planning, source-aware reports, and smoke test
v1.0.0
Initial public release
元数据
Slug agent-todo
版本 1.2.1
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 8
常见问题

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,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 173 次。

如何安装 Agent Todo?

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

Agent Todo 是免费的吗?

是的,Agent Todo 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Agent Todo 支持哪些平台?

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

谁开发了 Agent Todo?

由 zoujiejun(@zoujiejun)开发并维护,当前版本 v1.2.1。

💬 留言讨论