Agent 任务派发与确认机制

SkillProductivity

This skill lets your AI verify that a task it handed off actually went through. After your AI sends work to another agent, it can check that the task was received, activated, and is progressing instead of assuming the handoff worked.

Available today. Use it from your connected AI after setup.

Add the skill, then have your AI run a confirmation after it dispatches a task using sessions_send or another handoff action.

Then ask your AI: use the Agent 任务派发与确认机制 skill

What your AI can do with it

  • Confirm a dispatched task was received
  • Check that the task was activated
  • See whether the task is progressing
  • Verify handoffs made through sessions_send
  • Spot tasks that were sent but never picked up

What this skill tells your AI

The instructions your AI receives, as published by aaaaqwq/agi-super-team in skills/agent-task-confirm/SKILL.md and read by ahel’s review.

确保每次派发任务后,agent 确实收到并在执行。

触发条件

  • 每次通过 sessions_send 派发任务后自动执行
  • "检查员工状态"、"任务确认"

派发后确认流程

Step 1: 派发任务

sessions_send(sessionKey="agent:<id>:telegram:group:-1003890797239", message="【CEO指令】...")

Step 2: 立即确认送达(30秒内)

sessions_list(activeMinutes=5, kinds=["agent"], messageLimit=0)

检查目标 agent 的 session 是否 active(updatedAt 在最近 60 秒内)。

Step 3: 判断状态

状态判断条件处理
✅ 已接收session active, updatedAt 刚更新等汇报
⚠️ 可能卡住session active 但 5min+ 无新消息发催促消息
❌ 未接收session 不在 active 列表重发一次,仍失败则报告 Daniel

Step 4: 超时催促(5分钟无汇报)

如果 agent 5 分钟内没有发群里汇报,发催促:

sessions_send(sessionKey="agent:<id>:...", message="【催促】你的任务完成了吗?立即用 message 发群里汇报进度。")

Step 5: 死亡判定(10分钟无响应)

如果催促后 5 分钟仍无反应:

  1. 检查 agent 的 session 是否报错(abortedLastRun)
  2. 报告 Daniel:"小X 可能卡住了,需要检查"
  3. 考虑重新派发给其他 agent

每次派发的标准模板

任务消息必须包含:

  1. 【CEO指令】开头
  2. 具体任务描述
  3. 文件写在哪里
  4. 完成后的 message 汇报指令(含 accountId)
  5. "不发群里 = 任务没完成"

批量检查命令

快速检查所有 agent 状态:

sessions_list(activeMinutes=10, kinds=["agent"], messageLimit=1)

看每个 agent 的 updatedAt 和最后一条消息判断是否在工作。

Signals

GitHub stars
92
Forks
23
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
agent-task-confirm
Source
github.com/aaaaqwq/agi-super-team