Skip to main content
skill CX Codex

authoring-error-tracking-alerts — Claude Code skill: setup guide

authoring-error-tracking-alerts guides your agent in configuring PostHog error tracking notifications, selecting lifecycle triggers, and connecting them to Slack or webhooks.

no license 209 installs ★ 101 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a claude-code
Open on GitHub

What authoring-error-tracking-alerts does

This skill frames error notification setup as a routing workflow rather than a metrics task. The agent inspects existing alerts using posthog:error-tracking-alerts-list to prevent noisy duplicates before generating new rules. Alerts are written as HogFunctions via posthog:error-tracking-alerts-create.

Routing relies on three core lifecycle events: brand-new errors ($error_tracking_issue_created), regressions on resolved bugs ($error_tracking_issue_reopened), and abnormal volume spikes ($error_tracking_issue_spiking). Whenever instructions lack specifics, the agent defaults to spike alerts because they yield the highest signal-to-noise ratio.

It does not tune spike detector thresholds or monitor simple counts of $exception events. Those mechanics sit outside the exposed MCP tools. Operating this skill requires an active PostHog MCP connection configured with alert and integration management permissions.

What it helps with

  • route recurring PostHog exceptions to a specific Slack channel
  • scan existing internal destinations to avoid duplicate alerts
  • configure lifecycle-based notifications for newly opened issues
  • wire error spike warnings to a team webhook without notification flood

Example prompts for the agent

  • Set up a PostHog alert in Slack when error spikes happen in production
  • Notify me when this resolved issue gets reopened in PostHog
  • Audit existing PostHog error alerts before creating a new webhook route

How to install authoring-error-tracking-alerts

1Skills CLI (Vercel)

npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a claude-code

2Manually: put the files in place

~/.claude/skills/authoring-error-tracking-alerts/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/authoring-error-tracking-alerts/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about authoring-error-tracking-alerts

How to install authoring-error-tracking-alerts in Claude Code?

Run npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a claude-code in your terminal.

What does authoring-error-tracking-alerts do?

It guides coding agents to create PostHog error tracking notifications with the correct trigger events, channel lookups, and deduplication checks.

Can it adjust spike detection multiplier thresholds?

No, tuning spike detector parameters like thresholds and windows lives behind internal endpoints not exposed through MCP.

Similar skills

All skills for DevOps and infrastructure →

From the same set82

The whole set →
building-a-dashboard building-a-dashboard — a skill for Claude Code, Codex, and Cursor that builds and updates PostHog dashboards via MCP tools. Coordinates insight reuse and grid layout. CX Codex +1 208installs filtering-bot-traffic filtering-bot-traffic splits human traffic from bots and AI crawlers in PostHog. Use it to clean a metric or to see how much of the traffic runs on autopilot. CX Codex +1 208installs investigating-metric-anomalies investigating-metric-anomalies turns a PostHog Metrics symptom (rising lag, error spike, falling throughput) into a probable cause backed by logs and traces. CX Codex +1 206installs choosing-trend-or-slope-view choosing-trend-or-slope-view — a skill that settles what “change over time” means before a chart gets built: the full trend interval by interval, or only the gap between the two ends. CX Codex +1 204installs auditing-warehouse-source-health auditing-warehouse-source-health audits PostHog data warehouse sources and syncs to pinpoint broken connectors, failed schemas, and degraded webhooks. CX Codex +1 204installs signals-scout-product-analytics signals-scout-product-analytics — a skill for Claude Code and Codex monitoring core product analytics flows in PostHog. Detects derived-rate regressions across funnels and retention while entrant volume holds steady. CX Codex +1 204installs auditing-warehouse-view-health auditing-warehouse-view-health runs a project-wide check on PostHog materialized views: lists the ones that failed to refresh and points at materialized views nobody queries. CX Codex +1 204installs building-workflows building-workflows is a Claude Code skill for building, patching, and testing PostHog automation graphs over MCP before publishing them in the visual editor. CX Codex +1 204installs

Project sponsors

Companies that keep this analytics open