skills/posthog/SKILL.md
PostHog all-in-one product analytics platform with feature flags, A/B testing, session replay, error tracking, surveys, and data pipelines. MANDATORY TRIGGERS: posthog, PostHog, product analytics, feature flags posthog, session replay, A/B testing posthog, experiment posthog, HogQL, posthog-js, posthog-node, posthog-python. Also trigger when user wants to add product analytics, track user events, run experiments, set up feature flags with analytics, capture session recordings, monitor errors, create in-app surveys, or build a data pipeline from product events. When in doubt about whether to use this skill for analytics or experimentation tasks, use it.
npx skillsauth add abhisheksharma-17/skills-graph posthogInstall 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.
All-in-one product analytics platform — event tracking, feature flags, experiments, session replay, error tracking, surveys, and data pipelines.
Source: posthog.com/docs | SDK: posthog-js / posthog-python / posthog-node | License: MIT (self-hosted) + Cloud
| Reference | File | Read When |
|-----------|------|-----------|
| Overview & Setup | references/00-overview.md | Getting started, installation, SDK setup, project configuration |
| Event Capture | references/01-event-capture.md | Capturing events, identify users, group analytics, properties |
| Product Analytics | references/02-product-analytics.md | Insights, trends, dashboards, breakdowns, formulas |
| Funnels & Paths | references/03-funnels-paths.md | Funnel analysis, conversion tracking, user path exploration |
| Retention & Cohorts | references/04-retention-cohorts.md | Retention insights, cohorts, lifecycle analysis, stickiness |
| Feature Flags | references/05-feature-flags.md | Creating flags, targeting, rollouts, multivariate flags, payloads |
| Experiments | references/06-experiments.md | A/B testing, multivariate experiments, statistical significance |
| Session Replay | references/07-session-replay.md | Recording sessions, configuration, privacy controls, mobile replay |
| Error Tracking | references/08-error-tracking.md | Exception capture, autocapture, source maps, issue monitoring |
| Surveys | references/09-surveys.md | In-app surveys, popover/API modes, targeting, question types |
| Data Pipelines | references/10-data-pipelines.md | CDP sources, destinations, transformations, batch exports |
| HogQL & Data Warehouse | references/11-hogql-data-warehouse.md | SQL access, HogQL syntax, external sources, data warehouse |
| SDKs & API | references/12-sdks-api.md | Python, Node.js, JavaScript, React SDKs, REST API reference |
# JavaScript / React (client-side)
npm install posthog-js
# React provider
npm install posthog-js @posthog/react
# Node.js (server-side)
npm install posthog-node
# Python (server-side)
pip install posthog
development
High-throughput LLM inference and serving engine with PagedAttention, continuous batching, and OpenAI-compatible API. MANDATORY TRIGGERS: vLLM, vllm, LLM serving, LLM inference engine, PagedAttention. Also trigger when the user wants to serve LLMs in production, deploy models with tensor parallelism, use speculative decoding, quantize models for inference, build OpenAI-compatible API servers, or optimize LLM throughput and latency. When in doubt about whether to use this skill for LLM serving tasks, use it.
tools
Type-safe Python agent framework for building production-grade GenAI applications with Pydantic validation, structured outputs, and dependency injection. MANDATORY TRIGGERS: pydantic-ai, pydantic_ai, PydanticAI, pydantic ai agent. Also trigger when the user wants to build type-safe AI agents in Python, create structured LLM outputs with Pydantic models, implement dependency injection for agents, use tools/capabilities with LLMs, or build multi-agent systems with Python type safety. When in doubt about whether to use this skill for Python AI agent tasks, use it.
development
Durable execution platform for building fault-tolerant workflows, long-running processes, and resilient distributed applications. MANDATORY TRIGGERS: temporal, temporal.io, temporalio, durable execution, workflow orchestration engine. Also trigger when the user wants to build fault-tolerant workflows, implement saga patterns, create long-running distributed processes, orchestrate microservices with retries and timeouts, or build durable AI agent pipelines. When in doubt about whether to use this skill for workflow orchestration or durable execution tasks, use it.
tools
AI framework for building RAG pipelines, agents, workflows, and data-augmented LLM applications with 300+ integrations. MANDATORY TRIGGERS: llamaindex, llama-index, llama_index, LlamaIndex, VectorStoreIndex, SimpleDirectoryReader, LlamaHub, LlamaParse. Also trigger when the user wants to build RAG applications with LlamaIndex, create document indexing pipelines, build agentic workflows with tool calling, implement structured data extraction from documents, or connect LLMs to custom data sources. When in doubt about whether to use this skill for RAG, document indexing, or LLM data augmentation tasks, use it.