Chuyển đến nội dung
Skillpedia
Agent41k · #6945

signals-scout-tasks

Skill này làm gì

Scout này kiểm tra các tác vụ agent mà dự án của bạn chạy để tìm lỗi tập trung theo kho mã hoặc theo lỗi. Scout dành cho các nhóm dùng tác vụ agent và muốn biết khi nào chúng đang gặp sự cố.

Khi nào nên dùng

  • ✓Khi nhiều tác vụ agent thất bại với cùng một lỗi ở các tác vụ khác nhau.
  • ✓Khi một hoặc hai tác vụ cứ thử lại và thất bại liên tục.
  • ✓Khi cả một kho mã dường như làm hỏng mọi tác vụ, có thể do lỗi cài đặt.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/PostHog/posthog/blob/master/products/signals/skills/signals-scout-tasks/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Các tác vụ agent của tôi có đang thất bại theo một khuôn mẫu không, và có tác vụ nào bị kẹt trong vòng thử lại không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Scout so sánh số lần chạy thất bại với số tác vụ khác nhau đã thất bại. Nhiều tác vụ khác nhau cùng thất bại một lần cho thấy một lỗi chung, còn vài tác vụ thất bại lặp đi lặp lại cho thấy một tác vụ bị kẹt. Scout chỉ tạo báo cáo khi khuôn mẫu đạt ngưỡng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Lỗi hệ thống trông như thế nào?

Nhiều tác vụ khác nhau thất bại mỗi cái vài lần, thường cho thấy một lỗi chung.

Chuỗi thử lại dồn dập là gì?

Một hoặc hai tác vụ thất bại đi thất bại lại, thường do một đầu vào hỏng.

Nó có theo dõi chính các lần chạy của scout không?

Không. Các lần chạy từ chính đội scout sẽ bị bỏ qua.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
41k
Vị trí xếp hạng
#6945
Giấy phép
—
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự