suppressing-noisy-errors
What it does
This skill creates rules that stop PostHog from recording errors you cannot fix, such as those caused by browser extensions or bots. It is for teams who want to cut noise and reduce cost.
When to use it
- βWhen browser extension errors fill your error list and you cannot fix them.
- βWhen bot or crawler traffic is creating many useless error reports.
- βWhen an error is harmless but very frequent, and you want to cut its cost without losing all visibility.
Skill link
https://github.com/PostHog/posthog/blob/master/products/error_tracking/skills/suppressing-noisy-errors/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
βStop recording ResizeObserver loop errors and the errors coming from browser extensions.β
5 new skills a week. 1 minute to read.
How it works
It finds the noisy errors, then writes a narrow filter that drops only the matching events before they become issues. For frequent but useful errors, it can lower the sampling rate instead.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Suppressing noisy errors
Suppression is destructive in spirit: matching events are dropped at ingestion and never become issues. The wrong rule silently throws away real bugs. This skill exists to make sure suppression is applied only to patterns that are genuinely unactionable, with filters narrow enough to avoid swallowing unrelated errors.
When suppression is the right tool
Suppression is the right tool when an error is:
- Unactionable from your code β browser extensions, third-party scripts, ad blockers, network beacons firing after navigation. You can't fix it because you didn't write it.
- Browser engine quirks β
ResizeObserver loop limit exceeded,Script error.,Non-Error promise rejection capturedwith empty payloads. - Bot or crawler traffic β errors firing only from headless browsers or known crawler user agents.
- Sampling already enough β for high-volume but real errors, dampen with
sampling_rateinstead of full suppression so you keep visibility without paying full cost.
Suppression is not the right tool when:
- The error is unactionable today but might become actionable after a fix β
use issue status
archivedorresolvedinstead so it surfaces if it returns. - You only want to mute notifications β assign the issue to a user, change its status, or use notification rules.
- The error is a duplicate of another β merge or create a grouping rule
(
grouping-noisy-errors).
Available tools
| Tool | Purpose |
|---|---|
posthog:query-error-tracking-issues-list |
Find suppression candidates by volume and impact; dry-run a candidate filter via filterGroup |
posthog:query-error-tracking-issue-events |
Inspect sampled $exception events to confirm the pattern |
posthog:execute-sql |
Fallback dry-run for filters that need OR groups or operators outside the filterGroup allowed list |
posthog:error-tracking-suppression-rules-list |
Check existing suppression rules |
posthog:error-tracking-suppression-rules-create |
Create the suppression rule |
posthog:error-tracking-issues-partial-update |
Hide past data via issue status without dropping events at ingestion |
Workflow
Step 1 β Identify candidates
High occurrences with low distinct users is the strongest noise signal β one user (or one bot) producing many events.
posthog:query-error-tracking-issues-list
{
"status": "active",
"orderBy": "occurrences",
"orderDirection": "DESC",
"dateRange": { "date_from": "-7d" },
"limit": 30,
"volumeResolution": 0
}
Look for:
- High
occurrences, lowusersratio (e.g., 50,000 occurrences, 3 users β likely bot or extension loop) - Exception messages matching known noise patterns:
ResizeObserver loop,Script error., extension namespaces (chrome-extension://,moz-extension://,safari-extension://) - Stack traces dominated by third-party domains the user doesn't control
Step 2 β Confirm the pattern
For each candidate, pull a sample of $exception events and check that the
pattern matches what you intend to suppress:
posthog:query-error-tracking-issue-events
{
"issueId": "<candidate_issue_id>",
"limit": 10,
"include": ["exception", "stacktrace", "environment", "navigation"]
}
onlyAppFrames defaults to true, but for noise investigation you usually
want the third-party frames visible β pass onlyAppFrames: false so extension
URLs and vendor domains show up in the stack.
Confirm:
- The exception type or message text is consistent across the sample
- The URLs / user agents / browsers don't include real user traffic mixed in with the noise
- Suppressing this pattern won't hide a future real bug that happens to share the type
If any sample doesn't match, narrow the filter or skip the candidate.
Step 3 β Scope the filter tightly
Suppression rules are configured with the same filter shape as grouping rules. The `e
FAQ
Can suppression hide real bugs?
Yes, if the filter is too broad. The skill keeps filters tight so unrelated errors are not dropped.
Is there a way to hide an error without dropping it?
Yes. Archiving or resolving an issue keeps it visible if it returns, and changing its assignee or notifications only changes who is alerted.
What is sampling?
It records only a share of matching events, so you keep some visibility while paying less.
Details
Original description by the author
Create PostHog error tracking suppression rules to drop high-volume, low-value errors at ingestion. Use when the user asks "stop capturing this error", "drop browser extension errors", "ignore ResizeObserver loops", "suppress bot-driven errors", or wants to reduce ingestion cost from noisy unactionable errors. Identifies suppression candidates, scopes the filter tightly, decides between full suppression and sampling, and confirms the rule before creating it. Suppressed errors are dropped permanently β this skill defaults to caution.
repo: PostHog/posthog
Popularity
- GitHub stars
- 41k
- Ranking position
- #6872
- 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.