Skip to content
Skillpedia
Agents41k Β· #6945

signals-scout-tasks

What it does

This scout checks the agent tasks your project runs for failures that cluster by repository or by error. It is for teams that use agent tasks and want to know when they are breaking.

When to use it

  • βœ“When many agent tasks fail with the same error across different tasks.
  • βœ“When one or two tasks keep retrying and failing over and over.
  • βœ“When a whole repository seems to fail every task, which may point to a setup problem.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-tasks/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œAre my agent tasks failing in a pattern, and is any one task stuck retrying?”

5 new skills a week. 1 minute to read.

How it works

It compares the number of failed runs with the number of distinct tasks that failed. Many different tasks failing once suggests a shared defect, while a few tasks failing repeatedly suggests a stuck task. It files a report only when the pattern clears the bar.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

What does a systemic failure look like?

Many different tasks failing a few times each, which usually means a shared defect.

What is a retry storm?

One or two tasks failing again and again, which usually means one bad input.

Does it watch the scouts' own runs?

No. Runs from the scout fleet itself are skipped.

Details

Original description by the author

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

Popularity

GitHub stars
41k
Ranking position
#6945
License
β€”
Updated
11/2/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills