[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-choosing-trend-or-slope-view":3,"mdc-6ojup5-key":41,"related-repo-posthog-choosing-trend-or-slope-view":658,"related-org-posthog-choosing-trend-or-slope-view":768},{"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":36,"sourceUrl":39,"mdContent":40},"choosing-trend-or-slope-view","visualize trends and growth over time","Clarify how to visualize change over a time range before building a trend. Use whenever the user asks how much something changed, grew, dropped, improved, or regressed between two points or periods — \"how much did X change from A to B\", \"before vs after\", \"start vs end\", \"week over week\", \"compare this month to last\", \"change over time\" — or mentions a \"slope chart\" \u002F \"slopegraph\". Two readings of \"change\" need different charts: the whole trend (a line, every interval) versus just the two endpoints (a slope, start vs end). Ask which they want, then render it. Not for choosing a saved insight ChartDisplayType in the insight editor.\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,17,20,23],{"name":13,"slug":14,"type":15},"Data Visualization","data-visualization","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Reporting","reporting",{"name":21,"slug":22,"type":15},"Charts","charts",{"name":24,"slug":25,"type":15},"Analytics","analytics",59,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fai-plugin","2026-06-18T08:18:57.960157",null,11,[32,33,34,35],"claude-code-plugin","codex-plugin","cursor-plugin","gemini-cli-extension",{"repoUrl":27,"stars":26,"forks":30,"topics":37,"description":38},[32,33,34,35],"Official PostHog plugin for Claude Code, Cursor, Gemini, Codex and other AI coding tools","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fai-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fchoosing-trend-or-slope-view","---\nname: choosing-trend-or-slope-view\ndescription: >\n  Clarify how to visualize change over a time range before building a trend.\n  Use whenever the user asks how much something changed, grew, dropped,\n  improved, or regressed between two points or periods — \"how much did X change\n  from A to B\", \"before vs after\", \"start vs end\", \"week over week\", \"compare\n  this month to last\", \"change over time\" — or mentions a \"slope chart\" \u002F\n  \"slopegraph\". Two readings of \"change\" need different charts: the whole trend\n  (a line, every interval) versus just the two endpoints (a slope, start vs\n  end). Ask which they want, then render it. Not for choosing a saved insight\n  ChartDisplayType in the insight editor.\n---\n\n# Choosing a trend line vs a slope view\n\n\"How did X change between A and B?\" is ambiguous. Two charts answer two different\nquestions, so **clarify before you build** unless the user already named one:\n\n- **Change over time (line)** — the value at every interval across the range.\n  Shows the _path_: dips, spikes, when it moved. This is the default trend.\n- **Start vs end (slope)** — only the first and last point, one line per series\n  connecting them. Shows the _net change_ and, across many series, which rose,\n  which fell, and any rank flips — without the noise of the path between.\n\nWhen the request could be either, ask a short either\u002For, e.g.:\n\n> Do you want to see how it moved across the whole period (a line chart), or just\n> the change from the start to the end (a slope chart)?\n\nIf the user clearly wants one — \"just tell me how much it grew start to end\" → slope;\n\"show me the trend \u002F when did it spike\" → line — skip the question and build it.\n\n## How to render each\n\nBoth come from the **same** `TrendsQuery` over the same date range — the slope is\nthat series collapsed to its first and last point, not a different query.\n\n### Change over time → line\n\nDefault trends behavior. Create or run a `TrendsQuery` and leave\n`trendsFilter.display` as `ActionsLineGraph` (the default, \"change over time\"):\n\n```json\n{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [{ \"kind\": \"EventsNode\", \"event\": \"$pageview\", \"math\": \"total\" }],\n  \"dateRange\": { \"date_from\": \"2025-01-01\", \"date_to\": \"2025-03-31\" },\n  \"trendsFilter\": { \"display\": \"ActionsLineGraph\" }\n}\n```\n\n### Start vs end → slope\n\nRun the trend with `posthog:query-trends`. The result card Max renders has a\n**Line \u002F Bar \u002F Slope** view toggle — switch it to **Slope** to show each series as\na single line from its first to its last point, with the per-series change in the\nlegend. Tell the user they can flip to the Slope view on the result.\n\nThe slope view is best for a clean before→after comparison, especially with several\nseries\u002Fcategories whose relative movement matters. Pick a date range whose two ends\nare the points you want compared (the slope uses the first and last interval).\n\n## Important limits\n\n- **Two surfaces, one computation.** Both the inline slope (Max's `query-trends`\n  result card) and the saved-insight slope (`ChartDisplayType.SlopeGraph`, behind the\n  `slope-graph-insight` feature flag) show the same thing: the first interval's value\n  vs the last interval's value, at the chosen group-by interval. The grouping defines\n  the slope — group by month to compare the first vs last month, by day for the first\n  vs last day. Use the inline view for a quick before→after on a result you're already\n  looking at; reach for the saved display to persist it on a dashboard where the flag\n  is enabled. A still-accumulating final period is shown as-is with a dashed connector,\n  the same affordance the line chart uses for an incomplete tail.\n- For period-over-period on a single series (this month vs last), a line with\n  `compareFilter: { \"compare\": true }` overlays the two periods; a slope is the\n  better fit when comparing the endpoints of **many** series at once.\n",{"data":42,"body":43},{"name":4,"description":6},{"type":44,"children":45},"root",[46,55,69,109,114,123,128,135,156,163,191,551,557,584,589,595,652],{"type":47,"tag":48,"props":49,"children":51},"element","h1",{"id":50},"choosing-a-trend-line-vs-a-slope-view",[52],{"type":53,"value":54},"text","Choosing a trend line vs a slope view",{"type":47,"tag":56,"props":57,"children":58},"p",{},[59,61,67],{"type":53,"value":60},"\"How did X change between A and B?\" is ambiguous. Two charts answer two different\nquestions, so ",{"type":47,"tag":62,"props":63,"children":64},"strong",{},[65],{"type":53,"value":66},"clarify before you build",{"type":53,"value":68}," unless the user already named one:",{"type":47,"tag":70,"props":71,"children":72},"ul",{},[73,92],{"type":47,"tag":74,"props":75,"children":76},"li",{},[77,82,84,90],{"type":47,"tag":62,"props":78,"children":79},{},[80],{"type":53,"value":81},"Change over time (line)",{"type":53,"value":83}," — the value at every interval across the range.\nShows the ",{"type":47,"tag":85,"props":86,"children":87},"em",{},[88],{"type":53,"value":89},"path",{"type":53,"value":91},": dips, spikes, when it moved. This is the default trend.",{"type":47,"tag":74,"props":93,"children":94},{},[95,100,102,107],{"type":47,"tag":62,"props":96,"children":97},{},[98],{"type":53,"value":99},"Start vs end (slope)",{"type":53,"value":101}," — only the first and last point, one line per series\nconnecting them. Shows the ",{"type":47,"tag":85,"props":103,"children":104},{},[105],{"type":53,"value":106},"net change",{"type":53,"value":108}," and, across many series, which rose,\nwhich fell, and any rank flips — without the noise of the path between.",{"type":47,"tag":56,"props":110,"children":111},{},[112],{"type":53,"value":113},"When the request could be either, ask a short either\u002For, e.g.:",{"type":47,"tag":115,"props":116,"children":117},"blockquote",{},[118],{"type":47,"tag":56,"props":119,"children":120},{},[121],{"type":53,"value":122},"Do you want to see how it moved across the whole period (a line chart), or just\nthe change from the start to the end (a slope chart)?",{"type":47,"tag":56,"props":124,"children":125},{},[126],{"type":53,"value":127},"If the user clearly wants one — \"just tell me how much it grew start to end\" → slope;\n\"show me the trend \u002F when did it spike\" → line — skip the question and build it.",{"type":47,"tag":129,"props":130,"children":132},"h2",{"id":131},"how-to-render-each",[133],{"type":53,"value":134},"How to render each",{"type":47,"tag":56,"props":136,"children":137},{},[138,140,145,147,154],{"type":53,"value":139},"Both come from the ",{"type":47,"tag":62,"props":141,"children":142},{},[143],{"type":53,"value":144},"same",{"type":53,"value":146}," ",{"type":47,"tag":148,"props":149,"children":151},"code",{"className":150},[],[152],{"type":53,"value":153},"TrendsQuery",{"type":53,"value":155}," over the same date range — the slope is\nthat series collapsed to its first and last point, not a different query.",{"type":47,"tag":157,"props":158,"children":160},"h3",{"id":159},"change-over-time-line",[161],{"type":53,"value":162},"Change over time → line",{"type":47,"tag":56,"props":164,"children":165},{},[166,168,173,175,181,183,189],{"type":53,"value":167},"Default trends behavior. Create or run a ",{"type":47,"tag":148,"props":169,"children":171},{"className":170},[],[172],{"type":53,"value":153},{"type":53,"value":174}," and leave\n",{"type":47,"tag":148,"props":176,"children":178},{"className":177},[],[179],{"type":53,"value":180},"trendsFilter.display",{"type":53,"value":182}," as ",{"type":47,"tag":148,"props":184,"children":186},{"className":185},[],[187],{"type":53,"value":188},"ActionsLineGraph",{"type":53,"value":190}," (the default, \"change over time\"):",{"type":47,"tag":192,"props":193,"children":198},"pre",{"className":194,"code":195,"language":196,"meta":197,"style":197},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"kind\": \"TrendsQuery\",\n  \"series\": [{ \"kind\": \"EventsNode\", \"event\": \"$pageview\", \"math\": \"total\" }],\n  \"dateRange\": { \"date_from\": \"2025-01-01\", \"date_to\": \"2025-03-31\" },\n  \"trendsFilter\": { \"display\": \"ActionsLineGraph\" }\n}\n","json","",[199],{"type":47,"tag":148,"props":200,"children":201},{"__ignoreMap":197},[202,214,258,388,483,542],{"type":47,"tag":203,"props":204,"children":207},"span",{"class":205,"line":206},"line",1,[208],{"type":47,"tag":203,"props":209,"children":211},{"style":210},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[212],{"type":53,"value":213},"{\n",{"type":47,"tag":203,"props":215,"children":217},{"class":205,"line":216},2,[218,223,229,234,239,244,249,253],{"type":47,"tag":203,"props":219,"children":220},{"style":210},[221],{"type":53,"value":222},"  \"",{"type":47,"tag":203,"props":224,"children":226},{"style":225},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[227],{"type":53,"value":228},"kind",{"type":47,"tag":203,"props":230,"children":231},{"style":210},[232],{"type":53,"value":233},"\"",{"type":47,"tag":203,"props":235,"children":236},{"style":210},[237],{"type":53,"value":238},":",{"type":47,"tag":203,"props":240,"children":241},{"style":210},[242],{"type":53,"value":243}," \"",{"type":47,"tag":203,"props":245,"children":247},{"style":246},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[248],{"type":53,"value":153},{"type":47,"tag":203,"props":250,"children":251},{"style":210},[252],{"type":53,"value":233},{"type":47,"tag":203,"props":254,"children":255},{"style":210},[256],{"type":53,"value":257},",\n",{"type":47,"tag":203,"props":259,"children":261},{"class":205,"line":260},3,[262,266,271,275,279,284,288,293,297,301,305,310,314,319,323,328,332,336,340,345,349,353,357,362,366,370,374,379,383],{"type":47,"tag":203,"props":263,"children":264},{"style":210},[265],{"type":53,"value":222},{"type":47,"tag":203,"props":267,"children":268},{"style":225},[269],{"type":53,"value":270},"series",{"type":47,"tag":203,"props":272,"children":273},{"style":210},[274],{"type":53,"value":233},{"type":47,"tag":203,"props":276,"children":277},{"style":210},[278],{"type":53,"value":238},{"type":47,"tag":203,"props":280,"children":281},{"style":210},[282],{"type":53,"value":283}," [{",{"type":47,"tag":203,"props":285,"children":286},{"style":210},[287],{"type":53,"value":243},{"type":47,"tag":203,"props":289,"children":291},{"style":290},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[292],{"type":53,"value":228},{"type":47,"tag":203,"props":294,"children":295},{"style":210},[296],{"type":53,"value":233},{"type":47,"tag":203,"props":298,"children":299},{"style":210},[300],{"type":53,"value":238},{"type":47,"tag":203,"props":302,"children":303},{"style":210},[304],{"type":53,"value":243},{"type":47,"tag":203,"props":306,"children":307},{"style":246},[308],{"type":53,"value":309},"EventsNode",{"type":47,"tag":203,"props":311,"children":312},{"style":210},[313],{"type":53,"value":233},{"type":47,"tag":203,"props":315,"children":316},{"style":210},[317],{"type":53,"value":318},",",{"type":47,"tag":203,"props":320,"children":321},{"style":210},[322],{"type":53,"value":243},{"type":47,"tag":203,"props":324,"children":325},{"style":290},[326],{"type":53,"value":327},"event",{"type":47,"tag":203,"props":329,"children":330},{"style":210},[331],{"type":53,"value":233},{"type":47,"tag":203,"props":333,"children":334},{"style":210},[335],{"type":53,"value":238},{"type":47,"tag":203,"props":337,"children":338},{"style":210},[339],{"type":53,"value":243},{"type":47,"tag":203,"props":341,"children":342},{"style":246},[343],{"type":53,"value":344},"$pageview",{"type":47,"tag":203,"props":346,"children":347},{"style":210},[348],{"type":53,"value":233},{"type":47,"tag":203,"props":350,"children":351},{"style":210},[352],{"type":53,"value":318},{"type":47,"tag":203,"props":354,"children":355},{"style":210},[356],{"type":53,"value":243},{"type":47,"tag":203,"props":358,"children":359},{"style":290},[360],{"type":53,"value":361},"math",{"type":47,"tag":203,"props":363,"children":364},{"style":210},[365],{"type":53,"value":233},{"type":47,"tag":203,"props":367,"children":368},{"style":210},[369],{"type":53,"value":238},{"type":47,"tag":203,"props":371,"children":372},{"style":210},[373],{"type":53,"value":243},{"type":47,"tag":203,"props":375,"children":376},{"style":246},[377],{"type":53,"value":378},"total",{"type":47,"tag":203,"props":380,"children":381},{"style":210},[382],{"type":53,"value":233},{"type":47,"tag":203,"props":384,"children":385},{"style":210},[386],{"type":53,"value":387}," }],\n",{"type":47,"tag":203,"props":389,"children":391},{"class":205,"line":390},4,[392,396,401,405,409,414,418,423,427,431,435,440,444,448,452,457,461,465,469,474,478],{"type":47,"tag":203,"props":393,"children":394},{"style":210},[395],{"type":53,"value":222},{"type":47,"tag":203,"props":397,"children":398},{"style":225},[399],{"type":53,"value":400},"dateRange",{"type":47,"tag":203,"props":402,"children":403},{"style":210},[404],{"type":53,"value":233},{"type":47,"tag":203,"props":406,"children":407},{"style":210},[408],{"type":53,"value":238},{"type":47,"tag":203,"props":410,"children":411},{"style":210},[412],{"type":53,"value":413}," {",{"type":47,"tag":203,"props":415,"children":416},{"style":210},[417],{"type":53,"value":243},{"type":47,"tag":203,"props":419,"children":420},{"style":290},[421],{"type":53,"value":422},"date_from",{"type":47,"tag":203,"props":424,"children":425},{"style":210},[426],{"type":53,"value":233},{"type":47,"tag":203,"props":428,"children":429},{"style":210},[430],{"type":53,"value":238},{"type":47,"tag":203,"props":432,"children":433},{"style":210},[434],{"type":53,"value":243},{"type":47,"tag":203,"props":436,"children":437},{"style":246},[438],{"type":53,"value":439},"2025-01-01",{"type":47,"tag":203,"props":441,"children":442},{"style":210},[443],{"type":53,"value":233},{"type":47,"tag":203,"props":445,"children":446},{"style":210},[447],{"type":53,"value":318},{"type":47,"tag":203,"props":449,"children":450},{"style":210},[451],{"type":53,"value":243},{"type":47,"tag":203,"props":453,"children":454},{"style":290},[455],{"type":53,"value":456},"date_to",{"type":47,"tag":203,"props":458,"children":459},{"style":210},[460],{"type":53,"value":233},{"type":47,"tag":203,"props":462,"children":463},{"style":210},[464],{"type":53,"value":238},{"type":47,"tag":203,"props":466,"children":467},{"style":210},[468],{"type":53,"value":243},{"type":47,"tag":203,"props":470,"children":471},{"style":246},[472],{"type":53,"value":473},"2025-03-31",{"type":47,"tag":203,"props":475,"children":476},{"style":210},[477],{"type":53,"value":233},{"type":47,"tag":203,"props":479,"children":480},{"style":210},[481],{"type":53,"value":482}," },\n",{"type":47,"tag":203,"props":484,"children":486},{"class":205,"line":485},5,[487,491,496,500,504,508,512,517,521,525,529,533,537],{"type":47,"tag":203,"props":488,"children":489},{"style":210},[490],{"type":53,"value":222},{"type":47,"tag":203,"props":492,"children":493},{"style":225},[494],{"type":53,"value":495},"trendsFilter",{"type":47,"tag":203,"props":497,"children":498},{"style":210},[499],{"type":53,"value":233},{"type":47,"tag":203,"props":501,"children":502},{"style":210},[503],{"type":53,"value":238},{"type":47,"tag":203,"props":505,"children":506},{"style":210},[507],{"type":53,"value":413},{"type":47,"tag":203,"props":509,"children":510},{"style":210},[511],{"type":53,"value":243},{"type":47,"tag":203,"props":513,"children":514},{"style":290},[515],{"type":53,"value":516},"display",{"type":47,"tag":203,"props":518,"children":519},{"style":210},[520],{"type":53,"value":233},{"type":47,"tag":203,"props":522,"children":523},{"style":210},[524],{"type":53,"value":238},{"type":47,"tag":203,"props":526,"children":527},{"style":210},[528],{"type":53,"value":243},{"type":47,"tag":203,"props":530,"children":531},{"style":246},[532],{"type":53,"value":188},{"type":47,"tag":203,"props":534,"children":535},{"style":210},[536],{"type":53,"value":233},{"type":47,"tag":203,"props":538,"children":539},{"style":210},[540],{"type":53,"value":541}," }\n",{"type":47,"tag":203,"props":543,"children":545},{"class":205,"line":544},6,[546],{"type":47,"tag":203,"props":547,"children":548},{"style":210},[549],{"type":53,"value":550},"}\n",{"type":47,"tag":157,"props":552,"children":554},{"id":553},"start-vs-end-slope",[555],{"type":53,"value":556},"Start vs end → slope",{"type":47,"tag":56,"props":558,"children":559},{},[560,562,568,570,575,577,582],{"type":53,"value":561},"Run the trend with ",{"type":47,"tag":148,"props":563,"children":565},{"className":564},[],[566],{"type":53,"value":567},"posthog:query-trends",{"type":53,"value":569},". The result card Max renders has a\n",{"type":47,"tag":62,"props":571,"children":572},{},[573],{"type":53,"value":574},"Line \u002F Bar \u002F Slope",{"type":53,"value":576}," view toggle — switch it to ",{"type":47,"tag":62,"props":578,"children":579},{},[580],{"type":53,"value":581},"Slope",{"type":53,"value":583}," to show each series as\na single line from its first to its last point, with the per-series change in the\nlegend. Tell the user they can flip to the Slope view on the result.",{"type":47,"tag":56,"props":585,"children":586},{},[587],{"type":53,"value":588},"The slope view is best for a clean before→after comparison, especially with several\nseries\u002Fcategories whose relative movement matters. Pick a date range whose two ends\nare the points you want compared (the slope uses the first and last interval).",{"type":47,"tag":129,"props":590,"children":592},{"id":591},"important-limits",[593],{"type":53,"value":594},"Important limits",{"type":47,"tag":70,"props":596,"children":597},{},[598,632],{"type":47,"tag":74,"props":599,"children":600},{},[601,606,608,614,616,622,624,630],{"type":47,"tag":62,"props":602,"children":603},{},[604],{"type":53,"value":605},"Two surfaces, one computation.",{"type":53,"value":607}," Both the inline slope (Max's ",{"type":47,"tag":148,"props":609,"children":611},{"className":610},[],[612],{"type":53,"value":613},"query-trends",{"type":53,"value":615},"\nresult card) and the saved-insight slope (",{"type":47,"tag":148,"props":617,"children":619},{"className":618},[],[620],{"type":53,"value":621},"ChartDisplayType.SlopeGraph",{"type":53,"value":623},", behind the\n",{"type":47,"tag":148,"props":625,"children":627},{"className":626},[],[628],{"type":53,"value":629},"slope-graph-insight",{"type":53,"value":631}," feature flag) show the same thing: the first interval's value\nvs the last interval's value, at the chosen group-by interval. The grouping defines\nthe slope — group by month to compare the first vs last month, by day for the first\nvs last day. Use the inline view for a quick before→after on a result you're already\nlooking at; reach for the saved display to persist it on a dashboard where the flag\nis enabled. A still-accumulating final period is shown as-is with a dashed connector,\nthe same affordance the line chart uses for an incomplete tail.",{"type":47,"tag":74,"props":633,"children":634},{},[635,637,643,645,650],{"type":53,"value":636},"For period-over-period on a single series (this month vs last), a line with\n",{"type":47,"tag":148,"props":638,"children":640},{"className":639},[],[641],{"type":53,"value":642},"compareFilter: { \"compare\": true }",{"type":53,"value":644}," overlays the two periods; a slope is the\nbetter fit when comparing the endpoints of ",{"type":47,"tag":62,"props":646,"children":647},{},[648],{"type":53,"value":649},"many",{"type":53,"value":651}," series at once.",{"type":47,"tag":653,"props":654,"children":655},"style",{},[656],{"type":53,"value":657},"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":659,"total":767},[660,675,693,710,727,741,759],{"slug":661,"name":661,"fn":662,"description":663,"org":664,"tags":665,"stars":26,"repoUrl":27,"updatedAt":674},"analyzing-experiment-session-replays","analyze session replays for PostHog experiments","Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with different experiment variants, identify usability issues, compare behavior patterns between control and test groups, or get qualitative insights to complement quantitative experiment results.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[666,667,670,671],{"name":24,"slug":25,"type":15},{"name":668,"slug":669,"type":15},"Design","design",{"name":9,"slug":8,"type":15},{"name":672,"slug":673,"type":15},"User Research","user-research","2026-04-06T18:44:38.291781",{"slug":676,"name":676,"fn":677,"description":678,"org":679,"tags":680,"stars":26,"repoUrl":27,"updatedAt":692},"assessing-heatmaps","analyze page heatmaps and suggest improvements","Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click \u002F rageclick \u002F scroll-depth data for a URL, names the hot elements by cross-referencing autocapture events on the same page, and can create a saved heatmap the user opens in PostHog, then summarizes the behavior and proposes improvements.\nTRIGGER when: user asks what a heatmap shows, why people aren't clicking something, where users rage-click, how far they scroll, what to change on a page based on heatmap\u002Fclick data, or to 'analyze\u002Fassess\u002Freview the heatmap' for a URL.\nDO NOT TRIGGER when: the user only wants to create a saved heatmap screenshot with no analysis (use heatmaps-saved-create directly), or is asking about session replay in general (use investigating-replay).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[681,682,685,686,689],{"name":24,"slug":25,"type":15},{"name":683,"slug":684,"type":15},"Frontend","frontend",{"name":9,"slug":8,"type":15},{"name":687,"slug":688,"type":15},"Product Management","product-management",{"name":690,"slug":691,"type":15},"UX Design","ux-design","2026-06-05T07:40:43.37798",{"slug":694,"name":694,"fn":695,"description":696,"org":697,"tags":698,"stars":26,"repoUrl":27,"updatedAt":709},"auditing-experiments-flags","audit PostHog experiments and feature flags","Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations. Read when the user asks to audit, health-check, or review experiments or feature flags, check flag hygiene, or verify experiment setup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[699,702,705,706],{"name":700,"slug":701,"type":15},"Audit","audit",{"name":703,"slug":704,"type":15},"Feature Flags","feature-flags",{"name":9,"slug":8,"type":15},{"name":707,"slug":708,"type":15},"QA","qa","2026-04-06T18:44:30.657553",{"slug":711,"name":711,"fn":712,"description":713,"org":714,"tags":715,"stars":26,"repoUrl":27,"updatedAt":726},"authoring-scouts","author and edit PostHog Signals scouts","How to author, edit, and adapt PostHog Signals scouts — the scheduled agents that scan a project and write reports into the Signals inbox. Use when a user wants to customize a canonical scout for their own setup (narrow its scope, retune its thresholds, add disqualifiers), tweak a scout's schedule or dry-run posture, or write a brand-new scout from scratch for a specific use case (a custom event, a product surface no canonical scout covers), or steer a scout without editing it at all by leaving it a note. Covers the scout SKILL.md anatomy, the report contract, the dedupe + scratchpad-memory conventions, the scout-notes steering channel, the per-team skills-store path vs the canonical in-repo path, and the write-and-inspect test loop (with dry-run as an optional safety net). Trigger on \"write\u002Fedit\u002Fcustomize a signals scout\", \"new scout for X\", \"tune my scout schedule\", \"make a scout that watches \u003Cevent>\", \"leave a note for \u002F give feedback to a scout\", \"tell the scouts about X\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[716,719,722,725],{"name":717,"slug":718,"type":15},"Agents","agents",{"name":720,"slug":721,"type":15},"Automation","automation",{"name":723,"slug":724,"type":15},"Observability","observability",{"name":9,"slug":8,"type":15},"2026-07-28T05:33:45.509154",{"slug":728,"name":728,"fn":729,"description":730,"org":731,"tags":732,"stars":26,"repoUrl":27,"updatedAt":740},"building-a-dashboard","build and update PostHog dashboards","Build a new dashboard, or update an existing one, from a set of insights — the same job the in-app assistant does with its upsert-dashboard tool, but over MCP. Use when a user asks to create a dashboard, put several metrics\u002Fcharts together on one page, assemble a dashboard for a topic (product analytics, retention, revenue, activation, etc.), or add\u002Fremove\u002Freplace insights on a dashboard they already have. Covers deciding create vs update, reusing existing insights vs creating new ones, and using PostHog's vetted dashboard templates as reference for what a strong dashboard on a topic looks like.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[733,734,737],{"name":24,"slug":25,"type":15},{"name":735,"slug":736,"type":15},"Dashboards","dashboards",{"name":738,"slug":739,"type":15},"MCP","mcp","2026-07-21T06:07:38.060598",{"slug":742,"name":742,"fn":743,"description":744,"org":745,"tags":746,"stars":26,"repoUrl":27,"updatedAt":758},"checking-deploy-timing","correlate PostHog deployments with GitHub commits","Determine when a PostHog code change reached a given environment by reading the hidden GIT deploy annotations in the project and correlating them with the merge commit on GitHub. Use when PostHog staff ask \"when was X deployed\", \"is my change live in the US\u002FEU yet\", \"has my PR shipped\", \"did the fix roll out to prod-us\", or otherwise want to know whether\u002Fwhen a commit, PR, or feature went out to a region. Do not answer deploy-timing questions from event\u002Fdata volume alone — that only shows when data changed, not when code shipped.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[747,750,753,756,757],{"name":748,"slug":749,"type":15},"Deployment","deployment",{"name":751,"slug":752,"type":15},"Git","git",{"name":754,"slug":755,"type":15},"GitHub","github",{"name":723,"slug":724,"type":15},{"name":9,"slug":8,"type":15},"2026-06-28T07:46:59.53536",{"slug":4,"name":4,"fn":5,"description":6,"org":760,"tags":761,"stars":26,"repoUrl":27,"updatedAt":28},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[762,763,764,765,766],{"name":24,"slug":25,"type":15},{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},56,{"items":769,"total":928},[770,785,795,808,821,836,852,865,877,892,902,918],{"slug":771,"name":771,"fn":772,"description":773,"org":774,"tags":775,"stars":782,"repoUrl":783,"updatedAt":784},"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},[776,777,780,781],{"name":24,"slug":25,"type":15},{"name":778,"slug":779,"type":15},"Cost Optimization","cost-optimization",{"name":723,"slug":724,"type":15},{"name":9,"slug":8,"type":15},35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-28T05:34:11.117757",{"slug":786,"name":786,"fn":787,"description":788,"org":789,"tags":790,"stars":782,"repoUrl":783,"updatedAt":794},"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},[791,792,793],{"name":24,"slug":25,"type":15},{"name":700,"slug":701,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":796,"name":796,"fn":797,"description":798,"org":799,"tags":800,"stars":782,"repoUrl":783,"updatedAt":807},"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},[801,802,805,806],{"name":700,"slug":701,"type":15},{"name":803,"slug":804,"type":15},"Data Warehouse","data-warehouse",{"name":723,"slug":724,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":809,"name":809,"fn":810,"description":811,"org":812,"tags":813,"stars":782,"repoUrl":783,"updatedAt":820},"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},[814,815,816,819],{"name":700,"slug":701,"type":15},{"name":803,"slug":804,"type":15},{"name":817,"slug":818,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":822,"name":822,"fn":823,"description":824,"org":825,"tags":826,"stars":782,"repoUrl":783,"updatedAt":835},"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},[827,830,833,834],{"name":828,"slug":829,"type":15},"Alerting","alerting",{"name":831,"slug":832,"type":15},"Debugging","debugging",{"name":723,"slug":724,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":837,"name":837,"fn":838,"description":839,"org":840,"tags":841,"stars":782,"repoUrl":783,"updatedAt":851},"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},[842,843,846,847,850],{"name":24,"slug":25,"type":15},{"name":844,"slug":845,"type":15},"Monitoring","monitoring",{"name":723,"slug":724,"type":15},{"name":848,"slug":849,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":853,"name":853,"fn":854,"description":855,"org":856,"tags":857,"stars":782,"repoUrl":783,"updatedAt":864},"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},[858,859,860,861],{"name":720,"slug":721,"type":15},{"name":738,"slug":739,"type":15},{"name":9,"slug":8,"type":15},{"name":862,"slug":863,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",{"slug":866,"name":866,"fn":867,"description":868,"org":869,"tags":870,"stars":782,"repoUrl":783,"updatedAt":876},"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},[871,872,873,874,875],{"name":24,"slug":25,"type":15},{"name":831,"slug":832,"type":15},{"name":683,"slug":684,"type":15},{"name":723,"slug":724,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":878,"name":878,"fn":879,"description":880,"org":881,"tags":882,"stars":782,"repoUrl":783,"updatedAt":891},"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},[883,886,887,888],{"name":884,"slug":885,"type":15},"API Development","api-development",{"name":683,"slug":684,"type":15},{"name":9,"slug":8,"type":15},{"name":889,"slug":890,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":893,"name":893,"fn":894,"description":895,"org":896,"tags":897,"stars":782,"repoUrl":783,"updatedAt":901},"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},[898,899,900],{"name":884,"slug":885,"type":15},{"name":848,"slug":849,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":903,"name":903,"fn":904,"description":905,"org":906,"tags":907,"stars":782,"repoUrl":783,"updatedAt":917},"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},[908,909,912,913,914],{"name":720,"slug":721,"type":15},{"name":910,"slug":911,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},{"name":915,"slug":916,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":919,"name":919,"fn":920,"description":921,"org":922,"tags":923,"stars":782,"repoUrl":783,"updatedAt":927},"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},[924,925,926],{"name":24,"slug":25,"type":15},{"name":884,"slug":885,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]