posthog

Automate PostHog analytics instrumentation for events, flags, and experiments.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/paxtone-io/openkodo --skill posthog-paxtone-io
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: posthog
Source: https://github.com/paxtone-io/openkodo/tree/main/plugins/kodo-posthog/skills/posthog
Command: npx skills add https://github.com/paxtone-io/openkodo --skill posthog-paxtone-io

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

PostHog analytics setup and governance consolidation across code, dashboards, and documentation. This Skill provides a unified approach to instrumenting products with PostHog, automating event tracking, feature flags, experiments, and Notion-based documentation, ensuring consistency from Day 1.

Core Features & Use Cases

  • Auto-triggers on phrases like "add analytics", "track event", "feature flag", "A/B test", "experiment", "session recording", and "rollout" to initiate instrumentation.
  • Slash commands for frontend and backend analytics tasks: /kodo ph-event, /kodo ph-flag, /kodo ph-experiment, /kodo ph-sync.
  • Notion documentation synchronization and MCP-driven governance for events, flags, experiments, and dashboards.
  • End-to-end instrumentation with autocapture, custom events, feature flags, experiments, and dashboards, with ongoing documentation.

Quick Start

Initialize instrumentation for a new project by enabling the PostHog skill and running the recommended kodo commands to set up events, flags, experiments, and Notion documentation.

Frequently Asked Questions about posthog

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

FAQPage Schema
How do I automate PostHog event tracking setup across frontend and backend codebases?

You can automate PostHog event tracking by using specific slash commands to initiate instrumentation, applying autocapture and custom events directly within your frontend and backend codebases for streamlined configuration.

What is the best way to manage feature flags and A/B testing experiments in PostHog?

Managing feature flags and A/B experiments in PostHog is handled through dedicated instrumentation commands that configure rollout parameters and experiment tracking, ensuring consistent feature governance across your environments.

Can I synchronize PostHog analytics definitions with Notion documentation?

Yes, PostHog analytics definitions can be synchronized with Notion documentation using MCP-driven governance, automatically aligning event tracking, flags, and dashboards with your Notion databases across environments.

Does PostHog instrumentation support both autocapture and custom event tracking?

PostHog instrumentation supports both autocapture and custom event tracking, allowing you to automatically collect default user interactions while defining specific custom events for comprehensive product analytics.

How do I enforce governance and alignment for analytics definitions during PostHog setup?

You enforce analytics governance during PostHog setup by utilizing MCP tooling and Notion databases to align your analytics definitions with actual implementations, ensuring consistent tracking across dashboards and environments.