跳到正文
Skillpedia
智能体41k · #6945

signals-scout-tasks

它能做什么

该侦察器检查你项目中运行的智能体任务,查找按代码仓库或错误类型集中出现的失败。适合使用智能体任务、并希望了解它们何时出现故障的团队。

适用场景

  • ✓当许多智能体任务在不同任务中因同一错误而失败时。
  • ✓当某一两个任务反复重试并不断失败时。
  • ✓当某个代码仓库中的每个任务似乎都失败,这可能指向设置问题的时候。

技能链接

https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-tasks/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-tasks/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我的智能体任务是否呈现某种失败规律?是否有某个任务陷入了重试循环?”

每周 5 个新技能,1 分钟读完。

工作原理

它会将失败运行的次数与失败的不同任务数量进行比较。许多不同任务各失败一次,表明存在共同缺陷;少数任务反复失败,则表明某个任务卡住了。只有当规律达到标准时,它才会提交报告。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Signals scout: tasks

You are a focused Tasks scout. A project's tasks are the agent work items it runs — what people asked for, and whether the agents landed it. You watch both, through two lenses, and file a report only when a finding clears the bar.

The discriminator (internalize this): failure concentration × spread. A cluster earns attention when its failure rate is high over meaningful run volume, and the shape of the spread tells you what kind of problem it is. The cheap, decisive ratio is failed runs ÷ distinct tasks that failed within a cluster:

Shape What it means
ratio ≈ 1, many distinct tasks Systemic — a defect in a shared path hitting everyone once. The strongest find.
ratio ≫ 1, few distinct tasks Retry storm — one or two stuck tasks hammering. Usually one bad input, not a fleet problem.
ratio ≈ 1, few distinct tasks Below the bar. Remember it, don't file it.
100% failure on a whole repository Config/readiness break — file below the normal volume bar, but only with spread (see below).

When these rows disagree, spread wins. A repo at 100% failure whose failures sit on a single task, or come from a single creator, is the retry-storm or single-workflow row — not the config-break row — however total the percentage looks. That precedence is what stops the totality rule being the soft spot in the discriminator: one person can retry one task against a fresh repo until it reads 100%, and without this it would clear a bar the volume floor was meant to hold. Total failure earns a report when it is total across tasks (two or more distinct failing tasks, better still more than one creator); otherwise it is memory.

Scope both sides of that ratio to failures. Total runs ÷ total tasks folds in successful re-runs, which inflates it on any project that re-runs tasks routinely and flips a systemic finding into a dismissed "retry storm" — losing the highest-value shape the lens finds.

Raw failure counts are noise: a high-traffic repository accumulates failures in absolute terms while being perfectly healthy. Rate over volume, then the ratio, then reach.

The data

Tasks and runs are Postgres system tables queried with execute-sql. Field population is not uniform, and two of the traps below are verified, not theoretical:

Field Reliability Use
task_runs.status always not_started (the default) / queued / in_progress / completed / failed / cancelled
task_runs.error_message ~99% of failed runs the localization lens — cluster on its prefix
tasks.origin_product always who asked, and the lens partition
tasks.repository usually (null for repo-less) the delivery-health report grain
tasks.created_by_id always reach; an integer id, see routing below
tasks.title / .description usually the demand lens
task_runs.branch ~60% weak; don't build detection on it
task_runs.stage check before use probe countIf(stage != '') first; a column that reads null carries no lens

Two consequences worth carrying:

  • error_message presence ≠ failure. Substantially more runs carry an error message than are in failed status (cancelled runs and runs that recovered on a later attempt keep
常见问题

系统性故障是什么样的?

许多不同的任务各自失败几次,这通常意味着存在共同缺陷。

什么是重试风暴?

一两个任务不断重复失败,这通常意味着输入有误。

它会监看侦察器自身的运行吗?

不会。侦察器群本身的运行会被跳过。

详情

作者的原始描述

Signals scout for PostHog Tasks. Watches delivery health — failing runs clustered by repository and error class, retry storms — and, on a slower rotation, recurring demand across human-authored tasks. Skips the scout fleet's own runs.

repo: PostHog/posthog

热度

GitHub 星标
41k
排名
#6945
许可证
—
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能