.claude/skills/posthog-billing-diagnosis/SKILL.md
Diagnose PostHog billing, plan tier, and account access issues including feature entitlement mismatches, payment failures, upgrade/downgrade problems, and plan confusion. Determines when to handle in support vs escalate to the billing team.
npx skillsauth add mongo-ai/posthog-triage-agent posthog-billing-diagnosisInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
docs-search("billing plans pricing {specific symptom}")docs-search("support options plan features")contents/docs/billing/ in PostHog/posthog.com repoDetermine whether the issue is caused by:
| Symptom | Likely cause | Handle or escalate? | |---------|-------------|-------------------| | "Can't access [feature]" | Plan doesn't include it, or role restrictions | Handle — check plan tier + feature matrix | | "I upgraded but nothing changed" | Upgrade not propagated, or feature needs config | Handle — verify plan, guide setup | | "Charged wrong amount" | Billing calculation issue | Escalate to billing team | | "Double charged" | Payment processing issue | Escalate to billing team | | "Can't upgrade/downgrade" | UI bug or payment method issue | Handle first, escalate if stuck | | "My trial expired" | Expected behavior or timing question | Handle — explain trial terms | | "Invoice/receipt question" | Administrative | Escalate to billing team |
organization-details-get → plan, billing status, member count
projects-get → project settings, enabled features
If PostHog MCP is not available, ask the customer:
Run docs-search("pricing plans feature comparison") to get the current matrix.
Common feature gates by plan (verify against live docs — these change):
| Feature | Free | PAYG | Scale | Enterprise | |---------|------|------|-------|------------| | Group analytics | Limited | Yes | Yes | Yes | | Multivariate experiments | No | Yes | Yes | Yes | | Advanced paths | No | Yes | Yes | Yes | | Correlation analysis | No | Yes | Yes | Yes | | SSO/SAML | No | No | No | Yes | | Priority support | No | No | Yes | Yes | | Custom data retention | No | No | No | Yes |
IMPORTANT: Always verify this against live docs. PostHog changes pricing frequently.
If the customer says "I can't access X" — distinguish between:
Search GitHub:
gh search issues --repo PostHog/posthog "billing {symptom}" --limit 10gh search issues --repo PostHog/posthog "plan upgrade {symptom}" --limit 10Billing team escalation: Route to the billing team in Zendesk. PostHog handbook says billing is led by the billing engineering team. Add the billing engineer as a follower on the ticket and leave an internal note with what you've already investigated.
Billing conversations require extra care:
tools
Diagnose PostHog web analytics issues including missing pageviews, incorrect bounce rates, broken channel attribution, missing UTM data, reverse proxy problems, and discrepancies with other analytics tools.
business
Final synthesis skill. Produce a structured, evidence-graded triage report with a clear root-cause assessment, honest confidence, and a ready-to-send customer response.
tools
Normalize an incoming support ticket into structured investigation inputs: product area, identifiers, scope clues, URLs, timeframe, and likely first diagnostic path.
development
Diagnose PostHog survey issues including surveys not appearing, targeting mismatches, response collection failures, display timing problems, and API-mode survey integration issues.