[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-formatting-insight-axes":3,"mdc-yjfl4e-key":37,"related-repo-posthog-formatting-insight-axes":2167,"related-org-posthog-formatting-insight-axes":2280},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":32,"sourceUrl":35,"mdContent":36},"formatting-insight-axes","configure y-axis units for PostHog insights","Pick the right y-axis unit when creating or updating a TrendsQuery insight via `posthog:insight-create` or `posthog:insight-update`. Use when the agent is about to add a `formula` purely to convert units (e.g. dividing seconds by 60 to display minutes), when a `math_property` is a duration, currency, ratio, or large count, or whenever the user mentions \"format the y-axis\", \"duration\", \"seconds\", \"minutes\", \"hours\", \"milliseconds\", \"ms\", \"percentage\", \"currency\", \"decimals\", \"axis label\", or \"axis unit\" in the context of a graph insight.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"posthog","PostHog","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fposthog.png",[12,16,19,20,23],{"name":13,"slug":14,"type":15},"Dashboards","dashboards","tag",{"name":17,"slug":18,"type":15},"Data Visualization","data-visualization",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"Charts","charts",{"name":24,"slug":25,"type":15},"Analytics","analytics",56,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fskills","2026-05-16T06:10:17.011976",null,4,[],{"repoUrl":27,"stars":26,"forks":30,"topics":33,"description":34},[],"PostHog skills (under construction)","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fomnibus\u002Fformatting-insight-axes","---\nname: formatting-insight-axes\ndescription: >\n  Pick the right y-axis unit when creating or updating a TrendsQuery insight\n  via `posthog:insight-create` or `posthog:insight-update`. Use when the agent\n  is about to add a `formula` purely to convert units (e.g. dividing seconds\n  by 60 to display minutes), when a `math_property` is a duration, currency,\n  ratio, or large count, or whenever the user mentions \"format the y-axis\",\n  \"duration\", \"seconds\", \"minutes\", \"hours\", \"milliseconds\", \"ms\",\n  \"percentage\", \"currency\", \"decimals\", \"axis label\", or \"axis unit\" in the\n  context of a graph insight.\n---\n\n# Formatting insight axes\n\nPostHog renders TrendsQuery insights with a built-in axis formatter. Use it\ninstead of contorting `formula` or `aggregationAxisPostfix` to fake units.\n\n## The anti-pattern\n\nIf you are reaching for any of these, stop and pick a format below first:\n\n- `formula: \"A \u002F 60\"` with `aggregationAxisPostfix: \" mins\"` — manual seconds -> minutes\n- `formula: \"A \u002F 1000\"` with `aggregationAxisPostfix: \" s\"` — manual ms -> seconds\n- `formula: \"A * 100\"` with `aggregationAxisPostfix: \"%\"` — manual ratio -> percent\n- `aggregationAxisPostfix: \"ms\"` \u002F `\"s\"` \u002F `\"min\"` \u002F `\"hr\"` on raw values\n\nThese freeze the unit at one scale. The built-in formatter picks a friendly\nunit per value (1.5s, 2m 12s, 1h 4m) and keeps the underlying series numerically\ncorrect for further math, breakdowns, and alerts.\n\n## Available formats\n\nSet `trendsFilter.aggregationAxisFormat` on the TrendsQuery:\n\n| Value               | Use when the series is...                | Renders as                  |\n| ------------------- | ---------------------------------------- | --------------------------- |\n| `numeric` (default) | a plain count                            | `1,234`                     |\n| `duration`          | **seconds** (any scale)                  | `45s`, `2m 12s`, `1h 4m`    |\n| `duration_ms`       | **milliseconds**                         | `850ms`, `1.5s`, `1m 4s`    |\n| `percentage`        | already 0-100                            | `47.3%`                     |\n| `percentage_scaled` | a ratio 0-1                              | `47.3%`                     |\n| `currency`          | money in the **project's base currency** | `$1,234.56` (or local code) |\n| `short`             | large counts you want compacted          | `1.2K`, `3.4M`              |\n\nCompanion fields on `trendsFilter`:\n\n- `aggregationAxisPrefix` — literal prefix (e.g. `\"$\"`) when you need a symbol\n  pinned to a specific currency or unit, regardless of project settings\n- `aggregationAxisPostfix` — literal suffix; reserve for genuine units the\n  format can't express (e.g. `\" req\"`, `\" events\"`), never for `\"mins\"` \u002F\n  `\"s\"` \u002F `\"%\"` — the percentage formats already append the `%` sign, so a\n  `\"%\"` postfix renders `50%%`\n- `decimalPlaces` — cap decimals (1 or 2 is usually right for currency \u002F ratios)\n\n### Currency — pick `format` or `prefix` carefully\n\n`aggregationAxisFormat: \"currency\"` renders with the **project's base currency**\n(set in project settings, defaults to USD). Use it when the underlying values\nare in that same currency — e.g. revenue events that PostHog auto-converts to\nthe project's base currency.\n\nIf the values are pinned to a specific currency regardless of project (e.g.\n`$ai_total_cost_usd` is always USD, even on a EUR-base project), use\n`aggregationAxisPrefix: \"$\"` + `decimalPlaces: 2` so the symbol matches the\ndata. Using `format: \"currency\"` here would render USD values with `€` on a\nEUR project.\n\n## When the series is in seconds\n\nIf the series is in seconds (latency, session length, time-to-first-event,\nprocessing time, page load, etc.), silently default to\n`aggregationAxisFormat: \"duration\"`. Do not stop to ask — the formatter is\nnon-destructive (the underlying values stay in seconds either way, only the\nlabels change), so picking it is always at least as good as raw seconds.\n\nOnly confirm with the user when they have **explicitly** named a fixed unit\nthey want pinned (\"show this in minutes\", \"graph the average in hours\"):\n\n> \"I can pin the y-axis to minutes by dividing the series by 60, or use\n> PostHog's `duration` formatter which auto-picks seconds \u002F minutes \u002F hours\n> per value — `90s` renders as `1m 30s` and `5400s` as `1h 30m`. Which would\n> you prefer?\"\n\nIn one-shot MCP contexts where no user is in the loop, just pick `duration`\nand move on.\n\n## Examples\n\n### Latency — duration in milliseconds\n\n```json\n{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"$pageview\",\n      \"math\": \"p95\",\n      \"math_property\": \"$performance_page_loaded\"\n    }\n  ],\n  \"trendsFilter\": {\n    \"aggregationAxisFormat\": \"duration_ms\"\n  }\n}\n```\n\n### Average session length — duration in seconds\n\n```json\n{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"$pageleave\",\n      \"math\": \"avg\",\n      \"math_property\": \"$session_duration\"\n    }\n  ],\n  \"trendsFilter\": {\n    \"aggregationAxisFormat\": \"duration\"\n  }\n}\n```\n\n### Revenue — currency in the project's base currency\n\n```json\n{\n  \"trendsFilter\": {\n    \"aggregationAxisFormat\": \"currency\",\n    \"decimalPlaces\": 2\n  }\n}\n```\n\n### Fixed-currency value (e.g. LLM cost in USD) — pin the symbol\n\n```json\n{\n  \"trendsFilter\": {\n    \"aggregationAxisPrefix\": \"$\",\n    \"decimalPlaces\": 2\n  }\n}\n```\n\n### Conversion rate — percentage from a 0-1 formula\n\n```json\n{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"checkout_completed\",\n      \"math\": \"dau\"\n    },\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"checkout_started\",\n      \"math\": \"dau\"\n    }\n  ],\n  \"trendsFilter\": {\n    \"formula\": \"A \u002F B\",\n    \"aggregationAxisFormat\": \"percentage_scaled\",\n    \"decimalPlaces\": 1\n  }\n}\n```\n\n## Updating an existing insight\n\nIf you are updating an insight and notice it already uses the\n`formula`\u002F`postfix` anti-pattern, fix it in the same `posthog:insight-update`\ncall — drop the divide-by-N, drop the `aggregationAxisPostfix`, and set the\nmatching `aggregationAxisFormat`. The series values stay the same, only the\nlabels change. Do not go scanning unrelated insights for this pattern —\nfix only the ones you are already touching.\n",{"data":38,"body":39},{"name":4,"description":6},{"type":40,"children":41},"root",[42,50,73,80,85,178,183,189,202,470,483,584,606,623,668,674,687,699,747,759,765,771,1117,1123,1423,1429,1540,1546,1656,1662,2113,2119,2161],{"type":43,"tag":44,"props":45,"children":46},"element","h1",{"id":4},[47],{"type":48,"value":49},"text","Formatting insight axes",{"type":43,"tag":51,"props":52,"children":53},"p",{},[54,56,63,65,71],{"type":48,"value":55},"PostHog renders TrendsQuery insights with a built-in axis formatter. Use it\ninstead of contorting ",{"type":43,"tag":57,"props":58,"children":60},"code",{"className":59},[],[61],{"type":48,"value":62},"formula",{"type":48,"value":64}," or ",{"type":43,"tag":57,"props":66,"children":68},{"className":67},[],[69],{"type":48,"value":70},"aggregationAxisPostfix",{"type":48,"value":72}," to fake units.",{"type":43,"tag":74,"props":75,"children":77},"h2",{"id":76},"the-anti-pattern",[78],{"type":48,"value":79},"The anti-pattern",{"type":43,"tag":51,"props":81,"children":82},{},[83],{"type":48,"value":84},"If you are reaching for any of these, stop and pick a format below first:",{"type":43,"tag":86,"props":87,"children":88},"ul",{},[89,109,127,145],{"type":43,"tag":90,"props":91,"children":92},"li",{},[93,99,101,107],{"type":43,"tag":57,"props":94,"children":96},{"className":95},[],[97],{"type":48,"value":98},"formula: \"A \u002F 60\"",{"type":48,"value":100}," with ",{"type":43,"tag":57,"props":102,"children":104},{"className":103},[],[105],{"type":48,"value":106},"aggregationAxisPostfix: \" mins\"",{"type":48,"value":108}," — manual seconds -> minutes",{"type":43,"tag":90,"props":110,"children":111},{},[112,118,119,125],{"type":43,"tag":57,"props":113,"children":115},{"className":114},[],[116],{"type":48,"value":117},"formula: \"A \u002F 1000\"",{"type":48,"value":100},{"type":43,"tag":57,"props":120,"children":122},{"className":121},[],[123],{"type":48,"value":124},"aggregationAxisPostfix: \" s\"",{"type":48,"value":126}," — manual ms -> seconds",{"type":43,"tag":90,"props":128,"children":129},{},[130,136,137,143],{"type":43,"tag":57,"props":131,"children":133},{"className":132},[],[134],{"type":48,"value":135},"formula: \"A * 100\"",{"type":48,"value":100},{"type":43,"tag":57,"props":138,"children":140},{"className":139},[],[141],{"type":48,"value":142},"aggregationAxisPostfix: \"%\"",{"type":48,"value":144}," — manual ratio -> percent",{"type":43,"tag":90,"props":146,"children":147},{},[148,154,156,162,163,169,170,176],{"type":43,"tag":57,"props":149,"children":151},{"className":150},[],[152],{"type":48,"value":153},"aggregationAxisPostfix: \"ms\"",{"type":48,"value":155}," \u002F ",{"type":43,"tag":57,"props":157,"children":159},{"className":158},[],[160],{"type":48,"value":161},"\"s\"",{"type":48,"value":155},{"type":43,"tag":57,"props":164,"children":166},{"className":165},[],[167],{"type":48,"value":168},"\"min\"",{"type":48,"value":155},{"type":43,"tag":57,"props":171,"children":173},{"className":172},[],[174],{"type":48,"value":175},"\"hr\"",{"type":48,"value":177}," on raw values",{"type":43,"tag":51,"props":179,"children":180},{},[181],{"type":48,"value":182},"These freeze the unit at one scale. The built-in formatter picks a friendly\nunit per value (1.5s, 2m 12s, 1h 4m) and keeps the underlying series numerically\ncorrect for further math, breakdowns, and alerts.",{"type":43,"tag":74,"props":184,"children":186},{"id":185},"available-formats",[187],{"type":48,"value":188},"Available formats",{"type":43,"tag":51,"props":190,"children":191},{},[192,194,200],{"type":48,"value":193},"Set ",{"type":43,"tag":57,"props":195,"children":197},{"className":196},[],[198],{"type":48,"value":199},"trendsFilter.aggregationAxisFormat",{"type":48,"value":201}," on the TrendsQuery:",{"type":43,"tag":203,"props":204,"children":205},"table",{},[206,230],{"type":43,"tag":207,"props":208,"children":209},"thead",{},[210],{"type":43,"tag":211,"props":212,"children":213},"tr",{},[214,220,225],{"type":43,"tag":215,"props":216,"children":217},"th",{},[218],{"type":48,"value":219},"Value",{"type":43,"tag":215,"props":221,"children":222},{},[223],{"type":48,"value":224},"Use when the series is...",{"type":43,"tag":215,"props":226,"children":227},{},[228],{"type":48,"value":229},"Renders as",{"type":43,"tag":231,"props":232,"children":233},"tbody",{},[234,263,310,353,379,404,437],{"type":43,"tag":211,"props":235,"children":236},{},[237,249,254],{"type":43,"tag":238,"props":239,"children":240},"td",{},[241,247],{"type":43,"tag":57,"props":242,"children":244},{"className":243},[],[245],{"type":48,"value":246},"numeric",{"type":48,"value":248}," (default)",{"type":43,"tag":238,"props":250,"children":251},{},[252],{"type":48,"value":253},"a plain count",{"type":43,"tag":238,"props":255,"children":256},{},[257],{"type":43,"tag":57,"props":258,"children":260},{"className":259},[],[261],{"type":48,"value":262},"1,234",{"type":43,"tag":211,"props":264,"children":265},{},[266,275,286],{"type":43,"tag":238,"props":267,"children":268},{},[269],{"type":43,"tag":57,"props":270,"children":272},{"className":271},[],[273],{"type":48,"value":274},"duration",{"type":43,"tag":238,"props":276,"children":277},{},[278,284],{"type":43,"tag":279,"props":280,"children":281},"strong",{},[282],{"type":48,"value":283},"seconds",{"type":48,"value":285}," (any scale)",{"type":43,"tag":238,"props":287,"children":288},{},[289,295,297,303,304],{"type":43,"tag":57,"props":290,"children":292},{"className":291},[],[293],{"type":48,"value":294},"45s",{"type":48,"value":296},", ",{"type":43,"tag":57,"props":298,"children":300},{"className":299},[],[301],{"type":48,"value":302},"2m 12s",{"type":48,"value":296},{"type":43,"tag":57,"props":305,"children":307},{"className":306},[],[308],{"type":48,"value":309},"1h 4m",{"type":43,"tag":211,"props":311,"children":312},{},[313,322,330],{"type":43,"tag":238,"props":314,"children":315},{},[316],{"type":43,"tag":57,"props":317,"children":319},{"className":318},[],[320],{"type":48,"value":321},"duration_ms",{"type":43,"tag":238,"props":323,"children":324},{},[325],{"type":43,"tag":279,"props":326,"children":327},{},[328],{"type":48,"value":329},"milliseconds",{"type":43,"tag":238,"props":331,"children":332},{},[333,339,340,346,347],{"type":43,"tag":57,"props":334,"children":336},{"className":335},[],[337],{"type":48,"value":338},"850ms",{"type":48,"value":296},{"type":43,"tag":57,"props":341,"children":343},{"className":342},[],[344],{"type":48,"value":345},"1.5s",{"type":48,"value":296},{"type":43,"tag":57,"props":348,"children":350},{"className":349},[],[351],{"type":48,"value":352},"1m 4s",{"type":43,"tag":211,"props":354,"children":355},{},[356,365,370],{"type":43,"tag":238,"props":357,"children":358},{},[359],{"type":43,"tag":57,"props":360,"children":362},{"className":361},[],[363],{"type":48,"value":364},"percentage",{"type":43,"tag":238,"props":366,"children":367},{},[368],{"type":48,"value":369},"already 0-100",{"type":43,"tag":238,"props":371,"children":372},{},[373],{"type":43,"tag":57,"props":374,"children":376},{"className":375},[],[377],{"type":48,"value":378},"47.3%",{"type":43,"tag":211,"props":380,"children":381},{},[382,391,396],{"type":43,"tag":238,"props":383,"children":384},{},[385],{"type":43,"tag":57,"props":386,"children":388},{"className":387},[],[389],{"type":48,"value":390},"percentage_scaled",{"type":43,"tag":238,"props":392,"children":393},{},[394],{"type":48,"value":395},"a ratio 0-1",{"type":43,"tag":238,"props":397,"children":398},{},[399],{"type":43,"tag":57,"props":400,"children":402},{"className":401},[],[403],{"type":48,"value":378},{"type":43,"tag":211,"props":405,"children":406},{},[407,416,426],{"type":43,"tag":238,"props":408,"children":409},{},[410],{"type":43,"tag":57,"props":411,"children":413},{"className":412},[],[414],{"type":48,"value":415},"currency",{"type":43,"tag":238,"props":417,"children":418},{},[419,421],{"type":48,"value":420},"money in the ",{"type":43,"tag":279,"props":422,"children":423},{},[424],{"type":48,"value":425},"project's base currency",{"type":43,"tag":238,"props":427,"children":428},{},[429,435],{"type":43,"tag":57,"props":430,"children":432},{"className":431},[],[433],{"type":48,"value":434},"$1,234.56",{"type":48,"value":436}," (or local code)",{"type":43,"tag":211,"props":438,"children":439},{},[440,449,454],{"type":43,"tag":238,"props":441,"children":442},{},[443],{"type":43,"tag":57,"props":444,"children":446},{"className":445},[],[447],{"type":48,"value":448},"short",{"type":43,"tag":238,"props":450,"children":451},{},[452],{"type":48,"value":453},"large counts you want compacted",{"type":43,"tag":238,"props":455,"children":456},{},[457,463,464],{"type":43,"tag":57,"props":458,"children":460},{"className":459},[],[461],{"type":48,"value":462},"1.2K",{"type":48,"value":296},{"type":43,"tag":57,"props":465,"children":467},{"className":466},[],[468],{"type":48,"value":469},"3.4M",{"type":43,"tag":51,"props":471,"children":472},{},[473,475,481],{"type":48,"value":474},"Companion fields on ",{"type":43,"tag":57,"props":476,"children":478},{"className":477},[],[479],{"type":48,"value":480},"trendsFilter",{"type":48,"value":482},":",{"type":43,"tag":86,"props":484,"children":485},{},[486,505,573],{"type":43,"tag":90,"props":487,"children":488},{},[489,495,497,503],{"type":43,"tag":57,"props":490,"children":492},{"className":491},[],[493],{"type":48,"value":494},"aggregationAxisPrefix",{"type":48,"value":496}," — literal prefix (e.g. ",{"type":43,"tag":57,"props":498,"children":500},{"className":499},[],[501],{"type":48,"value":502},"\"$\"",{"type":48,"value":504},") when you need a symbol\npinned to a specific currency or unit, regardless of project settings",{"type":43,"tag":90,"props":506,"children":507},{},[508,513,515,521,522,528,530,536,538,543,544,550,552,558,560,565,567],{"type":43,"tag":57,"props":509,"children":511},{"className":510},[],[512],{"type":48,"value":70},{"type":48,"value":514}," — literal suffix; reserve for genuine units the\nformat can't express (e.g. ",{"type":43,"tag":57,"props":516,"children":518},{"className":517},[],[519],{"type":48,"value":520},"\" req\"",{"type":48,"value":296},{"type":43,"tag":57,"props":523,"children":525},{"className":524},[],[526],{"type":48,"value":527},"\" events\"",{"type":48,"value":529},"), never for ",{"type":43,"tag":57,"props":531,"children":533},{"className":532},[],[534],{"type":48,"value":535},"\"mins\"",{"type":48,"value":537}," \u002F\n",{"type":43,"tag":57,"props":539,"children":541},{"className":540},[],[542],{"type":48,"value":161},{"type":48,"value":155},{"type":43,"tag":57,"props":545,"children":547},{"className":546},[],[548],{"type":48,"value":549},"\"%\"",{"type":48,"value":551}," — the percentage formats already append the ",{"type":43,"tag":57,"props":553,"children":555},{"className":554},[],[556],{"type":48,"value":557},"%",{"type":48,"value":559}," sign, so a\n",{"type":43,"tag":57,"props":561,"children":563},{"className":562},[],[564],{"type":48,"value":549},{"type":48,"value":566}," postfix renders ",{"type":43,"tag":57,"props":568,"children":570},{"className":569},[],[571],{"type":48,"value":572},"50%%",{"type":43,"tag":90,"props":574,"children":575},{},[576,582],{"type":43,"tag":57,"props":577,"children":579},{"className":578},[],[580],{"type":48,"value":581},"decimalPlaces",{"type":48,"value":583}," — cap decimals (1 or 2 is usually right for currency \u002F ratios)",{"type":43,"tag":585,"props":586,"children":588},"h3",{"id":587},"currency-pick-format-or-prefix-carefully",[589,591,597,598,604],{"type":48,"value":590},"Currency — pick ",{"type":43,"tag":57,"props":592,"children":594},{"className":593},[],[595],{"type":48,"value":596},"format",{"type":48,"value":64},{"type":43,"tag":57,"props":599,"children":601},{"className":600},[],[602],{"type":48,"value":603},"prefix",{"type":48,"value":605}," carefully",{"type":43,"tag":51,"props":607,"children":608},{},[609,615,617,621],{"type":43,"tag":57,"props":610,"children":612},{"className":611},[],[613],{"type":48,"value":614},"aggregationAxisFormat: \"currency\"",{"type":48,"value":616}," renders with the ",{"type":43,"tag":279,"props":618,"children":619},{},[620],{"type":48,"value":425},{"type":48,"value":622},"\n(set in project settings, defaults to USD). Use it when the underlying values\nare in that same currency — e.g. revenue events that PostHog auto-converts to\nthe project's base currency.",{"type":43,"tag":51,"props":624,"children":625},{},[626,628,634,636,642,644,650,652,658,660,666],{"type":48,"value":627},"If the values are pinned to a specific currency regardless of project (e.g.\n",{"type":43,"tag":57,"props":629,"children":631},{"className":630},[],[632],{"type":48,"value":633},"$ai_total_cost_usd",{"type":48,"value":635}," is always USD, even on a EUR-base project), use\n",{"type":43,"tag":57,"props":637,"children":639},{"className":638},[],[640],{"type":48,"value":641},"aggregationAxisPrefix: \"$\"",{"type":48,"value":643}," + ",{"type":43,"tag":57,"props":645,"children":647},{"className":646},[],[648],{"type":48,"value":649},"decimalPlaces: 2",{"type":48,"value":651}," so the symbol matches the\ndata. Using ",{"type":43,"tag":57,"props":653,"children":655},{"className":654},[],[656],{"type":48,"value":657},"format: \"currency\"",{"type":48,"value":659}," here would render USD values with ",{"type":43,"tag":57,"props":661,"children":663},{"className":662},[],[664],{"type":48,"value":665},"€",{"type":48,"value":667}," on a\nEUR project.",{"type":43,"tag":74,"props":669,"children":671},{"id":670},"when-the-series-is-in-seconds",[672],{"type":48,"value":673},"When the series is in seconds",{"type":43,"tag":51,"props":675,"children":676},{},[677,679,685],{"type":48,"value":678},"If the series is in seconds (latency, session length, time-to-first-event,\nprocessing time, page load, etc.), silently default to\n",{"type":43,"tag":57,"props":680,"children":682},{"className":681},[],[683],{"type":48,"value":684},"aggregationAxisFormat: \"duration\"",{"type":48,"value":686},". Do not stop to ask — the formatter is\nnon-destructive (the underlying values stay in seconds either way, only the\nlabels change), so picking it is always at least as good as raw seconds.",{"type":43,"tag":51,"props":688,"children":689},{},[690,692,697],{"type":48,"value":691},"Only confirm with the user when they have ",{"type":43,"tag":279,"props":693,"children":694},{},[695],{"type":48,"value":696},"explicitly",{"type":48,"value":698}," named a fixed unit\nthey want pinned (\"show this in minutes\", \"graph the average in hours\"):",{"type":43,"tag":700,"props":701,"children":702},"blockquote",{},[703],{"type":43,"tag":51,"props":704,"children":705},{},[706,708,713,715,721,723,729,731,737,739,745],{"type":48,"value":707},"\"I can pin the y-axis to minutes by dividing the series by 60, or use\nPostHog's ",{"type":43,"tag":57,"props":709,"children":711},{"className":710},[],[712],{"type":48,"value":274},{"type":48,"value":714}," formatter which auto-picks seconds \u002F minutes \u002F hours\nper value — ",{"type":43,"tag":57,"props":716,"children":718},{"className":717},[],[719],{"type":48,"value":720},"90s",{"type":48,"value":722}," renders as ",{"type":43,"tag":57,"props":724,"children":726},{"className":725},[],[727],{"type":48,"value":728},"1m 30s",{"type":48,"value":730}," and ",{"type":43,"tag":57,"props":732,"children":734},{"className":733},[],[735],{"type":48,"value":736},"5400s",{"type":48,"value":738}," as ",{"type":43,"tag":57,"props":740,"children":742},{"className":741},[],[743],{"type":48,"value":744},"1h 30m",{"type":48,"value":746},". Which would\nyou prefer?\"",{"type":43,"tag":51,"props":748,"children":749},{},[750,752,757],{"type":48,"value":751},"In one-shot MCP contexts where no user is in the loop, just pick ",{"type":43,"tag":57,"props":753,"children":755},{"className":754},[],[756],{"type":48,"value":274},{"type":48,"value":758},"\nand move on.",{"type":43,"tag":74,"props":760,"children":762},{"id":761},"examples",[763],{"type":48,"value":764},"Examples",{"type":43,"tag":585,"props":766,"children":768},{"id":767},"latency-duration-in-milliseconds",[769],{"type":48,"value":770},"Latency — duration in milliseconds",{"type":43,"tag":772,"props":773,"children":778},"pre",{"className":774,"code":775,"language":776,"meta":777,"style":777},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"$pageview\",\n      \"math\": \"p95\",\n      \"math_property\": \"$performance_page_loaded\"\n    }\n  ],\n  \"trendsFilter\": {\n    \"aggregationAxisFormat\": \"duration_ms\"\n  }\n}\n","json","",[779],{"type":43,"tag":57,"props":780,"children":781},{"__ignoreMap":777},[782,794,838,864,872,911,949,987,1022,1031,1040,1065,1099,1108],{"type":43,"tag":783,"props":784,"children":787},"span",{"class":785,"line":786},"line",1,[788],{"type":43,"tag":783,"props":789,"children":791},{"style":790},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[792],{"type":48,"value":793},"{\n",{"type":43,"tag":783,"props":795,"children":797},{"class":785,"line":796},2,[798,803,809,814,818,823,829,833],{"type":43,"tag":783,"props":799,"children":800},{"style":790},[801],{"type":48,"value":802},"  \"",{"type":43,"tag":783,"props":804,"children":806},{"style":805},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[807],{"type":48,"value":808},"kind",{"type":43,"tag":783,"props":810,"children":811},{"style":790},[812],{"type":48,"value":813},"\"",{"type":43,"tag":783,"props":815,"children":816},{"style":790},[817],{"type":48,"value":482},{"type":43,"tag":783,"props":819,"children":820},{"style":790},[821],{"type":48,"value":822}," \"",{"type":43,"tag":783,"props":824,"children":826},{"style":825},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[827],{"type":48,"value":828},"TrendsQuery",{"type":43,"tag":783,"props":830,"children":831},{"style":790},[832],{"type":48,"value":813},{"type":43,"tag":783,"props":834,"children":835},{"style":790},[836],{"type":48,"value":837},",\n",{"type":43,"tag":783,"props":839,"children":841},{"class":785,"line":840},3,[842,846,851,855,859],{"type":43,"tag":783,"props":843,"children":844},{"style":790},[845],{"type":48,"value":802},{"type":43,"tag":783,"props":847,"children":848},{"style":805},[849],{"type":48,"value":850},"series",{"type":43,"tag":783,"props":852,"children":853},{"style":790},[854],{"type":48,"value":813},{"type":43,"tag":783,"props":856,"children":857},{"style":790},[858],{"type":48,"value":482},{"type":43,"tag":783,"props":860,"children":861},{"style":790},[862],{"type":48,"value":863}," [\n",{"type":43,"tag":783,"props":865,"children":866},{"class":785,"line":30},[867],{"type":43,"tag":783,"props":868,"children":869},{"style":790},[870],{"type":48,"value":871},"    {\n",{"type":43,"tag":783,"props":873,"children":875},{"class":785,"line":874},5,[876,881,886,890,894,898,903,907],{"type":43,"tag":783,"props":877,"children":878},{"style":790},[879],{"type":48,"value":880},"      \"",{"type":43,"tag":783,"props":882,"children":884},{"style":883},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[885],{"type":48,"value":808},{"type":43,"tag":783,"props":887,"children":888},{"style":790},[889],{"type":48,"value":813},{"type":43,"tag":783,"props":891,"children":892},{"style":790},[893],{"type":48,"value":482},{"type":43,"tag":783,"props":895,"children":896},{"style":790},[897],{"type":48,"value":822},{"type":43,"tag":783,"props":899,"children":900},{"style":825},[901],{"type":48,"value":902},"EventsNode",{"type":43,"tag":783,"props":904,"children":905},{"style":790},[906],{"type":48,"value":813},{"type":43,"tag":783,"props":908,"children":909},{"style":790},[910],{"type":48,"value":837},{"type":43,"tag":783,"props":912,"children":914},{"class":785,"line":913},6,[915,919,924,928,932,936,941,945],{"type":43,"tag":783,"props":916,"children":917},{"style":790},[918],{"type":48,"value":880},{"type":43,"tag":783,"props":920,"children":921},{"style":883},[922],{"type":48,"value":923},"event",{"type":43,"tag":783,"props":925,"children":926},{"style":790},[927],{"type":48,"value":813},{"type":43,"tag":783,"props":929,"children":930},{"style":790},[931],{"type":48,"value":482},{"type":43,"tag":783,"props":933,"children":934},{"style":790},[935],{"type":48,"value":822},{"type":43,"tag":783,"props":937,"children":938},{"style":825},[939],{"type":48,"value":940},"$pageview",{"type":43,"tag":783,"props":942,"children":943},{"style":790},[944],{"type":48,"value":813},{"type":43,"tag":783,"props":946,"children":947},{"style":790},[948],{"type":48,"value":837},{"type":43,"tag":783,"props":950,"children":952},{"class":785,"line":951},7,[953,957,962,966,970,974,979,983],{"type":43,"tag":783,"props":954,"children":955},{"style":790},[956],{"type":48,"value":880},{"type":43,"tag":783,"props":958,"children":959},{"style":883},[960],{"type":48,"value":961},"math",{"type":43,"tag":783,"props":963,"children":964},{"style":790},[965],{"type":48,"value":813},{"type":43,"tag":783,"props":967,"children":968},{"style":790},[969],{"type":48,"value":482},{"type":43,"tag":783,"props":971,"children":972},{"style":790},[973],{"type":48,"value":822},{"type":43,"tag":783,"props":975,"children":976},{"style":825},[977],{"type":48,"value":978},"p95",{"type":43,"tag":783,"props":980,"children":981},{"style":790},[982],{"type":48,"value":813},{"type":43,"tag":783,"props":984,"children":985},{"style":790},[986],{"type":48,"value":837},{"type":43,"tag":783,"props":988,"children":990},{"class":785,"line":989},8,[991,995,1000,1004,1008,1012,1017],{"type":43,"tag":783,"props":992,"children":993},{"style":790},[994],{"type":48,"value":880},{"type":43,"tag":783,"props":996,"children":997},{"style":883},[998],{"type":48,"value":999},"math_property",{"type":43,"tag":783,"props":1001,"children":1002},{"style":790},[1003],{"type":48,"value":813},{"type":43,"tag":783,"props":1005,"children":1006},{"style":790},[1007],{"type":48,"value":482},{"type":43,"tag":783,"props":1009,"children":1010},{"style":790},[1011],{"type":48,"value":822},{"type":43,"tag":783,"props":1013,"children":1014},{"style":825},[1015],{"type":48,"value":1016},"$performance_page_loaded",{"type":43,"tag":783,"props":1018,"children":1019},{"style":790},[1020],{"type":48,"value":1021},"\"\n",{"type":43,"tag":783,"props":1023,"children":1025},{"class":785,"line":1024},9,[1026],{"type":43,"tag":783,"props":1027,"children":1028},{"style":790},[1029],{"type":48,"value":1030},"    }\n",{"type":43,"tag":783,"props":1032,"children":1034},{"class":785,"line":1033},10,[1035],{"type":43,"tag":783,"props":1036,"children":1037},{"style":790},[1038],{"type":48,"value":1039},"  ],\n",{"type":43,"tag":783,"props":1041,"children":1043},{"class":785,"line":1042},11,[1044,1048,1052,1056,1060],{"type":43,"tag":783,"props":1045,"children":1046},{"style":790},[1047],{"type":48,"value":802},{"type":43,"tag":783,"props":1049,"children":1050},{"style":805},[1051],{"type":48,"value":480},{"type":43,"tag":783,"props":1053,"children":1054},{"style":790},[1055],{"type":48,"value":813},{"type":43,"tag":783,"props":1057,"children":1058},{"style":790},[1059],{"type":48,"value":482},{"type":43,"tag":783,"props":1061,"children":1062},{"style":790},[1063],{"type":48,"value":1064}," {\n",{"type":43,"tag":783,"props":1066,"children":1068},{"class":785,"line":1067},12,[1069,1074,1079,1083,1087,1091,1095],{"type":43,"tag":783,"props":1070,"children":1071},{"style":790},[1072],{"type":48,"value":1073},"    \"",{"type":43,"tag":783,"props":1075,"children":1076},{"style":883},[1077],{"type":48,"value":1078},"aggregationAxisFormat",{"type":43,"tag":783,"props":1080,"children":1081},{"style":790},[1082],{"type":48,"value":813},{"type":43,"tag":783,"props":1084,"children":1085},{"style":790},[1086],{"type":48,"value":482},{"type":43,"tag":783,"props":1088,"children":1089},{"style":790},[1090],{"type":48,"value":822},{"type":43,"tag":783,"props":1092,"children":1093},{"style":825},[1094],{"type":48,"value":321},{"type":43,"tag":783,"props":1096,"children":1097},{"style":790},[1098],{"type":48,"value":1021},{"type":43,"tag":783,"props":1100,"children":1102},{"class":785,"line":1101},13,[1103],{"type":43,"tag":783,"props":1104,"children":1105},{"style":790},[1106],{"type":48,"value":1107},"  }\n",{"type":43,"tag":783,"props":1109,"children":1111},{"class":785,"line":1110},14,[1112],{"type":43,"tag":783,"props":1113,"children":1114},{"style":790},[1115],{"type":48,"value":1116},"}\n",{"type":43,"tag":585,"props":1118,"children":1120},{"id":1119},"average-session-length-duration-in-seconds",[1121],{"type":48,"value":1122},"Average session length — duration in seconds",{"type":43,"tag":772,"props":1124,"children":1126},{"className":774,"code":1125,"language":776,"meta":777,"style":777},"{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"$pageleave\",\n      \"math\": \"avg\",\n      \"math_property\": \"$session_duration\"\n    }\n  ],\n  \"trendsFilter\": {\n    \"aggregationAxisFormat\": \"duration\"\n  }\n}\n",[1127],{"type":43,"tag":57,"props":1128,"children":1129},{"__ignoreMap":777},[1130,1137,1172,1195,1202,1237,1273,1309,1341,1348,1355,1378,1409,1416],{"type":43,"tag":783,"props":1131,"children":1132},{"class":785,"line":786},[1133],{"type":43,"tag":783,"props":1134,"children":1135},{"style":790},[1136],{"type":48,"value":793},{"type":43,"tag":783,"props":1138,"children":1139},{"class":785,"line":796},[1140,1144,1148,1152,1156,1160,1164,1168],{"type":43,"tag":783,"props":1141,"children":1142},{"style":790},[1143],{"type":48,"value":802},{"type":43,"tag":783,"props":1145,"children":1146},{"style":805},[1147],{"type":48,"value":808},{"type":43,"tag":783,"props":1149,"children":1150},{"style":790},[1151],{"type":48,"value":813},{"type":43,"tag":783,"props":1153,"children":1154},{"style":790},[1155],{"type":48,"value":482},{"type":43,"tag":783,"props":1157,"children":1158},{"style":790},[1159],{"type":48,"value":822},{"type":43,"tag":783,"props":1161,"children":1162},{"style":825},[1163],{"type":48,"value":828},{"type":43,"tag":783,"props":1165,"children":1166},{"style":790},[1167],{"type":48,"value":813},{"type":43,"tag":783,"props":1169,"children":1170},{"style":790},[1171],{"type":48,"value":837},{"type":43,"tag":783,"props":1173,"children":1174},{"class":785,"line":840},[1175,1179,1183,1187,1191],{"type":43,"tag":783,"props":1176,"children":1177},{"style":790},[1178],{"type":48,"value":802},{"type":43,"tag":783,"props":1180,"children":1181},{"style":805},[1182],{"type":48,"value":850},{"type":43,"tag":783,"props":1184,"children":1185},{"style":790},[1186],{"type":48,"value":813},{"type":43,"tag":783,"props":1188,"children":1189},{"style":790},[1190],{"type":48,"value":482},{"type":43,"tag":783,"props":1192,"children":1193},{"style":790},[1194],{"type":48,"value":863},{"type":43,"tag":783,"props":1196,"children":1197},{"class":785,"line":30},[1198],{"type":43,"tag":783,"props":1199,"children":1200},{"style":790},[1201],{"type":48,"value":871},{"type":43,"tag":783,"props":1203,"children":1204},{"class":785,"line":874},[1205,1209,1213,1217,1221,1225,1229,1233],{"type":43,"tag":783,"props":1206,"children":1207},{"style":790},[1208],{"type":48,"value":880},{"type":43,"tag":783,"props":1210,"children":1211},{"style":883},[1212],{"type":48,"value":808},{"type":43,"tag":783,"props":1214,"children":1215},{"style":790},[1216],{"type":48,"value":813},{"type":43,"tag":783,"props":1218,"children":1219},{"style":790},[1220],{"type":48,"value":482},{"type":43,"tag":783,"props":1222,"children":1223},{"style":790},[1224],{"type":48,"value":822},{"type":43,"tag":783,"props":1226,"children":1227},{"style":825},[1228],{"type":48,"value":902},{"type":43,"tag":783,"props":1230,"children":1231},{"style":790},[1232],{"type":48,"value":813},{"type":43,"tag":783,"props":1234,"children":1235},{"style":790},[1236],{"type":48,"value":837},{"type":43,"tag":783,"props":1238,"children":1239},{"class":785,"line":913},[1240,1244,1248,1252,1256,1260,1265,1269],{"type":43,"tag":783,"props":1241,"children":1242},{"style":790},[1243],{"type":48,"value":880},{"type":43,"tag":783,"props":1245,"children":1246},{"style":883},[1247],{"type":48,"value":923},{"type":43,"tag":783,"props":1249,"children":1250},{"style":790},[1251],{"type":48,"value":813},{"type":43,"tag":783,"props":1253,"children":1254},{"style":790},[1255],{"type":48,"value":482},{"type":43,"tag":783,"props":1257,"children":1258},{"style":790},[1259],{"type":48,"value":822},{"type":43,"tag":783,"props":1261,"children":1262},{"style":825},[1263],{"type":48,"value":1264},"$pageleave",{"type":43,"tag":783,"props":1266,"children":1267},{"style":790},[1268],{"type":48,"value":813},{"type":43,"tag":783,"props":1270,"children":1271},{"style":790},[1272],{"type":48,"value":837},{"type":43,"tag":783,"props":1274,"children":1275},{"class":785,"line":951},[1276,1280,1284,1288,1292,1296,1301,1305],{"type":43,"tag":783,"props":1277,"children":1278},{"style":790},[1279],{"type":48,"value":880},{"type":43,"tag":783,"props":1281,"children":1282},{"style":883},[1283],{"type":48,"value":961},{"type":43,"tag":783,"props":1285,"children":1286},{"style":790},[1287],{"type":48,"value":813},{"type":43,"tag":783,"props":1289,"children":1290},{"style":790},[1291],{"type":48,"value":482},{"type":43,"tag":783,"props":1293,"children":1294},{"style":790},[1295],{"type":48,"value":822},{"type":43,"tag":783,"props":1297,"children":1298},{"style":825},[1299],{"type":48,"value":1300},"avg",{"type":43,"tag":783,"props":1302,"children":1303},{"style":790},[1304],{"type":48,"value":813},{"type":43,"tag":783,"props":1306,"children":1307},{"style":790},[1308],{"type":48,"value":837},{"type":43,"tag":783,"props":1310,"children":1311},{"class":785,"line":989},[1312,1316,1320,1324,1328,1332,1337],{"type":43,"tag":783,"props":1313,"children":1314},{"style":790},[1315],{"type":48,"value":880},{"type":43,"tag":783,"props":1317,"children":1318},{"style":883},[1319],{"type":48,"value":999},{"type":43,"tag":783,"props":1321,"children":1322},{"style":790},[1323],{"type":48,"value":813},{"type":43,"tag":783,"props":1325,"children":1326},{"style":790},[1327],{"type":48,"value":482},{"type":43,"tag":783,"props":1329,"children":1330},{"style":790},[1331],{"type":48,"value":822},{"type":43,"tag":783,"props":1333,"children":1334},{"style":825},[1335],{"type":48,"value":1336},"$session_duration",{"type":43,"tag":783,"props":1338,"children":1339},{"style":790},[1340],{"type":48,"value":1021},{"type":43,"tag":783,"props":1342,"children":1343},{"class":785,"line":1024},[1344],{"type":43,"tag":783,"props":1345,"children":1346},{"style":790},[1347],{"type":48,"value":1030},{"type":43,"tag":783,"props":1349,"children":1350},{"class":785,"line":1033},[1351],{"type":43,"tag":783,"props":1352,"children":1353},{"style":790},[1354],{"type":48,"value":1039},{"type":43,"tag":783,"props":1356,"children":1357},{"class":785,"line":1042},[1358,1362,1366,1370,1374],{"type":43,"tag":783,"props":1359,"children":1360},{"style":790},[1361],{"type":48,"value":802},{"type":43,"tag":783,"props":1363,"children":1364},{"style":805},[1365],{"type":48,"value":480},{"type":43,"tag":783,"props":1367,"children":1368},{"style":790},[1369],{"type":48,"value":813},{"type":43,"tag":783,"props":1371,"children":1372},{"style":790},[1373],{"type":48,"value":482},{"type":43,"tag":783,"props":1375,"children":1376},{"style":790},[1377],{"type":48,"value":1064},{"type":43,"tag":783,"props":1379,"children":1380},{"class":785,"line":1067},[1381,1385,1389,1393,1397,1401,1405],{"type":43,"tag":783,"props":1382,"children":1383},{"style":790},[1384],{"type":48,"value":1073},{"type":43,"tag":783,"props":1386,"children":1387},{"style":883},[1388],{"type":48,"value":1078},{"type":43,"tag":783,"props":1390,"children":1391},{"style":790},[1392],{"type":48,"value":813},{"type":43,"tag":783,"props":1394,"children":1395},{"style":790},[1396],{"type":48,"value":482},{"type":43,"tag":783,"props":1398,"children":1399},{"style":790},[1400],{"type":48,"value":822},{"type":43,"tag":783,"props":1402,"children":1403},{"style":825},[1404],{"type":48,"value":274},{"type":43,"tag":783,"props":1406,"children":1407},{"style":790},[1408],{"type":48,"value":1021},{"type":43,"tag":783,"props":1410,"children":1411},{"class":785,"line":1101},[1412],{"type":43,"tag":783,"props":1413,"children":1414},{"style":790},[1415],{"type":48,"value":1107},{"type":43,"tag":783,"props":1417,"children":1418},{"class":785,"line":1110},[1419],{"type":43,"tag":783,"props":1420,"children":1421},{"style":790},[1422],{"type":48,"value":1116},{"type":43,"tag":585,"props":1424,"children":1426},{"id":1425},"revenue-currency-in-the-projects-base-currency",[1427],{"type":48,"value":1428},"Revenue — currency in the project's base currency",{"type":43,"tag":772,"props":1430,"children":1432},{"className":774,"code":1431,"language":776,"meta":777,"style":777},"{\n  \"trendsFilter\": {\n    \"aggregationAxisFormat\": \"currency\",\n    \"decimalPlaces\": 2\n  }\n}\n",[1433],{"type":43,"tag":57,"props":1434,"children":1435},{"__ignoreMap":777},[1436,1443,1466,1501,1526,1533],{"type":43,"tag":783,"props":1437,"children":1438},{"class":785,"line":786},[1439],{"type":43,"tag":783,"props":1440,"children":1441},{"style":790},[1442],{"type":48,"value":793},{"type":43,"tag":783,"props":1444,"children":1445},{"class":785,"line":796},[1446,1450,1454,1458,1462],{"type":43,"tag":783,"props":1447,"children":1448},{"style":790},[1449],{"type":48,"value":802},{"type":43,"tag":783,"props":1451,"children":1452},{"style":805},[1453],{"type":48,"value":480},{"type":43,"tag":783,"props":1455,"children":1456},{"style":790},[1457],{"type":48,"value":813},{"type":43,"tag":783,"props":1459,"children":1460},{"style":790},[1461],{"type":48,"value":482},{"type":43,"tag":783,"props":1463,"children":1464},{"style":790},[1465],{"type":48,"value":1064},{"type":43,"tag":783,"props":1467,"children":1468},{"class":785,"line":840},[1469,1473,1477,1481,1485,1489,1493,1497],{"type":43,"tag":783,"props":1470,"children":1471},{"style":790},[1472],{"type":48,"value":1073},{"type":43,"tag":783,"props":1474,"children":1475},{"style":883},[1476],{"type":48,"value":1078},{"type":43,"tag":783,"props":1478,"children":1479},{"style":790},[1480],{"type":48,"value":813},{"type":43,"tag":783,"props":1482,"children":1483},{"style":790},[1484],{"type":48,"value":482},{"type":43,"tag":783,"props":1486,"children":1487},{"style":790},[1488],{"type":48,"value":822},{"type":43,"tag":783,"props":1490,"children":1491},{"style":825},[1492],{"type":48,"value":415},{"type":43,"tag":783,"props":1494,"children":1495},{"style":790},[1496],{"type":48,"value":813},{"type":43,"tag":783,"props":1498,"children":1499},{"style":790},[1500],{"type":48,"value":837},{"type":43,"tag":783,"props":1502,"children":1503},{"class":785,"line":30},[1504,1508,1512,1516,1520],{"type":43,"tag":783,"props":1505,"children":1506},{"style":790},[1507],{"type":48,"value":1073},{"type":43,"tag":783,"props":1509,"children":1510},{"style":883},[1511],{"type":48,"value":581},{"type":43,"tag":783,"props":1513,"children":1514},{"style":790},[1515],{"type":48,"value":813},{"type":43,"tag":783,"props":1517,"children":1518},{"style":790},[1519],{"type":48,"value":482},{"type":43,"tag":783,"props":1521,"children":1523},{"style":1522},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[1524],{"type":48,"value":1525}," 2\n",{"type":43,"tag":783,"props":1527,"children":1528},{"class":785,"line":874},[1529],{"type":43,"tag":783,"props":1530,"children":1531},{"style":790},[1532],{"type":48,"value":1107},{"type":43,"tag":783,"props":1534,"children":1535},{"class":785,"line":913},[1536],{"type":43,"tag":783,"props":1537,"children":1538},{"style":790},[1539],{"type":48,"value":1116},{"type":43,"tag":585,"props":1541,"children":1543},{"id":1542},"fixed-currency-value-eg-llm-cost-in-usd-pin-the-symbol",[1544],{"type":48,"value":1545},"Fixed-currency value (e.g. LLM cost in USD) — pin the symbol",{"type":43,"tag":772,"props":1547,"children":1549},{"className":774,"code":1548,"language":776,"meta":777,"style":777},"{\n  \"trendsFilter\": {\n    \"aggregationAxisPrefix\": \"$\",\n    \"decimalPlaces\": 2\n  }\n}\n",[1550],{"type":43,"tag":57,"props":1551,"children":1552},{"__ignoreMap":777},[1553,1560,1583,1619,1642,1649],{"type":43,"tag":783,"props":1554,"children":1555},{"class":785,"line":786},[1556],{"type":43,"tag":783,"props":1557,"children":1558},{"style":790},[1559],{"type":48,"value":793},{"type":43,"tag":783,"props":1561,"children":1562},{"class":785,"line":796},[1563,1567,1571,1575,1579],{"type":43,"tag":783,"props":1564,"children":1565},{"style":790},[1566],{"type":48,"value":802},{"type":43,"tag":783,"props":1568,"children":1569},{"style":805},[1570],{"type":48,"value":480},{"type":43,"tag":783,"props":1572,"children":1573},{"style":790},[1574],{"type":48,"value":813},{"type":43,"tag":783,"props":1576,"children":1577},{"style":790},[1578],{"type":48,"value":482},{"type":43,"tag":783,"props":1580,"children":1581},{"style":790},[1582],{"type":48,"value":1064},{"type":43,"tag":783,"props":1584,"children":1585},{"class":785,"line":840},[1586,1590,1594,1598,1602,1606,1611,1615],{"type":43,"tag":783,"props":1587,"children":1588},{"style":790},[1589],{"type":48,"value":1073},{"type":43,"tag":783,"props":1591,"children":1592},{"style":883},[1593],{"type":48,"value":494},{"type":43,"tag":783,"props":1595,"children":1596},{"style":790},[1597],{"type":48,"value":813},{"type":43,"tag":783,"props":1599,"children":1600},{"style":790},[1601],{"type":48,"value":482},{"type":43,"tag":783,"props":1603,"children":1604},{"style":790},[1605],{"type":48,"value":822},{"type":43,"tag":783,"props":1607,"children":1608},{"style":825},[1609],{"type":48,"value":1610},"$",{"type":43,"tag":783,"props":1612,"children":1613},{"style":790},[1614],{"type":48,"value":813},{"type":43,"tag":783,"props":1616,"children":1617},{"style":790},[1618],{"type":48,"value":837},{"type":43,"tag":783,"props":1620,"children":1621},{"class":785,"line":30},[1622,1626,1630,1634,1638],{"type":43,"tag":783,"props":1623,"children":1624},{"style":790},[1625],{"type":48,"value":1073},{"type":43,"tag":783,"props":1627,"children":1628},{"style":883},[1629],{"type":48,"value":581},{"type":43,"tag":783,"props":1631,"children":1632},{"style":790},[1633],{"type":48,"value":813},{"type":43,"tag":783,"props":1635,"children":1636},{"style":790},[1637],{"type":48,"value":482},{"type":43,"tag":783,"props":1639,"children":1640},{"style":1522},[1641],{"type":48,"value":1525},{"type":43,"tag":783,"props":1643,"children":1644},{"class":785,"line":874},[1645],{"type":43,"tag":783,"props":1646,"children":1647},{"style":790},[1648],{"type":48,"value":1107},{"type":43,"tag":783,"props":1650,"children":1651},{"class":785,"line":913},[1652],{"type":43,"tag":783,"props":1653,"children":1654},{"style":790},[1655],{"type":48,"value":1116},{"type":43,"tag":585,"props":1657,"children":1659},{"id":1658},"conversion-rate-percentage-from-a-0-1-formula",[1660],{"type":48,"value":1661},"Conversion rate — percentage from a 0-1 formula",{"type":43,"tag":772,"props":1663,"children":1665},{"className":774,"code":1664,"language":776,"meta":777,"style":777},"{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"checkout_completed\",\n      \"math\": \"dau\"\n    },\n    {\n      \"kind\": \"EventsNode\",\n      \"event\": \"checkout_started\",\n      \"math\": \"dau\"\n    }\n  ],\n  \"trendsFilter\": {\n    \"formula\": \"A \u002F B\",\n    \"aggregationAxisFormat\": \"percentage_scaled\",\n    \"decimalPlaces\": 1\n  }\n}\n",[1666],{"type":43,"tag":57,"props":1667,"children":1668},{"__ignoreMap":777},[1669,1676,1711,1734,1741,1776,1812,1844,1852,1859,1894,1930,1961,1968,1975,1999,2036,2072,2097,2105],{"type":43,"tag":783,"props":1670,"children":1671},{"class":785,"line":786},[1672],{"type":43,"tag":783,"props":1673,"children":1674},{"style":790},[1675],{"type":48,"value":793},{"type":43,"tag":783,"props":1677,"children":1678},{"class":785,"line":796},[1679,1683,1687,1691,1695,1699,1703,1707],{"type":43,"tag":783,"props":1680,"children":1681},{"style":790},[1682],{"type":48,"value":802},{"type":43,"tag":783,"props":1684,"children":1685},{"style":805},[1686],{"type":48,"value":808},{"type":43,"tag":783,"props":1688,"children":1689},{"style":790},[1690],{"type":48,"value":813},{"type":43,"tag":783,"props":1692,"children":1693},{"style":790},[1694],{"type":48,"value":482},{"type":43,"tag":783,"props":1696,"children":1697},{"style":790},[1698],{"type":48,"value":822},{"type":43,"tag":783,"props":1700,"children":1701},{"style":825},[1702],{"type":48,"value":828},{"type":43,"tag":783,"props":1704,"children":1705},{"style":790},[1706],{"type":48,"value":813},{"type":43,"tag":783,"props":1708,"children":1709},{"style":790},[1710],{"type":48,"value":837},{"type":43,"tag":783,"props":1712,"children":1713},{"class":785,"line":840},[1714,1718,1722,1726,1730],{"type":43,"tag":783,"props":1715,"children":1716},{"style":790},[1717],{"type":48,"value":802},{"type":43,"tag":783,"props":1719,"children":1720},{"style":805},[1721],{"type":48,"value":850},{"type":43,"tag":783,"props":1723,"children":1724},{"style":790},[1725],{"type":48,"value":813},{"type":43,"tag":783,"props":1727,"children":1728},{"style":790},[1729],{"type":48,"value":482},{"type":43,"tag":783,"props":1731,"children":1732},{"style":790},[1733],{"type":48,"value":863},{"type":43,"tag":783,"props":1735,"children":1736},{"class":785,"line":30},[1737],{"type":43,"tag":783,"props":1738,"children":1739},{"style":790},[1740],{"type":48,"value":871},{"type":43,"tag":783,"props":1742,"children":1743},{"class":785,"line":874},[1744,1748,1752,1756,1760,1764,1768,1772],{"type":43,"tag":783,"props":1745,"children":1746},{"style":790},[1747],{"type":48,"value":880},{"type":43,"tag":783,"props":1749,"children":1750},{"style":883},[1751],{"type":48,"value":808},{"type":43,"tag":783,"props":1753,"children":1754},{"style":790},[1755],{"type":48,"value":813},{"type":43,"tag":783,"props":1757,"children":1758},{"style":790},[1759],{"type":48,"value":482},{"type":43,"tag":783,"props":1761,"children":1762},{"style":790},[1763],{"type":48,"value":822},{"type":43,"tag":783,"props":1765,"children":1766},{"style":825},[1767],{"type":48,"value":902},{"type":43,"tag":783,"props":1769,"children":1770},{"style":790},[1771],{"type":48,"value":813},{"type":43,"tag":783,"props":1773,"children":1774},{"style":790},[1775],{"type":48,"value":837},{"type":43,"tag":783,"props":1777,"children":1778},{"class":785,"line":913},[1779,1783,1787,1791,1795,1799,1804,1808],{"type":43,"tag":783,"props":1780,"children":1781},{"style":790},[1782],{"type":48,"value":880},{"type":43,"tag":783,"props":1784,"children":1785},{"style":883},[1786],{"type":48,"value":923},{"type":43,"tag":783,"props":1788,"children":1789},{"style":790},[1790],{"type":48,"value":813},{"type":43,"tag":783,"props":1792,"children":1793},{"style":790},[1794],{"type":48,"value":482},{"type":43,"tag":783,"props":1796,"children":1797},{"style":790},[1798],{"type":48,"value":822},{"type":43,"tag":783,"props":1800,"children":1801},{"style":825},[1802],{"type":48,"value":1803},"checkout_completed",{"type":43,"tag":783,"props":1805,"children":1806},{"style":790},[1807],{"type":48,"value":813},{"type":43,"tag":783,"props":1809,"children":1810},{"style":790},[1811],{"type":48,"value":837},{"type":43,"tag":783,"props":1813,"children":1814},{"class":785,"line":951},[1815,1819,1823,1827,1831,1835,1840],{"type":43,"tag":783,"props":1816,"children":1817},{"style":790},[1818],{"type":48,"value":880},{"type":43,"tag":783,"props":1820,"children":1821},{"style":883},[1822],{"type":48,"value":961},{"type":43,"tag":783,"props":1824,"children":1825},{"style":790},[1826],{"type":48,"value":813},{"type":43,"tag":783,"props":1828,"children":1829},{"style":790},[1830],{"type":48,"value":482},{"type":43,"tag":783,"props":1832,"children":1833},{"style":790},[1834],{"type":48,"value":822},{"type":43,"tag":783,"props":1836,"children":1837},{"style":825},[1838],{"type":48,"value":1839},"dau",{"type":43,"tag":783,"props":1841,"children":1842},{"style":790},[1843],{"type":48,"value":1021},{"type":43,"tag":783,"props":1845,"children":1846},{"class":785,"line":989},[1847],{"type":43,"tag":783,"props":1848,"children":1849},{"style":790},[1850],{"type":48,"value":1851},"    },\n",{"type":43,"tag":783,"props":1853,"children":1854},{"class":785,"line":1024},[1855],{"type":43,"tag":783,"props":1856,"children":1857},{"style":790},[1858],{"type":48,"value":871},{"type":43,"tag":783,"props":1860,"children":1861},{"class":785,"line":1033},[1862,1866,1870,1874,1878,1882,1886,1890],{"type":43,"tag":783,"props":1863,"children":1864},{"style":790},[1865],{"type":48,"value":880},{"type":43,"tag":783,"props":1867,"children":1868},{"style":883},[1869],{"type":48,"value":808},{"type":43,"tag":783,"props":1871,"children":1872},{"style":790},[1873],{"type":48,"value":813},{"type":43,"tag":783,"props":1875,"children":1876},{"style":790},[1877],{"type":48,"value":482},{"type":43,"tag":783,"props":1879,"children":1880},{"style":790},[1881],{"type":48,"value":822},{"type":43,"tag":783,"props":1883,"children":1884},{"style":825},[1885],{"type":48,"value":902},{"type":43,"tag":783,"props":1887,"children":1888},{"style":790},[1889],{"type":48,"value":813},{"type":43,"tag":783,"props":1891,"children":1892},{"style":790},[1893],{"type":48,"value":837},{"type":43,"tag":783,"props":1895,"children":1896},{"class":785,"line":1042},[1897,1901,1905,1909,1913,1917,1922,1926],{"type":43,"tag":783,"props":1898,"children":1899},{"style":790},[1900],{"type":48,"value":880},{"type":43,"tag":783,"props":1902,"children":1903},{"style":883},[1904],{"type":48,"value":923},{"type":43,"tag":783,"props":1906,"children":1907},{"style":790},[1908],{"type":48,"value":813},{"type":43,"tag":783,"props":1910,"children":1911},{"style":790},[1912],{"type":48,"value":482},{"type":43,"tag":783,"props":1914,"children":1915},{"style":790},[1916],{"type":48,"value":822},{"type":43,"tag":783,"props":1918,"children":1919},{"style":825},[1920],{"type":48,"value":1921},"checkout_started",{"type":43,"tag":783,"props":1923,"children":1924},{"style":790},[1925],{"type":48,"value":813},{"type":43,"tag":783,"props":1927,"children":1928},{"style":790},[1929],{"type":48,"value":837},{"type":43,"tag":783,"props":1931,"children":1932},{"class":785,"line":1067},[1933,1937,1941,1945,1949,1953,1957],{"type":43,"tag":783,"props":1934,"children":1935},{"style":790},[1936],{"type":48,"value":880},{"type":43,"tag":783,"props":1938,"children":1939},{"style":883},[1940],{"type":48,"value":961},{"type":43,"tag":783,"props":1942,"children":1943},{"style":790},[1944],{"type":48,"value":813},{"type":43,"tag":783,"props":1946,"children":1947},{"style":790},[1948],{"type":48,"value":482},{"type":43,"tag":783,"props":1950,"children":1951},{"style":790},[1952],{"type":48,"value":822},{"type":43,"tag":783,"props":1954,"children":1955},{"style":825},[1956],{"type":48,"value":1839},{"type":43,"tag":783,"props":1958,"children":1959},{"style":790},[1960],{"type":48,"value":1021},{"type":43,"tag":783,"props":1962,"children":1963},{"class":785,"line":1101},[1964],{"type":43,"tag":783,"props":1965,"children":1966},{"style":790},[1967],{"type":48,"value":1030},{"type":43,"tag":783,"props":1969,"children":1970},{"class":785,"line":1110},[1971],{"type":43,"tag":783,"props":1972,"children":1973},{"style":790},[1974],{"type":48,"value":1039},{"type":43,"tag":783,"props":1976,"children":1978},{"class":785,"line":1977},15,[1979,1983,1987,1991,1995],{"type":43,"tag":783,"props":1980,"children":1981},{"style":790},[1982],{"type":48,"value":802},{"type":43,"tag":783,"props":1984,"children":1985},{"style":805},[1986],{"type":48,"value":480},{"type":43,"tag":783,"props":1988,"children":1989},{"style":790},[1990],{"type":48,"value":813},{"type":43,"tag":783,"props":1992,"children":1993},{"style":790},[1994],{"type":48,"value":482},{"type":43,"tag":783,"props":1996,"children":1997},{"style":790},[1998],{"type":48,"value":1064},{"type":43,"tag":783,"props":2000,"children":2002},{"class":785,"line":2001},16,[2003,2007,2011,2015,2019,2023,2028,2032],{"type":43,"tag":783,"props":2004,"children":2005},{"style":790},[2006],{"type":48,"value":1073},{"type":43,"tag":783,"props":2008,"children":2009},{"style":883},[2010],{"type":48,"value":62},{"type":43,"tag":783,"props":2012,"children":2013},{"style":790},[2014],{"type":48,"value":813},{"type":43,"tag":783,"props":2016,"children":2017},{"style":790},[2018],{"type":48,"value":482},{"type":43,"tag":783,"props":2020,"children":2021},{"style":790},[2022],{"type":48,"value":822},{"type":43,"tag":783,"props":2024,"children":2025},{"style":825},[2026],{"type":48,"value":2027},"A \u002F B",{"type":43,"tag":783,"props":2029,"children":2030},{"style":790},[2031],{"type":48,"value":813},{"type":43,"tag":783,"props":2033,"children":2034},{"style":790},[2035],{"type":48,"value":837},{"type":43,"tag":783,"props":2037,"children":2039},{"class":785,"line":2038},17,[2040,2044,2048,2052,2056,2060,2064,2068],{"type":43,"tag":783,"props":2041,"children":2042},{"style":790},[2043],{"type":48,"value":1073},{"type":43,"tag":783,"props":2045,"children":2046},{"style":883},[2047],{"type":48,"value":1078},{"type":43,"tag":783,"props":2049,"children":2050},{"style":790},[2051],{"type":48,"value":813},{"type":43,"tag":783,"props":2053,"children":2054},{"style":790},[2055],{"type":48,"value":482},{"type":43,"tag":783,"props":2057,"children":2058},{"style":790},[2059],{"type":48,"value":822},{"type":43,"tag":783,"props":2061,"children":2062},{"style":825},[2063],{"type":48,"value":390},{"type":43,"tag":783,"props":2065,"children":2066},{"style":790},[2067],{"type":48,"value":813},{"type":43,"tag":783,"props":2069,"children":2070},{"style":790},[2071],{"type":48,"value":837},{"type":43,"tag":783,"props":2073,"children":2075},{"class":785,"line":2074},18,[2076,2080,2084,2088,2092],{"type":43,"tag":783,"props":2077,"children":2078},{"style":790},[2079],{"type":48,"value":1073},{"type":43,"tag":783,"props":2081,"children":2082},{"style":883},[2083],{"type":48,"value":581},{"type":43,"tag":783,"props":2085,"children":2086},{"style":790},[2087],{"type":48,"value":813},{"type":43,"tag":783,"props":2089,"children":2090},{"style":790},[2091],{"type":48,"value":482},{"type":43,"tag":783,"props":2093,"children":2094},{"style":1522},[2095],{"type":48,"value":2096}," 1\n",{"type":43,"tag":783,"props":2098,"children":2100},{"class":785,"line":2099},19,[2101],{"type":43,"tag":783,"props":2102,"children":2103},{"style":790},[2104],{"type":48,"value":1107},{"type":43,"tag":783,"props":2106,"children":2108},{"class":785,"line":2107},20,[2109],{"type":43,"tag":783,"props":2110,"children":2111},{"style":790},[2112],{"type":48,"value":1116},{"type":43,"tag":74,"props":2114,"children":2116},{"id":2115},"updating-an-existing-insight",[2117],{"type":48,"value":2118},"Updating an existing insight",{"type":43,"tag":51,"props":2120,"children":2121},{},[2122,2124,2129,2131,2137,2139,2145,2147,2152,2154,2159],{"type":48,"value":2123},"If you are updating an insight and notice it already uses the\n",{"type":43,"tag":57,"props":2125,"children":2127},{"className":2126},[],[2128],{"type":48,"value":62},{"type":48,"value":2130},"\u002F",{"type":43,"tag":57,"props":2132,"children":2134},{"className":2133},[],[2135],{"type":48,"value":2136},"postfix",{"type":48,"value":2138}," anti-pattern, fix it in the same ",{"type":43,"tag":57,"props":2140,"children":2142},{"className":2141},[],[2143],{"type":48,"value":2144},"posthog:insight-update",{"type":48,"value":2146},"\ncall — drop the divide-by-N, drop the ",{"type":43,"tag":57,"props":2148,"children":2150},{"className":2149},[],[2151],{"type":48,"value":70},{"type":48,"value":2153},", and set the\nmatching ",{"type":43,"tag":57,"props":2155,"children":2157},{"className":2156},[],[2158],{"type":48,"value":1078},{"type":48,"value":2160},". The series values stay the same, only the\nlabels change. Do not go scanning unrelated insights for this pattern —\nfix only the ones you are already touching.",{"type":43,"tag":2162,"props":2163,"children":2164},"style",{},[2165],{"type":48,"value":2166},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":2168,"total":2279},[2169,2186,2206,2220,2238,2252,2263],{"slug":2170,"name":2170,"fn":2171,"description":2172,"org":2173,"tags":2174,"stars":26,"repoUrl":27,"updatedAt":2185},"account-handover","draft sales account handover notes","Draft structured handover notes for transitioning a PostHog account from one TAM or CSM to another. Use this skill when a TAM needs to hand over an account, prepare a transition briefing, write handover notes, create an account summary for a new owner, or any request involving account transitions between TAMs or CSMs. Triggers on \"hand over this account\", \"transition account to\", \"draft handover notes\", \"account briefing for new TAM\", \"prepare account transition\", or when a TAM names an account and says they're leaving or reassigning it.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2175,2178,2181,2182],{"name":2176,"slug":2177,"type":15},"Communications","communications",{"name":2179,"slug":2180,"type":15},"CRM","crm",{"name":9,"slug":8,"type":15},{"name":2183,"slug":2184,"type":15},"Sales","sales","2026-04-16T05:13:00.172732",{"slug":2187,"name":2187,"fn":2188,"description":2189,"org":2190,"tags":2191,"stars":26,"repoUrl":27,"updatedAt":2205},"auditing-warehouse-data-health","audit PostHog data warehouse health","Audit the health of a PostHog project's data warehouse — find every broken or degraded pipeline item across sources, sync schemas, materialized views, batch exports, and transformations. Use when the user asks \"what's broken in my warehouse?\", \"give me a health check\", \"audit my data pipeline\", \"why are some dashboards stale?\", or wants a one-shot triage summary before deciding where to spend time. Produces a prioritized report of issues grouped by severity and type, with recommended next steps.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2192,2195,2198,2201,2204],{"name":2193,"slug":2194,"type":15},"Audit","audit",{"name":2196,"slug":2197,"type":15},"Data Engineering","data-engineering",{"name":2199,"slug":2200,"type":15},"Data Quality","data-quality",{"name":2202,"slug":2203,"type":15},"Observability","observability",{"name":9,"slug":8,"type":15},"2026-06-21T08:19:05.85849",{"slug":2207,"name":2207,"fn":2208,"description":2209,"org":2210,"tags":2211,"stars":26,"repoUrl":27,"updatedAt":2219},"copying-flags-across-projects","copy feature flags across PostHog projects","Copy a feature flag from one PostHog project to one or more target projects in the same organization. Use when the user wants to duplicate a flag, promote a flag from staging to production, sync flags across projects, or replicate a flag configuration in a different workspace. Covers cohort remapping, scheduled-change handling, encrypted payloads, and the safe defaults (disabled in target, no scheduled changes).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2212,2215,2218],{"name":2213,"slug":2214,"type":15},"Deployment","deployment",{"name":2216,"slug":2217,"type":15},"Feature Flags","feature-flags",{"name":9,"slug":8,"type":15},"2026-05-04T05:56:44.484909",{"slug":2221,"name":2221,"fn":2222,"description":2223,"org":2224,"tags":2225,"stars":26,"repoUrl":27,"updatedAt":2237},"diagnosing-experiment-results","diagnose PostHog experiment results and anomalies","Diagnoses bias, anomalies, and strange-looking results on a specific PostHog experiment. Covers empty \u002F 0-exposure experiments, sample ratio mismatch, identity fragmentation, multi-variant exposure, uneven-split exclusion bias, significance traps (peeking, A\u002FA, Bayesian vs Frequentist), PostHog-vs-SQL discrepancies, and surprises after mid-run edits. Symptom-driven dispatch to the right diagnostic.\nTRIGGER when: user asks 'is my experiment biased?' or 'why 0 exposures?', references the bias banner, says a variant looks strange \u002F wrong \u002F off, sees significance flipping, notices PostHog numbers disagreeing with their SQL, sees an A\u002FA test showing significance, or reports surprises after mid-run edits.\nDO NOT TRIGGER when: creating a new experiment (use creating-experiments), only configuring rollout (use configuring-experiment-rollout) or metrics (use configuring-experiment-analytics), or only asking lifecycle questions (use managing-experiment-lifecycle).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2226,2229,2230,2233,2236],{"name":2227,"slug":2228,"type":15},"A\u002FB Testing","a-b-testing",{"name":24,"slug":25,"type":15},{"name":2231,"slug":2232,"type":15},"Data Analysis","data-analysis",{"name":2234,"slug":2235,"type":15},"Debugging","debugging",{"name":9,"slug":8,"type":15},"2026-05-22T06:59:58.103867",{"slug":2239,"name":2239,"fn":2240,"description":2241,"org":2242,"tags":2243,"stars":26,"repoUrl":27,"updatedAt":2251},"diagnosing-missing-recordings","diagnose missing PostHog session recordings","Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling, triggers, ad blockers, and quota\u002Fbilling scenarios.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2244,2245,2246,2249,2250],{"name":24,"slug":25,"type":15},{"name":2234,"slug":2235,"type":15},{"name":2247,"slug":2248,"type":15},"Frontend","frontend",{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},"2026-04-22T05:06:51.989772",{"slug":2253,"name":2253,"fn":2254,"description":2255,"org":2256,"tags":2257,"stars":26,"repoUrl":27,"updatedAt":2262},"diagnosing-sdk-health","diagnose PostHog SDK health","Diagnoses the health of a project's PostHog SDK integrations — which SDKs are out of date and how to fix them. Use when a user asks about PostHog SDK versions, outdated SDKs, upgrade recommendations, \"SDK health\", \"SDK doctor\" (the former name), or when events or features seem off and it might be due to an old SDK.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2258,2259,2260,2261],{"name":24,"slug":25,"type":15},{"name":2234,"slug":2235,"type":15},{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},"2026-04-27T05:46:14.554016",{"slug":2264,"name":2264,"fn":2265,"description":2266,"org":2267,"tags":2268,"stars":26,"repoUrl":27,"updatedAt":2278},"error-tracking-android","track Android errors with PostHog","PostHog error tracking for Android",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2269,2272,2273,2276,2277],{"name":2270,"slug":2271,"type":15},"Android","android",{"name":2234,"slug":2235,"type":15},{"name":2274,"slug":2275,"type":15},"Mobile","mobile",{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:46:26.982494",110,{"items":2281,"total":2444},[2282,2297,2307,2320,2333,2346,2362,2379,2391,2406,2416,2434],{"slug":2283,"name":2283,"fn":2284,"description":2285,"org":2286,"tags":2287,"stars":2294,"repoUrl":2295,"updatedAt":2296},"analyzing-expensive-users","analyze expensive users in AI observability","Analyze the most expensive users in AI observability and explain why they cost so much. Use when the user asks about top spenders, expensive users, per-user LLM cost, user-level cost drivers, or patterns behind high AI observability spend.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2288,2289,2292,2293],{"name":24,"slug":25,"type":15},{"name":2290,"slug":2291,"type":15},"Cost Optimization","cost-optimization",{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-28T05:34:11.117757",{"slug":2298,"name":2298,"fn":2299,"description":2300,"org":2301,"tags":2302,"stars":2294,"repoUrl":2295,"updatedAt":2306},"auditing-endpoints","audit PostHog project endpoints","Audit every endpoint in a PostHog project for staleness, failed materialisations, and unused materialised versions. Use when the user asks \"what endpoints can I clean up?\", \"are any of my endpoints broken?\", \"which materialised versions are still being called?\", or wants a one-shot cleanup pass over the Endpoints product. Produces a prioritised report grouped by issue type, with recommended actions but does not modify anything without explicit confirmation.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2303,2304,2305],{"name":24,"slug":25,"type":15},{"name":2193,"slug":2194,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":2308,"name":2308,"fn":2309,"description":2310,"org":2311,"tags":2312,"stars":2294,"repoUrl":2295,"updatedAt":2319},"auditing-warehouse-source-health","audit PostHog data warehouse source health","Audit the health of a PostHog project's data warehouse sources and syncs — find every broken or degraded source connection, sync schema, and webhook channel. Use when the user asks \"why are my imports failing?\", \"what's broken with my sources?\", \"why is my warehouse data stale?\", or wants a one-shot triage of source\u002Fsync health before deciding where to dig in. Produces a prioritized report grouped by severity, with recommended next steps. For materialized-view health use `auditing-warehouse-view-health`; for a single failing sync use `diagnosing-failed-warehouse-syncs`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2313,2314,2317,2318],{"name":2193,"slug":2194,"type":15},{"name":2315,"slug":2316,"type":15},"Data Warehouse","data-warehouse",{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":2321,"name":2321,"fn":2322,"description":2323,"org":2324,"tags":2325,"stars":2294,"repoUrl":2295,"updatedAt":2332},"auditing-warehouse-view-health","audit PostHog materialized view health","Audit the health of a PostHog project's materialized views (saved queries) — find every failed materialization and flag unused or stale materialized views that cost storage and compute. Use when the user asks \"which of my views are broken?\", \"why is this materialized view failing?\", \"are any of my views wasting compute?\", or wants a one-shot triage of view health. For source\u002Fsync health use `auditing-warehouse-source-health`.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2326,2327,2328,2331],{"name":2193,"slug":2194,"type":15},{"name":2315,"slug":2316,"type":15},{"name":2329,"slug":2330,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":2334,"name":2334,"fn":2335,"description":2336,"org":2337,"tags":2338,"stars":2294,"repoUrl":2295,"updatedAt":2345},"authoring-error-tracking-alerts","author PostHog error tracking alerts","Author error tracking alerts that fire when an issue is created, reopened, or starts spiking. Use when the user asks to set up error notifications, route exceptions to Slack\u002Fwebhook\u002FLinear, or evaluate which error events are worth alerting on. Covers trigger-event selection, integration choice, dedup against existing alerts, and shipping with the canonical message body shape.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2339,2342,2343,2344],{"name":2340,"slug":2341,"type":15},"Alerting","alerting",{"name":2234,"slug":2235,"type":15},{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":2347,"name":2347,"fn":2348,"description":2349,"org":2350,"tags":2351,"stars":2294,"repoUrl":2295,"updatedAt":2361},"authoring-log-alerts","author log alerts in PostHog","Author useful, low-noise log alerts on services in a PostHog project. Use when the user asks to set up alerts for their logs, suggest alerts they should add, or evaluate whether a service is worth monitoring. Covers service triage, baseline characterisation, threshold drafting, back-testing via simulate, and shipping with a notification destination.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2352,2353,2356,2357,2360],{"name":24,"slug":25,"type":15},{"name":2354,"slug":2355,"type":15},"Monitoring","monitoring",{"name":2202,"slug":2203,"type":15},{"name":2358,"slug":2359,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":2363,"name":2363,"fn":2364,"description":2365,"org":2366,"tags":2367,"stars":2294,"repoUrl":2295,"updatedAt":2378},"building-workflows","build and edit PostHog workflows","Build, edit, test, enable, and monitor PostHog workflows over MCP. Author the action\u002Fedge graph so it runs and opens cleanly in the visual editor, then change drafts surgically with patch operations. Use when asked to build, set up, automate, change, fix, or debug a workflow, campaign, broadcast, drip sequence, or event-triggered automation in the workflows product.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2368,2371,2374,2375],{"name":2369,"slug":2370,"type":15},"Automation","automation",{"name":2372,"slug":2373,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},{"name":2376,"slug":2377,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",{"slug":2380,"name":2380,"fn":2381,"description":2382,"org":2383,"tags":2384,"stars":2294,"repoUrl":2295,"updatedAt":2390},"check-posthog-loading","inspect PostHog SDK loading across URLs","Inspect how the PostHog JavaScript SDK is loaded across a list of URLs. Use to confirm consistent installation across pages, find pages missing the snippet, detect mismatched API keys or hosts between pages, and verify the load method (head snippet vs deferred vs array.js).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2385,2386,2387,2388,2389],{"name":24,"slug":25,"type":15},{"name":2234,"slug":2235,"type":15},{"name":2247,"slug":2248,"type":15},{"name":2202,"slug":2203,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":2392,"name":2392,"fn":2393,"description":2394,"org":2395,"tags":2396,"stars":2294,"repoUrl":2295,"updatedAt":2405},"consuming-endpoints-from-client-code","integrate PostHog endpoints into client applications","Wire a PostHog endpoint into a client app or SDK. Covers fetching the OpenAPI spec, generating a typed client with openapi-generator or @hey-api\u002Fopenapi-ts, sending the right auth header, shaping the variables payload (HogQL code_name vs insight breakdown property), handling rate-limit and materialised-endpoint error responses. Use when the user says \"how do I call my endpoint\", \"generate a client for this\", or \"what auth header do I use\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2397,2400,2401,2402],{"name":2398,"slug":2399,"type":15},"API Development","api-development",{"name":2247,"slug":2248,"type":15},{"name":9,"slug":8,"type":15},{"name":2403,"slug":2404,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":2407,"name":2407,"fn":2408,"description":2409,"org":2410,"tags":2411,"stars":2294,"repoUrl":2295,"updatedAt":2415},"copying-endpoints-across-projects","copy PostHog endpoints across projects","Copy a PostHog endpoint (a saved HogQL\u002Finsight query exposed as an API route) to another project in the same organization, or duplicate it under a new name in the same project. Use when the user wants to duplicate an endpoint, promote an endpoint from staging to production, replicate an endpoint's query\u002Fvariables\u002Ffreshness config in another workspace, or clone an endpoint to iterate on it. Unlike feature flags and experiments, endpoints have NO native cross-project copy tool — this skill covers the read-then-recreate flow (endpoint-get then endpoint-create), the active-project switching it requires, name-collision checks, and the safe defaults (land unmaterialised in the target, verify with endpoint-run). Does not cover editing endpoint versions (see managing-endpoint-versions) or authoring a brand-new endpoint from scratch (see creating-an-endpoint).\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2412,2413,2414],{"name":2398,"slug":2399,"type":15},{"name":2358,"slug":2359,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":2417,"name":2417,"fn":2418,"description":2419,"org":2420,"tags":2421,"stars":2294,"repoUrl":2295,"updatedAt":2433},"creating-ai-subscription","schedule recurring AI-generated PostHog reports","Create a recurring AI-generated PostHog report — schedule a free-text prompt to run on a cron, with the LLM-synthesized markdown delivered to email or Slack on each tick. Use when the user wants a recurring AI summary of X on any cadence (daily, weekly, monthly, yearly) rather than a one-off report. (To attach an AI summary to an existing insight\u002Fdashboard subscription instead of a free-text prompt, see `managing-subscriptions` and its `summary_enabled` option.)\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2422,2423,2426,2427,2430],{"name":2369,"slug":2370,"type":15},{"name":2424,"slug":2425,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":2428,"slug":2429,"type":15},"Reporting","reporting",{"name":2431,"slug":2432,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":2435,"name":2435,"fn":2436,"description":2437,"org":2438,"tags":2439,"stars":2294,"repoUrl":2295,"updatedAt":2443},"creating-an-endpoint","create PostHog API endpoints","Create a PostHog endpoint with the right shape on the first try — covers query kind choice, name conventions, what to expose as variables (HogQL code_name vs insight breakdown), data_freshness_seconds, and whether to materialise on day one. Use when the user says \"create an endpoint\", \"expose this query as an API\", \"turn this insight into an endpoint\", or asks for help structuring a new endpoint. Steers away from common mistakes: materialising a query with cohort breakdowns or compare mode, inline-only variables on a materialised endpoint, unbounded date ranges, ambiguous names.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2440,2441,2442],{"name":24,"slug":25,"type":15},{"name":2398,"slug":2399,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]