Catalogue / posthog-product-evidence
posthog-product-evidence
Older skill: source not recordedSignedUses available PostHog tools to investigate product behavior, funnels, retention, adoption, errors, dashboards, and experiments. Use for scoped product analytics and SaaS health questions. Do not use for inventing event meanings, treating correlation as causation, or changing live dashboards and exp…--- name: posthog-product-evidence description: >- Uses available PostHog tools to investigate product behavior, funnels, retention, adoption, errors, dashboards, and experiments. Use for scoped product analytics and SaaS health questions. Do not use for inventing event meanings, treating correlation as causation, or changing live dashboards and experiments without approval. ---
Establish product and data meaning
Read existing .claude/product-context.md. Fill only missing context: product purpose, target users, value-producing actions, conversion definitions, and business priorities. Inspect the actual available PostHog tool schemas and selected project; historical tool names below are capability contracts to verify, not proof that every connector exposes the same schema.
Discover events with event-definitions-list, properties with properties-list, existing insights with insights-get-all, and dashboards with dashboards-get-all. Query within the user's authorized project/data scope. Minimize identifiable data and do not export raw user records to answer an aggregate question.
Prepare this original context structure for review; obtain explicit confirmation before persisting it or changing any external state:
# Product measurement context Product and intended customers: Core customer value and north-star definition: | Event | Observed meaning | Value/conversion role | Known limitations | |-------|------------------|-----------------------|-------------------| | [Actual event] | [Verified meaning] | [Purpose] | [Limits] | Important event/person properties and values: Primary and secondary metrics with denominator/time windows: Activation and revenue funnels with ordered steps/window: Data-quality, identity, timezone, and consent assumptions: Last verified: [date]
Recording context, creating/reordering dashboards, saving insights, setting alerts, altering flags, creating/ramping/stopping experiments, or shipping a variant requires explicit confirmation of exact scope. Notifications require recipient/message approval. The owner supplies verified installed integrations; do not download or execute remote tooling.
Translate the question into a query
- Use TrendsQuery for counts, unique active users, changing volumes, feature use, and property breakdowns.
- Use FunnelsQuery for ordered conversions and step loss. Use verified retention query capabilities for cohorts; do not manufacture a retention schema absent from the installed tool.
math=totalcounts events, while dau/weekly_active/monthly_active count active users under the platform definition.- Other documented math choices are unique_session, avg, sum, min, max; numeric aggregations need the actual numeric property/denominator contract, not just a math label.
An original local builder provides complete trend/funnel shapes based on verified event names. Inspect the connector schema before sending:
ALLOWED_MATH={'total','dau','weekly_active','monthly_active','unique_session','avg','sum','min','max'}
def trend(events,days=30,interval='day',math='total',property_name=None,property_type='person'):
if not events or days<1 or math not in ALLOWED_MATH or interval not in ('day','week'):
raise ValueError('Invalid trend inputs')
source={'kind':'TrendsQuery','dateRange':{'date_from':f'-{days}d'},'interval':interval,
'series':[{'kind':'EventsNode','event':event,'custom_name':event,'math':math} for event in events]}
if property_name:
if property_type not in ('event','person'):raise ValueError('Unknown property type')
source['breakdownFilter']={'breakdown':property_name,'breakdown_type':property_type}
return {'kind':'InsightVizNode','source':source}
def funnel(steps,days=30,window_days=7):
if len(steps)<2 or days<1 or window_days<1:raise ValueError('Invalid funnel inputs')
return {'kind':'InsightVizNode','source':{'kind':'FunnelsQuery',
'dateRange':{'date_from':f'-{days}d'},
'series':[{'kind':'EventsNode','event':event,'custom_name':event} for event in steps],
'funnelsFilter':{'funnelWindowInterval':window_days,'funnelWindowIntervalUnit':'day'}}}query-run accepts the actual query shape required by the connector. The documented default exploratory horizon is 30 days, daily/weekly grouping, and a 7-day conversion window; adjust to the product's real buying/activation cycle. A 90-day weekly north-star/WAU trend gives longer context. Apply event/person breakdownFilter only where supported; cohort comparisons may require cohort-specific filters rather than pretending a cohort is an ordinary property.
Before interpretation, check event coverage, duplicate events, identity merging, bots/internal traffic, timezone, missing properties, denominator definitions, and incomplete recent cohort windows. A pageview is not always a meaningful active-value event.
Run a complete discovery pass
- Compare 30-day event volumes, DAU/WAU/MAU, and key conversion trends for magnitude and timing of changes.
- Inspect the activation sequence and, where applicable, trial-to-paid funnel; locate the largest step loss and changed conversion windows.
- Compare week-over-week retention cohorts and curve shape; distinguish recent cohorts still maturing from genuinely poorer retention.
- Break feature usage down by relevant segments, adoption rate, engagement depth, and power-user patterns. Underuse can reflect eligibility or discovery rather than lack of value.
- Use
list-errorsfor frequent failures, thenerror-detailsto examine affected journeys and severity. Counts alone do not establish user impact or root cause.
For each finding, report a concise claim, specific measured evidence with date range/sample/denominator, business or user consequence, and a proposed action with uncertainty. Prioritize measurable impact; do not call a correlation causal.
For “how many users,” select user-count math; for “what percentage convert” or “where do they drop,” use a consistent funnel; for “which feature,” compare eligible-user usage; for time changes, choose day/week intervals; for power users, define the threshold before breakdown; for errors, connect frequency to the affected flow.
SaaS measurement and diagnosis
Choose a north-star metric reflecting delivered value: active collaboration, successful builds/deployments, useful content production/consumption, or completed marketplace transactions according to product purpose. Track acquisition through pageviews, signups, landing-to-signup rate, and actual utm_source/referring-domain coverage. Activation can be first creation, onboarding completion, invited collaborator, connected integration, or repeated core use; validate that it predicts value rather than assuming every setup step does.
- Track DAU/MAU with consistent definitions/windows, eligible-user feature adoption, D7/D30 and W1/W4/W12 retention, trial-to-subscription conversion, subscription-to-upgrade conversion, upgrades/add-ons, and declining usage as a potential churn signal.
- Upgrade event counts are not expansion revenue unless monetary value is measured.
- Invitation acceptance is not a viral coefficient: a defensible coefficient is invitations per participating user multiplied by recipient conversion under a defined window.
- Financial payback requires real acquisition-cost and contribution-margin data.
For funnel deterioration, segment by plan/source/device, locate onset and lost step, compare release timing, and inspect errors. For retention decline, compare new/old cohorts, affected user types, retained-user feature associations, and journey errors. For growth slowdown, distinguish acquisition, activation, referral/invitation behavior, and channel shifts.
W1 retention below 40%, steep W1→W4 decline, and a low flat curve are diagnostic prompts, not universal proof of activation, feature-depth, or growth causes. The following historical monitoring thresholds require baseline variability, traffic sufficiency, seasonality, and agreed relative-versus-percentage-point definitions before implementation:
| Signal | Review threshold | Escalation threshold | |--------|------------------|----------------------| | DAU, week over week | −10% | −20% | | Activation versus baseline | −5% | −10% | | Sessions affected by errors | >1% | >5% | | Core funnel conversion | −10% | −20% |
Prepare alert rules and recipients for explicit approval; threshold crossing is evidence to investigate, not automatic rollback authority.
Build dashboards from verified questions
Prepare names, tile queries, order, definitions, and access scope first. After explicit approval, use dashboard-create, execute query-run, save through insight-create-from-query, attach with add-insight-to-dashboard, and order with dashboard-reorder-tiles. Verify actual returned IDs and final saved layout; never confuse a query preview with a saved insight.
- Executive: DAU/WAU/MAU, 90-day WAU, 30-day signups/activation, W1/W4 retention, core conversion, trial conversion, and actual revenue where available.
- Product health: adoption and depth, top 10 feature usage, events per session, defined power-user percentage, core journey completion, errors by feature and trend.
- Growth: landing-to-signup and signup-to-value funnels, traffic source, onboarding completion, correctly defined referral coefficient, and justified payback indicators.
Use the same event/identity definitions across tiles. A feature-adoption matrix can compare actual feature event series over 30 days with dau math; a plan/source cohort chart can use person-property breakdown after verifying coverage. Avoid overcrowding a dashboard with measures that do not change a decision.
Design and read experiments safely
- State the intervention, expected direction/amount, supporting observation, primary metric, guardrails, sample/MDE, and duration.
- Inspect existing flags with
feature-flag-get-all; reuse only when exposure/collision semantics permit. - Validate measurable events with
event-definitions-list. - Prepare
experiment-createfields according to installed schema: descriptive name, flag key, funnel or mean primary metrics, secondary/guardrail metrics, variants, and any approved holdout.
Conversion experiments can test a simpler reservation flow with completion as primary and verified booking quality as guardrail. Engagement tests can improve discovery with meaningful feature events per user and task completion as guardrail. Pricing tests can emphasize an annual option while preserving overall subscription conversion and checking refunds/revenue. These are illustrative hypotheses, not predicted wins.
- Documented funnel metric fields are metric_type=funnel, event_name, and ordered funnel_steps; mean metrics use metric_type=mean and event_name with the actual platform numeric aggregation/denominator configuration.
- Verify these contracts rather than sending a superficially valid incomplete metric.
- A/B allocations 50/50 and three-arm 34/33/33 are starting options, with sticky assignment and appropriate multiple-comparison handling.
holdout_ididentifies a supported holdout cohort; verify what it excludes rather than assuming it automatically removes every concurrent experiment.
A 30% MDE preset is not automatically reasonable: choose the smallest business-relevant effect supported by available sample. One to two weeks is a calendar-coverage planning minimum, not a guarantee of sufficient power. Define the fixed-horizon or sequential/Bayesian decision method and monitoring policy before launch. Guard against peeking, too many arms, weak proxies, exploratory segment cherry-picking, and novelty effects.
Use experiment-results-get only when available and inspect sufficient sample, method-appropriate evidence (p<0.05 applies only to the chosen frequentist rule), meaningful effect, intervals, segment consistency, and guardrail harm.
Preview shortened. The full SKILL.md is in the pack.
| File | Size | SHA-256 |
|---|---|---|
| SKILL.md | 12.9 kB | 96b63eea1c3d |
| examples.json | 2.0 kB | 29cdfaae0bca |
Published verbatim from the pinned commit. Nothing is rewritten.
| Version | Pinned commit | Signed | |
|---|---|---|---|
| 1.0.0 Current | Not recorded | 2 Oct 2026 |
Locking a skill to one version needs Pro.