Posthog Analytics
Analyze PostHog event data to identify trends, user behavior patterns, and potential areas for product improvement.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add posthog-analytics npx -- -y @trustedskills/posthog-analytics
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"posthog-analytics": {
"command": "npx",
"args": [
"-y",
"@trustedskills/posthog-analytics"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to interact with PostHog, a product analytics platform. It enables tracking user actions, analyzing event data, and gaining insights into user behavior within applications or websites. The agent can potentially query PostHog for specific events, cohorts of users, or trends in usage patterns.
When to use it
- Analyzing User Behavior: Investigate why a particular feature isn't being used as expected by querying event data.
- Troubleshooting Issues: Identify the root cause of user-reported problems by examining sequences of events leading up to the issue.
- A/B Testing Analysis: Determine which variant of an A/B test is performing better based on tracked metrics and user engagement.
- Reporting & Dashboards: Automatically generate reports or populate dashboards with key PostHog analytics data.
Key capabilities
- Event tracking
- User cohort analysis
- Data querying
- Metric monitoring
Example prompts
- "Show me the number of users who completed the signup flow in the last week."
- "What are the most common events triggered on the product details page?"
- "Find all instances where a user encountered an error while submitting a form."
Tips & gotchas
- Requires access to a PostHog project and API key. Ensure the agent has the necessary permissions within your PostHog account.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.