agentsclimarketplace

Task supervisor

Skill aAAaqwq/AGI-Super-Team/skills/task-supervisor

定时巡检 agent 任务执行状态,识别卡住、abort、无产出等异常并触发催促或告警。From its SKILL.md

Install
npx -y skills add aAAaqwq/AGI-Super-Team --skill task-supervisor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.6 KB, 561 tokens by cl100k_base, as published. Nobody here has run it

Task Supervisor Skill — 任务监工

概述

每 15 分钟自动巡检所有 agent 的工作状态,发现偷懒/卡死/abort 立即告警。

触发

  • Cron: 每 15 分钟
  • 手动: task-supervisor check

巡检流程

Step 1: 获取活跃 session 列表

sessions_list(activeMinutes=20, messageLimit=1)

Step 2: 逐个检查

对每个 agent session:

  1. 是否活跃 — updatedAt 在 15min 内?
  2. 是否 abort — lastMessage.stopReason == "aborted"?
  3. 是否完成 — 有没有发群汇报?
  4. 是否偷懒 — 收到任务但没有产出文件?

Step 3: 异常分类

等级情况动作
🔴 P0session aborted/crash重发任务 + 告警
🟡 P115min 无进展发催促
🟢 OK正常工作中不打扰

Step 4: 汇报

发到群里(accountId=default, target=-1003890797239):

🔍 监工巡检 [HH:MM]
━━━━━━━━━━━━━━
✅ 小quant: [状态]
✅ 小content: [状态]
❌ 小code: [问题] → [处理]
...

Step 5: 自动处理

  • abort 的 session: 自动用 sessions_send 重发最近的任务
  • 超时的 agent: 发催促消息
  • 全部正常: 静默不汇报(不打扰 Daniel)

关键规则

  1. 全部正常时不汇报 — 只在发现问题时告警
  2. 不重复催促 — 同一 agent 15min 内只催一次
  3. 深夜模式 — 23:00-08:00 不催促,只记录
  4. 汇报精简 — ≤200字,只说问题和处理

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.