modeling-product-usage-metrics
Build reusable product-usage and engagement models — retention, stickiness, and lifecycle — on either PostHog data-warehouse views (HogQL) or an external dbt project. Use when the user wants to model, define, or compute whether users come back (retention / churn), how frequently they engage (stickiness / power users / DAU-WAU-MAU ratio), or the composition of the active base (new / returning / resurrecting / dormant lifecycle). These three are one engagement family sharing a start-event/return-event vocabulary and an interval granularity; this skill treats them together and helps pick the right lens: retention for the return-rate cohort matrix, stickiness for the frequency distribution, lifecycle for growth quality. On PostHog, model them in HogQL (mirroring query-retention / query-stickiness / query-lifecycle); in dbt, build fct_retention / fct_stickiness / fct_lifecycle marts with tests. Read modeling-warehouse-foundations first; feeds the retention validation used by modeling-activation-metrics.
Pinned to revision 4e8964e24a5a, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/modeling-product-usage-metrics/SKILL.md
- skills/modeling-product-usage-metrics/references/dbt/fct_lifecycle.sql
- skills/modeling-product-usage-metrics/references/dbt/fct_retention.sql
- skills/modeling-product-usage-metrics/references/dbt/fct_stickiness.sql
- skills/modeling-product-usage-metrics/references/dbt/schema.yml
- skills/modeling-product-usage-metrics/references/posthog/lifecycle.sql
- skills/modeling-product-usage-metrics/references/posthog/retention_matrix.sql
- skills/modeling-product-usage-metrics/references/posthog/stickiness.sql
- skills/modeling-product-usage-metrics/references/usage-metric-definitions.md
Every link opens the file at its source, pinned to the revision this page describes.