From posthog-pack
Diagnose and fix PostHog common errors and exceptions. Use when encountering PostHog errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "posthog error", "fix posthog", "posthog not working", "debug posthog".
How this skill is triggered — by the user, by Claude, or both
Slash command
/posthog-pack:posthog-common-errorsThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Quick reference for the top 10 most common PostHog errors and their solutions.
Quick reference for the top 10 most common PostHog errors and their solutions.
Check error message and code in your logs or console.
Match your error to one of the documented cases.
Follow the solution steps for your specific error.
Error Message:
Authentication error: Invalid API key
Cause: API key is missing, expired, or invalid.
Solution:
# Verify API key is set
echo $POSTHOG_API_KEY
Error Message:
Rate limit exceeded. Please retry after X seconds.
Cause: Too many requests in a short period.
Solution:
Implement exponential backoff. See posthog-rate-limits skill.
Error Message:
Request timeout after 30000ms
Cause: Network connectivity or server latency issues.
Solution:
// Increase timeout
const client = new Client({ timeout: 60000 }); # 60000: 1 minute in ms
set -euo pipefail
# Check PostHog status
curl -s https://status.posthog.com
# Verify API connectivity
curl -I https://api.posthog.com
# Check local configuration
env | grep POSTHOG
posthog-debug-bundleFor comprehensive debugging, see posthog-debug-bundle.
npx claudepluginhub nickloveinvesting/nick-love-plugins --plugin posthog-packDiagnoses and fixes common PostHog SDK errors: missing events, undefined feature flags, 401/429 auth failures, init issues, and identity problems.
Prioritizes and triages PostHog error tracking issues by recency, users affected, and trend spikes. Points to linked replays and suggests next actions.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.