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.mdCopy 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
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
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_messagepresence β failure. Substantially more runs carry an error message than are infailedstatus (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
Comments
- β¦
More skills from this repository
depot-ci
41kHelps your agent set up and run Depot CI workflows, a GitHub Actions alternative, including migrating existing workflows and reading run logs.
depot-container-builds
41kHelps your agent build Docker images on Depot's remote builders, including multi-platform images, pushing to registries, and fixing build failures.
depot-github-runners
41kHelps your agent move GitHub Actions jobs to Depot-managed runners, choosing runner sizes and labels, and troubleshooting runner setup issues.
editing-agents-md
41kHelps your agent decide whether a rule belongs in an AGENTS.md or CLAUDE.md file, and write it so it sticks without bloating the file.
Similar skills
add-model-provider
394kLets your agent connect a new AI model provider to OpenClaw using safe setup commands, keep API keys out of plain text, and run a live test.
acp-router
394kHelps your agent send a task to a coding assistant such as Claude Code or Cursor through OpenClaw, so the work runs in that tool.
browser-automation
394kTeaches your agent to control web pages step by step, including logins, tabs, and recovery when a page stops responding.