task-supervisor

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

33 stars

Best use case

task-supervisor is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using task-supervisor should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/task-supervisor/SKILL.md --create-dirs "https://raw.githubusercontent.com/aAAaqwq/AGI-Super-Team/main/skills/task-supervisor/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/task-supervisor/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How task-supervisor Compares

Feature / Agenttask-supervisorStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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: 异常分类
| 等级 | 情况 | 动作 |
|------|------|------|
| 🔴 P0 | session aborted/crash | 重发任务 + 告警 |
| 🟡 P1 | 15min 无进展 | 发催促 |
| 🟢 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字,只说问题和处理

Related Skills

task-status

33
from aAAaqwq/AGI-Super-Team

Send short status descriptions in chat for long-running tasks. Use when you need to provide periodic updates during multi-step operations, confirm task completion, or notify of failures. Includes automated periodic monitoring that sends updates every 5 seconds, status message templates, and a helper function for consistent status reporting.

task-prioritization

33
from aAAaqwq/AGI-Super-Team

Task prioritization and scoring

agent-task-confirm

33
from aAAaqwq/AGI-Super-Team

Use when confirming whether a dispatched agent task was actually received, activated, and progressing after sessions_send or other task handoff actions.

wemp-operator

33
from aAAaqwq/AGI-Super-Team

> 微信公众号全功能运营——草稿/发布/评论/用户/素材/群发/统计/菜单/二维码 API 封装

Content & Documentation

zsxq-smart-publish

33
from aAAaqwq/AGI-Super-Team

Publish and manage content on 知识星球 (zsxq.com). Supports talk posts, Q&A, long articles, file sharing, digest/bookmark, homework tasks, and tag management. Use when publishing content to 知识星球, creating/editing posts, uploading files/images/audio, managing digests, batch publishing, or formatting content for 知识星球.

zoom-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.

zoho-crm-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zoho CRM tasks via Rube MCP (Composio): create/update records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.

ziliu-publisher

33
from aAAaqwq/AGI-Super-Team

字流(Ziliu) - AI驱动的多平台内容分发工具。用于一次创作、智能适配排版、一键分发到16+平台(公众号/知乎/小红书/B站/抖音/微博/X等)。当用户需要多平台发布、内容排版、格式适配时使用。触发词:字流、ziliu、多平台发布、一键分发、内容分发、排版发布。

zhihu-post-skill

33
from aAAaqwq/AGI-Super-Team

> 知乎文章发布——知乎平台内容创作与发布自动化

zendesk-automation

33
from aAAaqwq/AGI-Super-Team

Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.

youtube-knowledge-extractor

33
from aAAaqwq/AGI-Super-Team

This skill performs deep analysis of YouTube videos through **both information channels** Multimodal YouTube video analysis through both audio (transcript) and visual (frame extraction + image analysis) channels. Especially powerful for HowTo videos, tutorials, demos, and explainer videos where what is SHOWN (screenshots, UI demos, diagrams, code, physical actions) is just as important as what is SAID. Use this skill whenever a user wants to analyze, summarize, or create step-by-step guides from YouTube videos, or when they share a YouTube URL and want to understand what happens in the video. Triggers on requests like "Analyze this YouTube video", "Create a step-by-step guide from this video", "What does this video show?", "Summarize this tutorial", or any YouTube URL shared with analysis intent.

youtube-factory

33
from aAAaqwq/AGI-Super-Team

Generate complete YouTube videos from a single prompt - script, voiceover, stock footage, captions, thumbnail. Self-contained, no external modules. 100% free tools.