authoring-error-tracking-alerts

authoring-error-tracking-alerts is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 81 tokens per session (2,122 once invoked), scanned A, original, MIT.

A guide to creating alerts for error-tracking events, such as a new issue, a reopened issue, or a sudden increase in errors. It helps route those alerts to destinations such as Slack, webhooks, or Linear.

In plain words
What is it for?
Use it to choose alert triggers, configure destinations, and set up notifications for recurring or increasing application errors.
Why use it?
It turns error events into notifications for the people or systems that can respond, while avoiding duplicate alerts.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to choose alert triggers, configure destinations, and set up notifications for recurring or increasing application errors.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/authoring-error-tracking-alerts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/posthog-foss --skill authoring-error-tracking-alerts
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for authoring-error-tracking-alerts

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/authoring-error-tracking-alerts/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/authoring-error-tracking-alerts)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/authoring-error-tracking-alerts"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/authoring-error-tracking-alerts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for authoring-error-tracking-alerts

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/authoring-error-tracking-alerts"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/authoring-error-tracking-alerts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,122 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Prompt Injection · line 50
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.02122
Opus 5 $0.00041 $0.01061
Sonnet 5 $0.00016 $0.00424
Haiku 4.5 $0.00008 $0.00212

Measured 6d ago against content hash 0e969bc8f472, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

authoring-error-tracking-alerts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

products/error_tracking/skills/authoring-error-tracking-alerts/SKILL.md · 182 lines

How it starts

The opening of the file, as written. The whole thing — 182 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Authoring error tracking alerts

Authoring an error tracking alert is a routing problem, not a measurement problem. The trigger events already exist and fire on real conditions in the ingestion pipeline — your job is to pick the right trigger for the user's intent, dedupe against what's already configured, and wire a destination they can actually act on.

When to use this skill

  • The user asks to set up alerts / notifications for errors or exceptions in their project.
  • The user wants a starter set of alerts after enabling error tracking.
  • The user pastes an issue link and asks "notify me when this happens again" — usually _reopened with a per-issue property filter.

When not to use this skill

  • Tuning the spike detector itself (multiplier, window, threshold). That lives behind the spike detection config endpoint and is not exposed via MCP today.
  • Investigating an active incident — query the issue / its events directly via posthog:query-error-tracking-issue and posthog:query-error-tracking-issue-events instead of authoring more alerts mid-fire.
  • Configuring volume-threshold alerts (count of $exception events over a window). That's a logs-style alert and is not in scope here — error tracking alerts ride the lifecycle events instead.

Tools

Tool Job Where it fits
posthog:error-tracking-alerts-list List existing alerts; dedupe before creating. Step 2 — dedupe.
posthog:integrations-list Find the user's Slack workspace id (filter by kind=slack). Step 3 — pick channel.
posthog:integrations-channels-retrieve List Slack channels for a workspace. Step 3 — pick channel.
posthog:error-tracking-alerts-create Create the alert (HogFunction with type=internal_destination). Step 4 — ship.
posthog:error-tracking-alerts-partial-update Toggle, rename, or modify an existing alert. When tuning, not authoring.
posthog:error-tracking-alerts-delete Soft-delete an alert. When the user says "remove".

Read the full file on GitHub · 182 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 182 lines · 81 tokens per session scan A 0e969bc8f472

Subscribe to this mod's changes

authoring-error-tracking-alerts is a skill published in the GitHub repository PostHog/posthog-foss (714 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 2,122 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

material-ui-nextjs

Integrates Material UI with Next.js App and Pages routers using @mui/material-nextjs, Emotion cache providers, next/font, CSS layers with Tailwind/CSS Modules, Link component prop patterns, CSS theme variables SSR notes, and App Router useSearchParams + Suspense. Use when setting up or debugging MUI in a Next.js app.

mui/material-ui · 76 tokens

RootCauseAnalysis

Structured incident investigation using Five Whys, Fishbone, blameless Postmortem, Fault Tree, Kepner-Tregoe, and FMEA — traces failures to systemic root causes rather than blaming humans. USE WHEN root cause, RCA, 5 whys, fishbone, postmortem, incident analysis, fault tree, why does this keep failing, blameless…

danielmiessler/LifeOS · 93 tokens

Vitals

Read-only macOS performance inspection: a deterministic CLI gathers the numbers, Interpretation.md turns them into a diagnosis instead of a data dump.

danielmiessler/LifeOS · 179 tokens

benchmark-workflow

Run, diagnose, or change Xberg extraction benchmarks, quality scoring, benchmark fixtures, artifact contracts, and independently sourced ground truth. Load for the Benchmarks workflow or benchmark-harness work, not ordinary unit tests.

xberg-io/xberg · 47 tokens

verified-script-execution

Fallback workflow for reliable file creation and verification when automated code execution fails.

HKUDS/OpenSpace · 18 tokens

verify-success-after-unknown-error

Verify task completion by checking filesystem state when executecodesandbox or runshell return misleading unknown errors.

HKUDS/OpenSpace · 26 tokens