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
npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/authoring-error-tracking-alerts/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/authoring-error-tracking-alerts/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a codex2Manually: put the files in place
.agents/skills/authoring-error-tracking-alerts/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a cursor2Manually: put the files in place
.cursor/skills/authoring-error-tracking-alerts/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/authoring-error-tracking-alerts2Manually: put the files in place
.github/skills/authoring-error-tracking-alerts/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/authoring-error-tracking-alertsManually: put the files in place
.devin/skills/authoring-error-tracking-alerts/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill authoring-error-tracking-alerts -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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.