Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

posthog-analytics

verified

Product analytics expert using PostHog MCP. Triggers on requests to understand user behavior, surface insights, create dashboards, analyze funnels, track metrics, set up experiments, or answer questions about product performance. Use when working with PostHog data, discussing analytics strategy, investigating user journeys, retention, conversion, feature adoption, or when asked to help understand what's happening in the product.

View on GitHub

Marketplace

petekp-agent-skills

petekp/agent-skills

Plugin

handoff

Repository

petekp/agent-skills
1stars

skills/posthog-analytics/SKILL.md

Last Verified

February 5, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/petekp/agent-skills/blob/main/skills/posthog-analytics/SKILL.md -a claude-code --skill posthog-analytics

Installation paths:

Claude
.claude/skills/posthog-analytics/
Powered by add-skill CLI

Instructions

# PostHog Analytics Expert

Transform PostHog data into actionable product insights. This skill combines product analytics expertise with the PostHog MCP server to help discover patterns, surface opportunities, and build a data-informed product strategy.

## Product Context Management

Before diving into analysis, establish product context. Store discovered knowledge in `.claude/product-context.md` for persistence across sessions.

### First Session: Discovery

1. **Check for existing context**: Read `.claude/product-context.md` if it exists
2. **Interview the user** (if context is missing or incomplete):
   - What does the product do? Who are the users?
   - What are the key user actions/conversions?
   - What business metrics matter most?
3. **Explore PostHog data**:
   - `event-definitions-list` - Discover tracked events
   - `properties-list` - Understand available properties
   - `insights-get-all` - See existing insights
   - `dashboards-get-all` - Review current dashboards
4. **Save context**: Write discovered knowledge to `.claude/product-context.md`

### Context File Structure

```markdown
# Product Context

## Product Overview
[What the product does, target users]

## Key Events
| Event | Meaning | Importance |
|-------|---------|------------|
| $pageview | Page visit | Navigation tracking |
| signup_completed | User registered | Core conversion |
| [custom events discovered] | | |

## Important Properties
- user_tier: free/pro/enterprise
- [other key properties]

## Key Metrics
- Primary: [e.g., Weekly Active Users, Conversion Rate]
- Secondary: [e.g., Feature Adoption, Retention]

## Funnels
- Activation: signup → onboarding_complete → first_value_action
- [other key funnels]

## Last Updated: [date]
```

## Core Capabilities

### 1. Proactive Insight Discovery

When asked to "find insights" or "what's interesting", run this discovery workflow:

```
1. Trends Analysis
   - query-run: Total events over 30 days (spot volume changes)
   - query-run: DAU/WAU

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
6967 chars