triaging-error-issues
What it does
This skill gives a short list of the error issues most worth looking at, such as new ones or ones that affect many users. It is for developers or on-call staff doing a daily review.
When to use it
- βWhen you ask what is broken today and want a short priority list.
- βWhen you want to see new errors from the last day or two.
- βWhen you are starting your morning and want to know which issues to look at first.
Skill link
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/triaging-error-issues/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
βWhat new errors do we have today, and which ones affect the most users?β
5 new skills a week. 1 minute to read.
How it works
It picks a time window, ranks issues by users affected and recency, and points to linked replays. It then suggests a next step for each important issue.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Triaging error tracking issues
When a user asks "what's broken?" or wants a daily error review, the goal is a short prioritized list of issues worth a human's attention β not a dump of every active issue. Most projects have hundreds of active issues; the few that matter are usually new (first seen in the last 24-48h), spiking, or affecting many distinct users.
Available tools
| Tool | Purpose |
|---|---|
posthog:query-error-tracking-issues-list |
List + rank issues with aggregate metrics (occurrences, users, sessions) |
posthog:query-error-tracking-issue |
Compact details for a single issue (status, assignee, top frame, release) |
posthog:query-error-tracking-issue-events |
Sampled $exception events with stack, URL, browser, and $session_id |
posthog:query-session-recordings-list |
Find replays of users hitting an issue |
posthog:inbox-reports-list |
Pre-curated actionable signals if the project uses Inbox |
Workflow
Step 1 β Pick a window and a signal
Read the time window from the user's wording. Defaults if unspecified:
- "Today" / "this morning" / "right now" β
dateRange: { date_from: "-24h" } - "This week" / "since Monday" β
-7d - On-call shift handoff β
-24h
Pick what "matters" means:
- New issues β
orderBy: "first_seen",orderDirection: "DESC", tight window. Catches regressions introduced by recent deploys. - High-impact β
orderBy: "users"ranks by distinct users affected. Better than raw occurrences for severity (one bot loop produces many occurrences but one user). - Trending β
orderBy: "occurrences"over a short window vs a longer baseline to spot spikes.
Step 2 β Pull the candidate list
Start narrow and widen if too few issues come back:
posthog:query-error-tracking-issues-list
{
"status": "active",
"orderBy": "users",
"orderDirection": "DESC",
"dateRange": { "date_from": "-24h" },
"limit": 20,
"volumeResolution": 24
}
Match volumeResolution to the window (24 buckets for -24h, 14 for -14d, etc.)
so each row's sparkline has enough resolution to show a spike vs flat steady state.
A single bucket only gives a total, not a shape.
For new-issues-only, run a parallel query with orderBy: "first_seen":
{
"status": "active",
"orderBy": "first_seen",
"orderDirection": "DESC",
"dateRange": { "date_from": "-24h" },
"limit": 10
}
If a project mixes browser and server SDKs, the top-by-users list is usually drowned
by server-side errors (each invocation often gets a fresh distinct_id). Narrow with
the library filter β values match the SDK's $lib, not the npm package name, examples:
webβ posthog-js (browser)posthog-node,posthog-python,posthog-ruby,posthog-go,posthog-php,posthog-java,posthog-elixirβ server SDKsposthog-edgeβ Cloudflare Workers / edge runtimeposthog-ios,posthog-android,posthog-react-native,posthog-flutterβ mobile
Step 3 β Filter the noise
The list will include known noise. Before presenting, drop or call out:
- Issues whose volume is flat over the window β they're not new, the user already lives with them. Surface them only if they're in the top by users.
- Bot-only issues β if all events come from headless browsers or crawler user agents,
flag for suppression (
suppressing-noisy-errors) instead of triage.
If unsure whether an issue is new vs. recurring, compare first_seen to the start
of the window:
first_seeninside the window β new, worth attentionfirst_seenweeks ago but spiking now β regression worth attentionfirst_seenweeks ago, flat volume β background noise
Step 4 β Add context for the top items
For the top 3-5 candidates, pull a sample exception so the summary includes a stack
frame and URL, not just a title. Use posthog:query-error-tracking-issue-events rather than
raw SQL β it returns normalized fields ($exception_types, $exception_values,
$current_url, browser/OS, $session_id) and defaults to onlyAppFrames: true to
strip vendor noise from the stack:
posthog:query-error-tracking-issue-events
{
"issueId": "<issue_id>",
"limit": 1,
"include": ["ex
FAQ
How many issues does it show?
It shows a short prioritized list, not every active issue, since most projects have hundreds.
What makes an issue high priority?
New issues from the last day or two, sudden spikes, and issues that affect many different users.
Can it show me what the user did?
Yes. It can find session replays of users who hit each issue.
Details
Original description by the author
Triage PostHog error tracking issues during a daily or on-call review. Use when the user asks "what's broken?", "what new errors do we have?", "show me top errors today", "what should I look at this morning", or wants a prioritized list of active issues to work on. Surfaces new and high-impact issues, ranks by users affected and recency, points at linked replays, and proposes next actions (investigate, assign, suppress, merge).
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6873
- 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
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.