posthog

Implement product analytics, feature flags, A/B testing, and session recordings with PostHog.

6|1|Updated Feb 27, 2026
One-click install
npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill posthog-repairyourtech
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: posthog
Source: https://github.com/RepairYourTech/cfsa-antigravity/tree/main/.agent/skill-library/stack/monitoring/posthog
Command: npx skills add https://github.com/RepairYourTech/cfsa-antigravity --skill posthog-repairyourtech

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables comprehensive product analytics, including event tracking, user identification, feature flagging, A/B testing, and session recordings, to deeply understand user behavior and optimize product development.

Core Features & Use Cases

  • Event Tracking: Monitor user interactions and custom events within your application.
  • Feature Flags & A/B Testing: Control feature rollouts and run experiments to test hypotheses.
  • User & Group Identification: Understand user journeys and organizational usage patterns.
  • Session Recordings: Debug issues and analyze user experience through recorded sessions.

Quick Start

Initialize PostHog with your project's API key and host.

Frequently Asked Questions about posthog

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement event tracking and user identification for web and mobile applications?

Event tracking and user identification capture interactions and custom events within your application. This enables you to monitor user journeys and organizational usage patterns for data-driven product decisions.

How does A/B testing work with feature flags?

Feature flags control feature rollouts and run experiments to test hypotheses. This allows you to manage A/B testing by selectively enabling functionality for specific user groups.

Can I use session recordings to debug user behavior issues?

Session recordings debug issues and analyze user experience through recorded sessions. They provide visibility into user behavior to help optimize product development.

Do I need a specific framework to initialize product analytics?

You initialize product analytics by configuring your project's API key and host. The implementation supports both client-side and server-side integrations for web and mobile applications.

What is the best way to trigger surveys based on user behavior?

Survey triggers are facilitated by monitoring user interactions and custom events through event tracking. This allows you to target data collection based on specific user behavior.