prioritizing-my-inbox
它能做什么
本技能从收件箱中的数百份报告里,为你建立一份个人化的、按优先级排序的简短清单。适合希望知道先处理什么,而不仅仅是看最新内容的人。
适用场景
- ✓当你的收件箱报告太多,你想先从一份简短清单开始时。
- ✓当你想知道今天最可能需要你关注的报告时。
- ✓当你想在收件箱中专注于某个主题,例如错误追踪的时候。
技能链接
https://github.com/PostHog/posthog/blob/master/products/signals/skills/prioritizing-my-inbox/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我今天应该查看的前 10 份收件箱报告,并说明原因。”
每周 5 个新技能,1 分钟读完。
工作原理
它会综合你负责和关注的内容、模型预测的某份报告需要行动或修复的可能性,以及某份报告是否正在等待你处理,例如一个已批准的拉取请求。然后,它对结果排序,并为每一条给出理由。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Prioritizing my inbox
The inbox on an active project holds hundreds or thousands of open reports. The default list order puts the user's suggested reports first, then sorts by status and update time. That order is not a personal ranking. This skill builds one: a short, ranked list of the reports this person would pick first, with a reason for each.
Three inputs decide the rank:
- Who the person is right now.
activity-summary-getreturns their current themes, the objects they own and watch, and the products they work in. - What the model predicts. Each report row carries
ranking.predictionswith a probability and a lift foropen,actionandfix. - What the report needs from them. Suggested reviewer, claims they answer for,
pending_inputstatus, an approved pull request waiting to merge.
The output is a ranked list, not a dump. Use your judgment on top of the score: the score finds candidates, you decide the order.
Parse the request
- N: "top 10", "my top 5", "25 things". Default to 25. Above 50, warn that the tail gets thin and ask whether they want a filter instead.
- Focus: a theme, product, or keyword ("only anomaly stuff", "error tracking"). It becomes an extra candidate pool and a boost, not a hard filter, unless they say "only".
- Exclusions: "skip digests", "not the scout fleet ones", "nothing with a PR yet".
- Window: "this week", "today", "since Monday". Default to reports created or updated in the last 14 days.
- Mode: "things I can fix", "things waiting on me", "just new ones". Each maps to a pool or boost below.
Step 1: Load the person
activity-summary-get
{}
From the response, build an interest profile:
- Themes with
strengthandlast_seen. A theme seen in the last 3 days withstrength: highcounts most. - Specific terms from
computed.ownedandcomputed.watched: skill names, flag keys, saved query names, insight and dashboard names. These match reports far better than generic theme words. - Products from
computed.products.works_inandcomputed.pages. They map tosource_productand to report topics. - Recently asked about lines in
profile. A report the person asked about this week is a strong candidate.
Generic words make bad search terms.
On a busy project, search: "ranking" can match hundreds of reports because summaries mention ranking in passing.
Prefer terms like an owned skill name (anomaly-metrics), a flag key, or a distinctive phrase from a theme label.
If the call returns status: not_ready or a 404, there is no summary for this person.
Say so in one line and continue with the other signals.
The ranking then leans on suggested-reviewer routing, claims, and the model.
Offer to let the person name two or three topics they care about, and use those as the interest profile.
Step 2: Gather candidates
Report rows are large (often 3 to 4 KB each, mostly the summary), so pull several small pools rather than one big page.
Keep limit at 20 or below per call.
Pass exclude with ids you already hold to keep later pools fresh.
exclude takes at most 100 ids and the API rejects a longer list, so send the 100 you most want to skip (the strongest candidates so far) and dedupe the rest locally.
Pools overlap; dedupe by id and remember which pools each report came from.
| Pool | Call | Why |
|---|---|---|
| For you | view: "for_you", sort: "recommended", created_after: <window> |
Routed to them, waiting on them, or claimed by them |
| Recently updated | view: "for_you", ordering: "-updated_at", no created_after |
Older reports with new activity, such as a new PR approval or question |
| Mine | assignee: "mine" |
Work they or their agents already own |
| Likely action | view: "actionable", `ordering: |
常见问题
它默认显示多少份报告?
默认显示 25 份。你可以要求其他数量,但超过 50 份时,清单会变得稀疏。
我可以只关注某个主题吗?
可以。某个主题会提升该领域报告的排名;如果你说明只要该主题,它会将清单限定在该主题之内。
排序仅由分数决定吗?
不是。分数用于找出候选项,最终排序则由本技能根据判断决定。
详情
作者的原始描述
Build a personal, ranked shortlist of the PostHog Inbox reports the current user is most likely to care about right now. Combines the user's activity summary (what they work on and keep an eye on), the inbox ranking model's open, action and fix probabilities and lifts, suggested-reviewer routing, ownership, pull request state and recency, then returns the top N (25 by default) ordered from most to least relevant. Use when the user says "let's look at my inbox", "what's in my inbox for me?", "my top 10 inbox reports", "what should I look at today?", or asks to re-rank, focus, or filter that lis
repo: PostHog/posthog
热度
- GitHub 星标
- 41k
- 排名
- #6917
- 许可证
- —
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
depot-ci
41k帮你的智能体设置并运行 Depot CI 工作流(GitHub Actions 的替代方案),包括迁移现有工作流和读取运行日志。
depot-container-builds
41k帮你的智能体在 Depot 的远程构建器上构建 Docker 镜像,包括多平台镜像、推送到镜像仓库,以及修复构建失败。
depot-github-runners
41k帮你的智能体把 GitHub Actions 任务迁移到 Depot 托管的运行器上,选择运行器规格和标签,并排查运行器设置问题。
editing-agents-md
41k帮你的智能体判断某条规则应写入 AGENTS.md 还是 CLAUDE.md,并以不会让文件臃肿的方式写下,确保规则真正生效。