[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-finding-replay-for-issue":3,"mdc-umch1o-key":49,"related-repo-posthog-finding-replay-for-issue":1360,"related-org-posthog-finding-replay-for-issue":1460},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":44,"sourceUrl":47,"mdContent":48},"finding-replay-for-issue","link PostHog replays to error tracking issues","Finds the most informative session recording linked to an error tracking issue. Use when a user has an error tracking issue ID and wants to watch a replay showing what the user was doing when the error occurred. Ranks linked sessions by recency, activity score, and journey completeness, then summarizes the pre-error context. Replaces blind session picking from potentially hundreds of linked recordings.\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],{"name":13,"slug":14,"type":15},"Observability","observability","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Triage","triage",{"name":21,"slug":22,"type":15},"Debugging","debugging",35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-05-02T05:34:36.66749",null,2977,[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"ab-testing","ai-analytics","analytics","cdp","data-warehouse","experiments","feature-flags","javascript","product-analytics","python","react","session-replay","surveys","typescript","web-analytics",{"repoUrl":24,"stars":23,"forks":27,"topics":45,"description":46},[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"🦔 PostHog is an all-in-one developer platform for building successful products. We offer product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog\u002Ftree\u002FHEAD\u002Fproducts\u002Freplay\u002Fskills\u002Ffinding-replay-for-issue","---\nname: finding-replay-for-issue\ndescription: >\n  Finds the most informative session recording linked to an error tracking issue.\n  Use when a user has an error tracking issue ID and wants to watch a replay showing\n  what the user was doing when the error occurred. Ranks linked sessions by recency,\n  activity score, and journey completeness, then summarizes the pre-error context.\n  Replaces blind session picking from potentially hundreds of linked recordings.\n---\n\n# Finding the best replay for an error tracking issue\n\nWhen a user says \"show me a replay for this error\" or \"find a recording for issue X\",\nthe goal isn't just any linked session — it's the one that best shows what led to the error.\nPopular issues can have hundreds of linked sessions, and most are crash-only fragments\nor duplicate occurrences. This skill picks the most useful one.\n\n## Available tools\n\n| Tool                                    | Purpose                                                    |\n| --------------------------------------- | ---------------------------------------------------------- |\n| `posthog:query-error-tracking-issue`    | Get issue details (fingerprint, status, volume)            |\n| `posthog:execute-sql`                   | Query exception events to find linked sessions             |\n| `posthog:query-session-recordings-list` | Fetch recording metadata for candidate sessions            |\n| `posthog:session-recording-get`         | Get full details for the selected recording                |\n| `posthog:vision-observations-list`      | Check for an existing Replay Vision AI summary             |\n| `posthog:vision-scanners-list`          | Find summarizer scanners (`scanner_type=summarizer`)       |\n| `posthog:vision-scanners-scan-session`  | Run a summarizer scanner on the recording (optional, slow) |\n\n## Workflow\n\n### Step 1 — Get the issue details\n\nFetch the error tracking issue to understand what you're looking for:\n\n```json\nposthog:query-error-tracking-issue\n{\n  \"issueId\": \"\u003Cissue_id>\"\n}\n```\n\nNote the issue's `fingerprint`, `name`, and `description` — you'll need the fingerprint\nto find linked sessions.\n\n### Step 2 — Find sessions with this error\n\nQuery exception events to get session IDs where this error occurred.\nOrder by recency and include basic context:\n\n```sql\nposthog:execute-sql\nSELECT\n    $session_id AS session_id,\n    count() AS occurrences,\n    min(timestamp) AS first_seen,\n    max(timestamp) AS last_seen,\n    any(properties.$current_url) AS url\nFROM events\nWHERE event = '$exception'\n    AND properties.$exception_fingerprint = '\u003Cfingerprint>'\n    AND $session_id IS NOT NULL\n    AND timestamp > now() - INTERVAL 30 DAY\nGROUP BY session_id\nORDER BY last_seen DESC\nLIMIT 20\n```\n\nThis gives you up to 20 candidate sessions. More candidates means better selection.\n\n### Step 3 — Rank the candidates\n\nFetch recording metadata for the candidate sessions to rank them:\n\n```json\nposthog:query-session-recordings-list\n{\n  \"session_ids\": [\"\u003Cid1>\", \"\u003Cid2>\", \"\u003Cid3>\", ...],\n  \"date_from\": \"-30d\"\n}\n```\n\nPick the best recording by filtering out bad candidates, then ranking what's left:\n\n**Filter out:**\n\n- Sessions under 10 seconds (crash-only fragments, no pre-error context)\n- Sessions over 1 hour (too much data to load, error is a needle in a haystack)\n\n**Rank by:**\n\n1. **Sweet-spot duration** — 2-15 minutes is ideal. Long enough to show the user's\n   journey before the error, short enough to be practical to watch or summarize.\n2. **Active time ratio** — compare `active_seconds` to `recording_duration`. A 20-minute\n   recording with 10 seconds of activity is mostly idle tabs — the user walked away.\n   Prefer sessions where `active_seconds \u002F recording_duration` is above 0.3 (30%).\n3. **Activity score** — higher `activity_score` means the user was actively interacting,\n   not idle. More interesting to watch.\n4. **Recency** — more recent sessions reflect current app behavior.\n\n### Step 4 — Present the finding\n\nFetch full details for the selected recording:\n\n```json\nposthog:session-recording-get\n{\n  \"id\": \"\u003Cbest_recording_id>\"\n}\n```\n\nPresent to the user:\n\n- **The recording** with a link to watch it\n- **Why this one** — briefly explain the selection (\"longest session with the error,\n  user was browsing 3 pages before hitting it\")\n- **Pre-error context** — what pages the user visited and key actions before the exception,\n  derived from the events query in step 2 (the `url` and `first_seen` columns)\n- **Error frequency** — how many times the error occurred in this session\n\n### Optional: AI summary via Replay Vision\n\nIf the user wants a narrative summary without watching, use Replay Vision —\n\"check-then-scan\", since a scanner can only observe a given session once.\n\n1. **Check for an existing summary** on the selected recording:\n\n   ```json\n   posthog:vision-observations-list\n   {\n     \"session_id\": \"\u003Cbest_recording_id>\"\n   }\n   ```\n\n   If an observation has `scanner_snapshot.scanner_type` `summarizer` and\n   `status` `succeeded`, read `scanner_result.model_output` (`title`, `summary`,\n   `intent`, `outcome`, `friction_points`, `keywords`) — done.\n\n2. **Find a summarizer scanner** if none exists:\n\n   ```json\n   posthog:vision-scanners-list\n   {\n     \"scanner_type\": \"summarizer\"\n   }\n   ```\n\n   One → use it. More than one → ask the user which (show name + prompt). None →\n   offer to create one via the `creating-replay-vision-scanners` skill.\n\n3. **Scan the recording** with the chosen scanner (async, several minutes):\n\n   ```json\n   posthog:vision-scanners-scan-session\n   {\n     \"id\": \"\u003Cscanner_id>\",\n     \"session_id\": \"\u003Cbest_recording_id>\"\n   }\n   ```\n\n4. **Retrieve** by polling `vision-observations-list` until `succeeded`.\n\n## Tips\n\n- If all candidate sessions are very short (\u003C10 seconds), the error likely crashes\n  the page immediately. Note this — it's useful context even without a long replay.\n- When the issue has very few linked sessions (\u003C3), skip the ranking and just present\n  what's available with a note about the small sample.\n- If `$session_id` is null on many exception events, session replay may not be enabled\n  for the affected users. Mention this as a possible gap.\n- Replay Vision has no per-call focus parameter — a summarizer scanner's focus\n  comes from its own prompt. For error-focused summaries, prefer (or create) a\n  summarizer scanner whose prompt targets error\u002Fexception context rather than the\n  whole session.\n",{"data":50,"body":51},{"name":4,"description":6},{"type":52,"children":53},"root",[54,63,69,76,232,238,245,250,333,362,368,373,513,518,524,529,678,683,692,707,715,791,797,802,864,869,928,934,939,1317,1323,1354],{"type":55,"tag":56,"props":57,"children":59},"element","h1",{"id":58},"finding-the-best-replay-for-an-error-tracking-issue",[60],{"type":61,"value":62},"text","Finding the best replay for an error tracking issue",{"type":55,"tag":64,"props":65,"children":66},"p",{},[67],{"type":61,"value":68},"When a user says \"show me a replay for this error\" or \"find a recording for issue X\",\nthe goal isn't just any linked session — it's the one that best shows what led to the error.\nPopular issues can have hundreds of linked sessions, and most are crash-only fragments\nor duplicate occurrences. This skill picks the most useful one.",{"type":55,"tag":70,"props":71,"children":73},"h2",{"id":72},"available-tools",[74],{"type":61,"value":75},"Available tools",{"type":55,"tag":77,"props":78,"children":79},"table",{},[80,99],{"type":55,"tag":81,"props":82,"children":83},"thead",{},[84],{"type":55,"tag":85,"props":86,"children":87},"tr",{},[88,94],{"type":55,"tag":89,"props":90,"children":91},"th",{},[92],{"type":61,"value":93},"Tool",{"type":55,"tag":89,"props":95,"children":96},{},[97],{"type":61,"value":98},"Purpose",{"type":55,"tag":100,"props":101,"children":102},"tbody",{},[103,122,139,156,173,190,215],{"type":55,"tag":85,"props":104,"children":105},{},[106,117],{"type":55,"tag":107,"props":108,"children":109},"td",{},[110],{"type":55,"tag":111,"props":112,"children":114},"code",{"className":113},[],[115],{"type":61,"value":116},"posthog:query-error-tracking-issue",{"type":55,"tag":107,"props":118,"children":119},{},[120],{"type":61,"value":121},"Get issue details (fingerprint, status, volume)",{"type":55,"tag":85,"props":123,"children":124},{},[125,134],{"type":55,"tag":107,"props":126,"children":127},{},[128],{"type":55,"tag":111,"props":129,"children":131},{"className":130},[],[132],{"type":61,"value":133},"posthog:execute-sql",{"type":55,"tag":107,"props":135,"children":136},{},[137],{"type":61,"value":138},"Query exception events to find linked sessions",{"type":55,"tag":85,"props":140,"children":141},{},[142,151],{"type":55,"tag":107,"props":143,"children":144},{},[145],{"type":55,"tag":111,"props":146,"children":148},{"className":147},[],[149],{"type":61,"value":150},"posthog:query-session-recordings-list",{"type":55,"tag":107,"props":152,"children":153},{},[154],{"type":61,"value":155},"Fetch recording metadata for candidate sessions",{"type":55,"tag":85,"props":157,"children":158},{},[159,168],{"type":55,"tag":107,"props":160,"children":161},{},[162],{"type":55,"tag":111,"props":163,"children":165},{"className":164},[],[166],{"type":61,"value":167},"posthog:session-recording-get",{"type":55,"tag":107,"props":169,"children":170},{},[171],{"type":61,"value":172},"Get full details for the selected recording",{"type":55,"tag":85,"props":174,"children":175},{},[176,185],{"type":55,"tag":107,"props":177,"children":178},{},[179],{"type":55,"tag":111,"props":180,"children":182},{"className":181},[],[183],{"type":61,"value":184},"posthog:vision-observations-list",{"type":55,"tag":107,"props":186,"children":187},{},[188],{"type":61,"value":189},"Check for an existing Replay Vision AI summary",{"type":55,"tag":85,"props":191,"children":192},{},[193,202],{"type":55,"tag":107,"props":194,"children":195},{},[196],{"type":55,"tag":111,"props":197,"children":199},{"className":198},[],[200],{"type":61,"value":201},"posthog:vision-scanners-list",{"type":55,"tag":107,"props":203,"children":204},{},[205,207,213],{"type":61,"value":206},"Find summarizer scanners (",{"type":55,"tag":111,"props":208,"children":210},{"className":209},[],[211],{"type":61,"value":212},"scanner_type=summarizer",{"type":61,"value":214},")",{"type":55,"tag":85,"props":216,"children":217},{},[218,227],{"type":55,"tag":107,"props":219,"children":220},{},[221],{"type":55,"tag":111,"props":222,"children":224},{"className":223},[],[225],{"type":61,"value":226},"posthog:vision-scanners-scan-session",{"type":55,"tag":107,"props":228,"children":229},{},[230],{"type":61,"value":231},"Run a summarizer scanner on the recording (optional, slow)",{"type":55,"tag":70,"props":233,"children":235},{"id":234},"workflow",[236],{"type":61,"value":237},"Workflow",{"type":55,"tag":239,"props":240,"children":242},"h3",{"id":241},"step-1-get-the-issue-details",[243],{"type":61,"value":244},"Step 1 — Get the issue details",{"type":55,"tag":64,"props":246,"children":247},{},[248],{"type":61,"value":249},"Fetch the error tracking issue to understand what you're looking for:",{"type":55,"tag":251,"props":252,"children":257},"pre",{"className":253,"code":254,"language":255,"meta":256,"style":256},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","posthog:query-error-tracking-issue\n{\n  \"issueId\": \"\u003Cissue_id>\"\n}\n","json","",[258],{"type":55,"tag":111,"props":259,"children":260},{"__ignoreMap":256},[261,273,283,324],{"type":55,"tag":262,"props":263,"children":266},"span",{"class":264,"line":265},"line",1,[267],{"type":55,"tag":262,"props":268,"children":270},{"style":269},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[271],{"type":61,"value":272},"posthog:query-error-tracking-issue\n",{"type":55,"tag":262,"props":274,"children":276},{"class":264,"line":275},2,[277],{"type":55,"tag":262,"props":278,"children":280},{"style":279},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[281],{"type":61,"value":282},"{\n",{"type":55,"tag":262,"props":284,"children":286},{"class":264,"line":285},3,[287,292,298,303,308,313,319],{"type":55,"tag":262,"props":288,"children":289},{"style":279},[290],{"type":61,"value":291},"  \"",{"type":55,"tag":262,"props":293,"children":295},{"style":294},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[296],{"type":61,"value":297},"issueId",{"type":55,"tag":262,"props":299,"children":300},{"style":279},[301],{"type":61,"value":302},"\"",{"type":55,"tag":262,"props":304,"children":305},{"style":279},[306],{"type":61,"value":307},":",{"type":55,"tag":262,"props":309,"children":310},{"style":279},[311],{"type":61,"value":312}," \"",{"type":55,"tag":262,"props":314,"children":316},{"style":315},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[317],{"type":61,"value":318},"\u003Cissue_id>",{"type":55,"tag":262,"props":320,"children":321},{"style":279},[322],{"type":61,"value":323},"\"\n",{"type":55,"tag":262,"props":325,"children":327},{"class":264,"line":326},4,[328],{"type":55,"tag":262,"props":329,"children":330},{"style":279},[331],{"type":61,"value":332},"}\n",{"type":55,"tag":64,"props":334,"children":335},{},[336,338,344,346,352,354,360],{"type":61,"value":337},"Note the issue's ",{"type":55,"tag":111,"props":339,"children":341},{"className":340},[],[342],{"type":61,"value":343},"fingerprint",{"type":61,"value":345},", ",{"type":55,"tag":111,"props":347,"children":349},{"className":348},[],[350],{"type":61,"value":351},"name",{"type":61,"value":353},", and ",{"type":55,"tag":111,"props":355,"children":357},{"className":356},[],[358],{"type":61,"value":359},"description",{"type":61,"value":361}," — you'll need the fingerprint\nto find linked sessions.",{"type":55,"tag":239,"props":363,"children":365},{"id":364},"step-2-find-sessions-with-this-error",[366],{"type":61,"value":367},"Step 2 — Find sessions with this error",{"type":55,"tag":64,"props":369,"children":370},{},[371],{"type":61,"value":372},"Query exception events to get session IDs where this error occurred.\nOrder by recency and include basic context:",{"type":55,"tag":251,"props":374,"children":378},{"className":375,"code":376,"language":377,"meta":256,"style":256},"language-sql shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","posthog:execute-sql\nSELECT\n    $session_id AS session_id,\n    count() AS occurrences,\n    min(timestamp) AS first_seen,\n    max(timestamp) AS last_seen,\n    any(properties.$current_url) AS url\nFROM events\nWHERE event = '$exception'\n    AND properties.$exception_fingerprint = '\u003Cfingerprint>'\n    AND $session_id IS NOT NULL\n    AND timestamp > now() - INTERVAL 30 DAY\nGROUP BY session_id\nORDER BY last_seen DESC\nLIMIT 20\n","sql",[379],{"type":55,"tag":111,"props":380,"children":381},{"__ignoreMap":256},[382,390,398,406,414,423,432,441,450,459,468,477,486,495,504],{"type":55,"tag":262,"props":383,"children":384},{"class":264,"line":265},[385],{"type":55,"tag":262,"props":386,"children":387},{},[388],{"type":61,"value":389},"posthog:execute-sql\n",{"type":55,"tag":262,"props":391,"children":392},{"class":264,"line":275},[393],{"type":55,"tag":262,"props":394,"children":395},{},[396],{"type":61,"value":397},"SELECT\n",{"type":55,"tag":262,"props":399,"children":400},{"class":264,"line":285},[401],{"type":55,"tag":262,"props":402,"children":403},{},[404],{"type":61,"value":405},"    $session_id AS session_id,\n",{"type":55,"tag":262,"props":407,"children":408},{"class":264,"line":326},[409],{"type":55,"tag":262,"props":410,"children":411},{},[412],{"type":61,"value":413},"    count() AS occurrences,\n",{"type":55,"tag":262,"props":415,"children":417},{"class":264,"line":416},5,[418],{"type":55,"tag":262,"props":419,"children":420},{},[421],{"type":61,"value":422},"    min(timestamp) AS first_seen,\n",{"type":55,"tag":262,"props":424,"children":426},{"class":264,"line":425},6,[427],{"type":55,"tag":262,"props":428,"children":429},{},[430],{"type":61,"value":431},"    max(timestamp) AS last_seen,\n",{"type":55,"tag":262,"props":433,"children":435},{"class":264,"line":434},7,[436],{"type":55,"tag":262,"props":437,"children":438},{},[439],{"type":61,"value":440},"    any(properties.$current_url) AS url\n",{"type":55,"tag":262,"props":442,"children":444},{"class":264,"line":443},8,[445],{"type":55,"tag":262,"props":446,"children":447},{},[448],{"type":61,"value":449},"FROM events\n",{"type":55,"tag":262,"props":451,"children":453},{"class":264,"line":452},9,[454],{"type":55,"tag":262,"props":455,"children":456},{},[457],{"type":61,"value":458},"WHERE event = '$exception'\n",{"type":55,"tag":262,"props":460,"children":462},{"class":264,"line":461},10,[463],{"type":55,"tag":262,"props":464,"children":465},{},[466],{"type":61,"value":467},"    AND properties.$exception_fingerprint = '\u003Cfingerprint>'\n",{"type":55,"tag":262,"props":469,"children":471},{"class":264,"line":470},11,[472],{"type":55,"tag":262,"props":473,"children":474},{},[475],{"type":61,"value":476},"    AND $session_id IS NOT NULL\n",{"type":55,"tag":262,"props":478,"children":480},{"class":264,"line":479},12,[481],{"type":55,"tag":262,"props":482,"children":483},{},[484],{"type":61,"value":485},"    AND timestamp > now() - INTERVAL 30 DAY\n",{"type":55,"tag":262,"props":487,"children":489},{"class":264,"line":488},13,[490],{"type":55,"tag":262,"props":491,"children":492},{},[493],{"type":61,"value":494},"GROUP BY session_id\n",{"type":55,"tag":262,"props":496,"children":498},{"class":264,"line":497},14,[499],{"type":55,"tag":262,"props":500,"children":501},{},[502],{"type":61,"value":503},"ORDER BY last_seen DESC\n",{"type":55,"tag":262,"props":505,"children":507},{"class":264,"line":506},15,[508],{"type":55,"tag":262,"props":509,"children":510},{},[511],{"type":61,"value":512},"LIMIT 20\n",{"type":55,"tag":64,"props":514,"children":515},{},[516],{"type":61,"value":517},"This gives you up to 20 candidate sessions. More candidates means better selection.",{"type":55,"tag":239,"props":519,"children":521},{"id":520},"step-3-rank-the-candidates",[522],{"type":61,"value":523},"Step 3 — Rank the candidates",{"type":55,"tag":64,"props":525,"children":526},{},[527],{"type":61,"value":528},"Fetch recording metadata for the candidate sessions to rank them:",{"type":55,"tag":251,"props":530,"children":532},{"className":253,"code":531,"language":255,"meta":256,"style":256},"posthog:query-session-recordings-list\n{\n  \"session_ids\": [\"\u003Cid1>\", \"\u003Cid2>\", \"\u003Cid3>\", ...],\n  \"date_from\": \"-30d\"\n}\n",[533],{"type":55,"tag":111,"props":534,"children":535},{"__ignoreMap":256},[536,544,551,638,671],{"type":55,"tag":262,"props":537,"children":538},{"class":264,"line":265},[539],{"type":55,"tag":262,"props":540,"children":541},{"style":269},[542],{"type":61,"value":543},"posthog:query-session-recordings-list\n",{"type":55,"tag":262,"props":545,"children":546},{"class":264,"line":275},[547],{"type":55,"tag":262,"props":548,"children":549},{"style":279},[550],{"type":61,"value":282},{"type":55,"tag":262,"props":552,"children":553},{"class":264,"line":285},[554,558,563,567,571,576,580,585,589,594,598,603,607,611,615,620,624,628,633],{"type":55,"tag":262,"props":555,"children":556},{"style":279},[557],{"type":61,"value":291},{"type":55,"tag":262,"props":559,"children":560},{"style":294},[561],{"type":61,"value":562},"session_ids",{"type":55,"tag":262,"props":564,"children":565},{"style":279},[566],{"type":61,"value":302},{"type":55,"tag":262,"props":568,"children":569},{"style":279},[570],{"type":61,"value":307},{"type":55,"tag":262,"props":572,"children":573},{"style":279},[574],{"type":61,"value":575}," [",{"type":55,"tag":262,"props":577,"children":578},{"style":279},[579],{"type":61,"value":302},{"type":55,"tag":262,"props":581,"children":582},{"style":315},[583],{"type":61,"value":584},"\u003Cid1>",{"type":55,"tag":262,"props":586,"children":587},{"style":279},[588],{"type":61,"value":302},{"type":55,"tag":262,"props":590,"children":591},{"style":279},[592],{"type":61,"value":593},",",{"type":55,"tag":262,"props":595,"children":596},{"style":279},[597],{"type":61,"value":312},{"type":55,"tag":262,"props":599,"children":600},{"style":315},[601],{"type":61,"value":602},"\u003Cid2>",{"type":55,"tag":262,"props":604,"children":605},{"style":279},[606],{"type":61,"value":302},{"type":55,"tag":262,"props":608,"children":609},{"style":279},[610],{"type":61,"value":593},{"type":55,"tag":262,"props":612,"children":613},{"style":279},[614],{"type":61,"value":312},{"type":55,"tag":262,"props":616,"children":617},{"style":315},[618],{"type":61,"value":619},"\u003Cid3>",{"type":55,"tag":262,"props":621,"children":622},{"style":279},[623],{"type":61,"value":302},{"type":55,"tag":262,"props":625,"children":626},{"style":279},[627],{"type":61,"value":593},{"type":55,"tag":262,"props":629,"children":630},{"style":269},[631],{"type":61,"value":632}," ...",{"type":55,"tag":262,"props":634,"children":635},{"style":279},[636],{"type":61,"value":637},"],\n",{"type":55,"tag":262,"props":639,"children":640},{"class":264,"line":326},[641,645,650,654,658,662,667],{"type":55,"tag":262,"props":642,"children":643},{"style":279},[644],{"type":61,"value":291},{"type":55,"tag":262,"props":646,"children":647},{"style":294},[648],{"type":61,"value":649},"date_from",{"type":55,"tag":262,"props":651,"children":652},{"style":279},[653],{"type":61,"value":302},{"type":55,"tag":262,"props":655,"children":656},{"style":279},[657],{"type":61,"value":307},{"type":55,"tag":262,"props":659,"children":660},{"style":279},[661],{"type":61,"value":312},{"type":55,"tag":262,"props":663,"children":664},{"style":315},[665],{"type":61,"value":666},"-30d",{"type":55,"tag":262,"props":668,"children":669},{"style":279},[670],{"type":61,"value":323},{"type":55,"tag":262,"props":672,"children":673},{"class":264,"line":416},[674],{"type":55,"tag":262,"props":675,"children":676},{"style":279},[677],{"type":61,"value":332},{"type":55,"tag":64,"props":679,"children":680},{},[681],{"type":61,"value":682},"Pick the best recording by filtering out bad candidates, then ranking what's left:",{"type":55,"tag":64,"props":684,"children":685},{},[686],{"type":55,"tag":687,"props":688,"children":689},"strong",{},[690],{"type":61,"value":691},"Filter out:",{"type":55,"tag":693,"props":694,"children":695},"ul",{},[696,702],{"type":55,"tag":697,"props":698,"children":699},"li",{},[700],{"type":61,"value":701},"Sessions under 10 seconds (crash-only fragments, no pre-error context)",{"type":55,"tag":697,"props":703,"children":704},{},[705],{"type":61,"value":706},"Sessions over 1 hour (too much data to load, error is a needle in a haystack)",{"type":55,"tag":64,"props":708,"children":709},{},[710],{"type":55,"tag":687,"props":711,"children":712},{},[713],{"type":61,"value":714},"Rank by:",{"type":55,"tag":716,"props":717,"children":718},"ol",{},[719,729,763,781],{"type":55,"tag":697,"props":720,"children":721},{},[722,727],{"type":55,"tag":687,"props":723,"children":724},{},[725],{"type":61,"value":726},"Sweet-spot duration",{"type":61,"value":728}," — 2-15 minutes is ideal. Long enough to show the user's\njourney before the error, short enough to be practical to watch or summarize.",{"type":55,"tag":697,"props":730,"children":731},{},[732,737,739,745,747,753,755,761],{"type":55,"tag":687,"props":733,"children":734},{},[735],{"type":61,"value":736},"Active time ratio",{"type":61,"value":738}," — compare ",{"type":55,"tag":111,"props":740,"children":742},{"className":741},[],[743],{"type":61,"value":744},"active_seconds",{"type":61,"value":746}," to ",{"type":55,"tag":111,"props":748,"children":750},{"className":749},[],[751],{"type":61,"value":752},"recording_duration",{"type":61,"value":754},". A 20-minute\nrecording with 10 seconds of activity is mostly idle tabs — the user walked away.\nPrefer sessions where ",{"type":55,"tag":111,"props":756,"children":758},{"className":757},[],[759],{"type":61,"value":760},"active_seconds \u002F recording_duration",{"type":61,"value":762}," is above 0.3 (30%).",{"type":55,"tag":697,"props":764,"children":765},{},[766,771,773,779],{"type":55,"tag":687,"props":767,"children":768},{},[769],{"type":61,"value":770},"Activity score",{"type":61,"value":772}," — higher ",{"type":55,"tag":111,"props":774,"children":776},{"className":775},[],[777],{"type":61,"value":778},"activity_score",{"type":61,"value":780}," means the user was actively interacting,\nnot idle. More interesting to watch.",{"type":55,"tag":697,"props":782,"children":783},{},[784,789],{"type":55,"tag":687,"props":785,"children":786},{},[787],{"type":61,"value":788},"Recency",{"type":61,"value":790}," — more recent sessions reflect current app behavior.",{"type":55,"tag":239,"props":792,"children":794},{"id":793},"step-4-present-the-finding",[795],{"type":61,"value":796},"Step 4 — Present the finding",{"type":55,"tag":64,"props":798,"children":799},{},[800],{"type":61,"value":801},"Fetch full details for the selected recording:",{"type":55,"tag":251,"props":803,"children":805},{"className":253,"code":804,"language":255,"meta":256,"style":256},"posthog:session-recording-get\n{\n  \"id\": \"\u003Cbest_recording_id>\"\n}\n",[806],{"type":55,"tag":111,"props":807,"children":808},{"__ignoreMap":256},[809,817,824,857],{"type":55,"tag":262,"props":810,"children":811},{"class":264,"line":265},[812],{"type":55,"tag":262,"props":813,"children":814},{"style":269},[815],{"type":61,"value":816},"posthog:session-recording-get\n",{"type":55,"tag":262,"props":818,"children":819},{"class":264,"line":275},[820],{"type":55,"tag":262,"props":821,"children":822},{"style":279},[823],{"type":61,"value":282},{"type":55,"tag":262,"props":825,"children":826},{"class":264,"line":285},[827,831,836,840,844,848,853],{"type":55,"tag":262,"props":828,"children":829},{"style":279},[830],{"type":61,"value":291},{"type":55,"tag":262,"props":832,"children":833},{"style":294},[834],{"type":61,"value":835},"id",{"type":55,"tag":262,"props":837,"children":838},{"style":279},[839],{"type":61,"value":302},{"type":55,"tag":262,"props":841,"children":842},{"style":279},[843],{"type":61,"value":307},{"type":55,"tag":262,"props":845,"children":846},{"style":279},[847],{"type":61,"value":312},{"type":55,"tag":262,"props":849,"children":850},{"style":315},[851],{"type":61,"value":852},"\u003Cbest_recording_id>",{"type":55,"tag":262,"props":854,"children":855},{"style":279},[856],{"type":61,"value":323},{"type":55,"tag":262,"props":858,"children":859},{"class":264,"line":326},[860],{"type":55,"tag":262,"props":861,"children":862},{"style":279},[863],{"type":61,"value":332},{"type":55,"tag":64,"props":865,"children":866},{},[867],{"type":61,"value":868},"Present to the user:",{"type":55,"tag":693,"props":870,"children":871},{},[872,882,892,918],{"type":55,"tag":697,"props":873,"children":874},{},[875,880],{"type":55,"tag":687,"props":876,"children":877},{},[878],{"type":61,"value":879},"The recording",{"type":61,"value":881}," with a link to watch it",{"type":55,"tag":697,"props":883,"children":884},{},[885,890],{"type":55,"tag":687,"props":886,"children":887},{},[888],{"type":61,"value":889},"Why this one",{"type":61,"value":891}," — briefly explain the selection (\"longest session with the error,\nuser was browsing 3 pages before hitting it\")",{"type":55,"tag":697,"props":893,"children":894},{},[895,900,902,908,910,916],{"type":55,"tag":687,"props":896,"children":897},{},[898],{"type":61,"value":899},"Pre-error context",{"type":61,"value":901}," — what pages the user visited and key actions before the exception,\nderived from the events query in step 2 (the ",{"type":55,"tag":111,"props":903,"children":905},{"className":904},[],[906],{"type":61,"value":907},"url",{"type":61,"value":909}," and ",{"type":55,"tag":111,"props":911,"children":913},{"className":912},[],[914],{"type":61,"value":915},"first_seen",{"type":61,"value":917}," columns)",{"type":55,"tag":697,"props":919,"children":920},{},[921,926],{"type":55,"tag":687,"props":922,"children":923},{},[924],{"type":61,"value":925},"Error frequency",{"type":61,"value":927}," — how many times the error occurred in this session",{"type":55,"tag":239,"props":929,"children":931},{"id":930},"optional-ai-summary-via-replay-vision",[932],{"type":61,"value":933},"Optional: AI summary via Replay Vision",{"type":55,"tag":64,"props":935,"children":936},{},[937],{"type":61,"value":938},"If the user wants a narrative summary without watching, use Replay Vision —\n\"check-then-scan\", since a scanner can only observe a given session once.",{"type":55,"tag":716,"props":940,"children":941},{},[942,1102,1186,1292],{"type":55,"tag":697,"props":943,"children":944},{},[945,950,952,1013,1017,1019,1025,1027,1033,1035,1041,1042,1048,1050,1056,1058,1064,1065,1071,1073,1079,1080,1086,1087,1093,1094,1100],{"type":55,"tag":687,"props":946,"children":947},{},[948],{"type":61,"value":949},"Check for an existing summary",{"type":61,"value":951}," on the selected recording:",{"type":55,"tag":251,"props":953,"children":955},{"className":253,"code":954,"language":255,"meta":256,"style":256},"posthog:vision-observations-list\n{\n  \"session_id\": \"\u003Cbest_recording_id>\"\n}\n",[956],{"type":55,"tag":111,"props":957,"children":958},{"__ignoreMap":256},[959,967,974,1006],{"type":55,"tag":262,"props":960,"children":961},{"class":264,"line":265},[962],{"type":55,"tag":262,"props":963,"children":964},{"style":269},[965],{"type":61,"value":966},"posthog:vision-observations-list\n",{"type":55,"tag":262,"props":968,"children":969},{"class":264,"line":275},[970],{"type":55,"tag":262,"props":971,"children":972},{"style":279},[973],{"type":61,"value":282},{"type":55,"tag":262,"props":975,"children":976},{"class":264,"line":285},[977,981,986,990,994,998,1002],{"type":55,"tag":262,"props":978,"children":979},{"style":279},[980],{"type":61,"value":291},{"type":55,"tag":262,"props":982,"children":983},{"style":294},[984],{"type":61,"value":985},"session_id",{"type":55,"tag":262,"props":987,"children":988},{"style":279},[989],{"type":61,"value":302},{"type":55,"tag":262,"props":991,"children":992},{"style":279},[993],{"type":61,"value":307},{"type":55,"tag":262,"props":995,"children":996},{"style":279},[997],{"type":61,"value":312},{"type":55,"tag":262,"props":999,"children":1000},{"style":315},[1001],{"type":61,"value":852},{"type":55,"tag":262,"props":1003,"children":1004},{"style":279},[1005],{"type":61,"value":323},{"type":55,"tag":262,"props":1007,"children":1008},{"class":264,"line":326},[1009],{"type":55,"tag":262,"props":1010,"children":1011},{"style":279},[1012],{"type":61,"value":332},{"type":55,"tag":1014,"props":1015,"children":1016},"br",{},[],{"type":61,"value":1018},"If an observation has ",{"type":55,"tag":111,"props":1020,"children":1022},{"className":1021},[],[1023],{"type":61,"value":1024},"scanner_snapshot.scanner_type",{"type":61,"value":1026}," ",{"type":55,"tag":111,"props":1028,"children":1030},{"className":1029},[],[1031],{"type":61,"value":1032},"summarizer",{"type":61,"value":1034}," and\n",{"type":55,"tag":111,"props":1036,"children":1038},{"className":1037},[],[1039],{"type":61,"value":1040},"status",{"type":61,"value":1026},{"type":55,"tag":111,"props":1043,"children":1045},{"className":1044},[],[1046],{"type":61,"value":1047},"succeeded",{"type":61,"value":1049},", read ",{"type":55,"tag":111,"props":1051,"children":1053},{"className":1052},[],[1054],{"type":61,"value":1055},"scanner_result.model_output",{"type":61,"value":1057}," (",{"type":55,"tag":111,"props":1059,"children":1061},{"className":1060},[],[1062],{"type":61,"value":1063},"title",{"type":61,"value":345},{"type":55,"tag":111,"props":1066,"children":1068},{"className":1067},[],[1069],{"type":61,"value":1070},"summary",{"type":61,"value":1072},",\n",{"type":55,"tag":111,"props":1074,"children":1076},{"className":1075},[],[1077],{"type":61,"value":1078},"intent",{"type":61,"value":345},{"type":55,"tag":111,"props":1081,"children":1083},{"className":1082},[],[1084],{"type":61,"value":1085},"outcome",{"type":61,"value":345},{"type":55,"tag":111,"props":1088,"children":1090},{"className":1089},[],[1091],{"type":61,"value":1092},"friction_points",{"type":61,"value":345},{"type":55,"tag":111,"props":1095,"children":1097},{"className":1096},[],[1098],{"type":61,"value":1099},"keywords",{"type":61,"value":1101},") — done.",{"type":55,"tag":697,"props":1103,"children":1104},{},[1105,1110,1112,1173,1176,1178,1184],{"type":55,"tag":687,"props":1106,"children":1107},{},[1108],{"type":61,"value":1109},"Find a summarizer scanner",{"type":61,"value":1111}," if none exists:",{"type":55,"tag":251,"props":1113,"children":1115},{"className":253,"code":1114,"language":255,"meta":256,"style":256},"posthog:vision-scanners-list\n{\n  \"scanner_type\": \"summarizer\"\n}\n",[1116],{"type":55,"tag":111,"props":1117,"children":1118},{"__ignoreMap":256},[1119,1127,1134,1166],{"type":55,"tag":262,"props":1120,"children":1121},{"class":264,"line":265},[1122],{"type":55,"tag":262,"props":1123,"children":1124},{"style":269},[1125],{"type":61,"value":1126},"posthog:vision-scanners-list\n",{"type":55,"tag":262,"props":1128,"children":1129},{"class":264,"line":275},[1130],{"type":55,"tag":262,"props":1131,"children":1132},{"style":279},[1133],{"type":61,"value":282},{"type":55,"tag":262,"props":1135,"children":1136},{"class":264,"line":285},[1137,1141,1146,1150,1154,1158,1162],{"type":55,"tag":262,"props":1138,"children":1139},{"style":279},[1140],{"type":61,"value":291},{"type":55,"tag":262,"props":1142,"children":1143},{"style":294},[1144],{"type":61,"value":1145},"scanner_type",{"type":55,"tag":262,"props":1147,"children":1148},{"style":279},[1149],{"type":61,"value":302},{"type":55,"tag":262,"props":1151,"children":1152},{"style":279},[1153],{"type":61,"value":307},{"type":55,"tag":262,"props":1155,"children":1156},{"style":279},[1157],{"type":61,"value":312},{"type":55,"tag":262,"props":1159,"children":1160},{"style":315},[1161],{"type":61,"value":1032},{"type":55,"tag":262,"props":1163,"children":1164},{"style":279},[1165],{"type":61,"value":323},{"type":55,"tag":262,"props":1167,"children":1168},{"class":264,"line":326},[1169],{"type":55,"tag":262,"props":1170,"children":1171},{"style":279},[1172],{"type":61,"value":332},{"type":55,"tag":1014,"props":1174,"children":1175},{},[],{"type":61,"value":1177},"One → use it. More than one → ask the user which (show name + prompt). None →\noffer to create one via the ",{"type":55,"tag":111,"props":1179,"children":1181},{"className":1180},[],[1182],{"type":61,"value":1183},"creating-replay-vision-scanners",{"type":61,"value":1185}," skill.",{"type":55,"tag":697,"props":1187,"children":1188},{},[1189,1194,1196],{"type":55,"tag":687,"props":1190,"children":1191},{},[1192],{"type":61,"value":1193},"Scan the recording",{"type":61,"value":1195}," with the chosen scanner (async, several minutes):",{"type":55,"tag":251,"props":1197,"children":1199},{"className":253,"code":1198,"language":255,"meta":256,"style":256},"posthog:vision-scanners-scan-session\n{\n  \"id\": \"\u003Cscanner_id>\",\n  \"session_id\": \"\u003Cbest_recording_id>\"\n}\n",[1200],{"type":55,"tag":111,"props":1201,"children":1202},{"__ignoreMap":256},[1203,1211,1218,1254,1285],{"type":55,"tag":262,"props":1204,"children":1205},{"class":264,"line":265},[1206],{"type":55,"tag":262,"props":1207,"children":1208},{"style":269},[1209],{"type":61,"value":1210},"posthog:vision-scanners-scan-session\n",{"type":55,"tag":262,"props":1212,"children":1213},{"class":264,"line":275},[1214],{"type":55,"tag":262,"props":1215,"children":1216},{"style":279},[1217],{"type":61,"value":282},{"type":55,"tag":262,"props":1219,"children":1220},{"class":264,"line":285},[1221,1225,1229,1233,1237,1241,1246,1250],{"type":55,"tag":262,"props":1222,"children":1223},{"style":279},[1224],{"type":61,"value":291},{"type":55,"tag":262,"props":1226,"children":1227},{"style":294},[1228],{"type":61,"value":835},{"type":55,"tag":262,"props":1230,"children":1231},{"style":279},[1232],{"type":61,"value":302},{"type":55,"tag":262,"props":1234,"children":1235},{"style":279},[1236],{"type":61,"value":307},{"type":55,"tag":262,"props":1238,"children":1239},{"style":279},[1240],{"type":61,"value":312},{"type":55,"tag":262,"props":1242,"children":1243},{"style":315},[1244],{"type":61,"value":1245},"\u003Cscanner_id>",{"type":55,"tag":262,"props":1247,"children":1248},{"style":279},[1249],{"type":61,"value":302},{"type":55,"tag":262,"props":1251,"children":1252},{"style":279},[1253],{"type":61,"value":1072},{"type":55,"tag":262,"props":1255,"children":1256},{"class":264,"line":326},[1257,1261,1265,1269,1273,1277,1281],{"type":55,"tag":262,"props":1258,"children":1259},{"style":279},[1260],{"type":61,"value":291},{"type":55,"tag":262,"props":1262,"children":1263},{"style":294},[1264],{"type":61,"value":985},{"type":55,"tag":262,"props":1266,"children":1267},{"style":279},[1268],{"type":61,"value":302},{"type":55,"tag":262,"props":1270,"children":1271},{"style":279},[1272],{"type":61,"value":307},{"type":55,"tag":262,"props":1274,"children":1275},{"style":279},[1276],{"type":61,"value":312},{"type":55,"tag":262,"props":1278,"children":1279},{"style":315},[1280],{"type":61,"value":852},{"type":55,"tag":262,"props":1282,"children":1283},{"style":279},[1284],{"type":61,"value":323},{"type":55,"tag":262,"props":1286,"children":1287},{"class":264,"line":416},[1288],{"type":55,"tag":262,"props":1289,"children":1290},{"style":279},[1291],{"type":61,"value":332},{"type":55,"tag":697,"props":1293,"children":1294},{},[1295,1300,1302,1308,1310,1315],{"type":55,"tag":687,"props":1296,"children":1297},{},[1298],{"type":61,"value":1299},"Retrieve",{"type":61,"value":1301}," by polling ",{"type":55,"tag":111,"props":1303,"children":1305},{"className":1304},[],[1306],{"type":61,"value":1307},"vision-observations-list",{"type":61,"value":1309}," until ",{"type":55,"tag":111,"props":1311,"children":1313},{"className":1312},[],[1314],{"type":61,"value":1047},{"type":61,"value":1316},".",{"type":55,"tag":70,"props":1318,"children":1320},{"id":1319},"tips",[1321],{"type":61,"value":1322},"Tips",{"type":55,"tag":693,"props":1324,"children":1325},{},[1326,1331,1336,1349],{"type":55,"tag":697,"props":1327,"children":1328},{},[1329],{"type":61,"value":1330},"If all candidate sessions are very short (\u003C10 seconds), the error likely crashes\nthe page immediately. Note this — it's useful context even without a long replay.",{"type":55,"tag":697,"props":1332,"children":1333},{},[1334],{"type":61,"value":1335},"When the issue has very few linked sessions (\u003C3), skip the ranking and just present\nwhat's available with a note about the small sample.",{"type":55,"tag":697,"props":1337,"children":1338},{},[1339,1341,1347],{"type":61,"value":1340},"If ",{"type":55,"tag":111,"props":1342,"children":1344},{"className":1343},[],[1345],{"type":61,"value":1346},"$session_id",{"type":61,"value":1348}," is null on many exception events, session replay may not be enabled\nfor the affected users. Mention this as a possible gap.",{"type":55,"tag":697,"props":1350,"children":1351},{},[1352],{"type":61,"value":1353},"Replay Vision has no per-call focus parameter — a summarizer scanner's focus\ncomes from its own prompt. For error-focused summaries, prefer (or create) a\nsummarizer scanner whose prompt targets error\u002Fexception context rather than the\nwhole session.",{"type":55,"tag":1355,"props":1356,"children":1357},"style",{},[1358],{"type":61,"value":1359},"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":1361,"total":1459},[1362,1376,1388,1400,1413,1426,1442],{"slug":1363,"name":1363,"fn":1364,"description":1365,"org":1366,"tags":1367,"stars":23,"repoUrl":24,"updatedAt":1375},"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},[1368,1370,1373,1374],{"name":1369,"slug":31,"type":15},"Analytics",{"name":1371,"slug":1372,"type":15},"Cost Optimization","cost-optimization",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-28T05:34:11.117757",{"slug":1377,"name":1377,"fn":1378,"description":1379,"org":1380,"tags":1381,"stars":23,"repoUrl":24,"updatedAt":1387},"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},[1382,1383,1386],{"name":1369,"slug":31,"type":15},{"name":1384,"slug":1385,"type":15},"Audit","audit",{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":1389,"name":1389,"fn":1390,"description":1391,"org":1392,"tags":1393,"stars":23,"repoUrl":24,"updatedAt":1399},"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},[1394,1395,1397,1398],{"name":1384,"slug":1385,"type":15},{"name":1396,"slug":33,"type":15},"Data Warehouse",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":1401,"name":1401,"fn":1402,"description":1403,"org":1404,"tags":1405,"stars":23,"repoUrl":24,"updatedAt":1412},"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},[1406,1407,1408,1411],{"name":1384,"slug":1385,"type":15},{"name":1396,"slug":33,"type":15},{"name":1409,"slug":1410,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":1414,"name":1414,"fn":1415,"description":1416,"org":1417,"tags":1418,"stars":23,"repoUrl":24,"updatedAt":1425},"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},[1419,1422,1423,1424],{"name":1420,"slug":1421,"type":15},"Alerting","alerting",{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":1427,"name":1427,"fn":1428,"description":1429,"org":1430,"tags":1431,"stars":23,"repoUrl":24,"updatedAt":1441},"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},[1432,1433,1436,1437,1440],{"name":1369,"slug":31,"type":15},{"name":1434,"slug":1435,"type":15},"Monitoring","monitoring",{"name":13,"slug":14,"type":15},{"name":1438,"slug":1439,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":1443,"name":1443,"fn":1444,"description":1445,"org":1446,"tags":1447,"stars":23,"repoUrl":24,"updatedAt":1458},"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},[1448,1451,1454,1455],{"name":1449,"slug":1450,"type":15},"Automation","automation",{"name":1452,"slug":1453,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},{"name":1456,"slug":1457,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",61,{"items":1461,"total":1578},[1462,1469,1475,1482,1489,1496,1504,1511,1525,1540,1550,1568],{"slug":1363,"name":1363,"fn":1364,"description":1365,"org":1463,"tags":1464,"stars":23,"repoUrl":24,"updatedAt":1375},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1465,1466,1467,1468],{"name":1369,"slug":31,"type":15},{"name":1371,"slug":1372,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":1377,"name":1377,"fn":1378,"description":1379,"org":1470,"tags":1471,"stars":23,"repoUrl":24,"updatedAt":1387},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1472,1473,1474],{"name":1369,"slug":31,"type":15},{"name":1384,"slug":1385,"type":15},{"name":9,"slug":8,"type":15},{"slug":1389,"name":1389,"fn":1390,"description":1391,"org":1476,"tags":1477,"stars":23,"repoUrl":24,"updatedAt":1399},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1478,1479,1480,1481],{"name":1384,"slug":1385,"type":15},{"name":1396,"slug":33,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":1401,"name":1401,"fn":1402,"description":1403,"org":1483,"tags":1484,"stars":23,"repoUrl":24,"updatedAt":1412},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1485,1486,1487,1488],{"name":1384,"slug":1385,"type":15},{"name":1396,"slug":33,"type":15},{"name":1409,"slug":1410,"type":15},{"name":9,"slug":8,"type":15},{"slug":1414,"name":1414,"fn":1415,"description":1416,"org":1490,"tags":1491,"stars":23,"repoUrl":24,"updatedAt":1425},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1492,1493,1494,1495],{"name":1420,"slug":1421,"type":15},{"name":21,"slug":22,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":1427,"name":1427,"fn":1428,"description":1429,"org":1497,"tags":1498,"stars":23,"repoUrl":24,"updatedAt":1441},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1499,1500,1501,1502,1503],{"name":1369,"slug":31,"type":15},{"name":1434,"slug":1435,"type":15},{"name":13,"slug":14,"type":15},{"name":1438,"slug":1439,"type":15},{"name":9,"slug":8,"type":15},{"slug":1443,"name":1443,"fn":1444,"description":1445,"org":1505,"tags":1506,"stars":23,"repoUrl":24,"updatedAt":1458},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1507,1508,1509,1510],{"name":1449,"slug":1450,"type":15},{"name":1452,"slug":1453,"type":15},{"name":9,"slug":8,"type":15},{"name":1456,"slug":1457,"type":15},{"slug":1512,"name":1512,"fn":1513,"description":1514,"org":1515,"tags":1516,"stars":23,"repoUrl":24,"updatedAt":1524},"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},[1517,1518,1519,1522,1523],{"name":1369,"slug":31,"type":15},{"name":21,"slug":22,"type":15},{"name":1520,"slug":1521,"type":15},"Frontend","frontend",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":1526,"name":1526,"fn":1527,"description":1528,"org":1529,"tags":1530,"stars":23,"repoUrl":24,"updatedAt":1539},"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},[1531,1534,1535,1536],{"name":1532,"slug":1533,"type":15},"API Development","api-development",{"name":1520,"slug":1521,"type":15},{"name":9,"slug":8,"type":15},{"name":1537,"slug":1538,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":1541,"name":1541,"fn":1542,"description":1543,"org":1544,"tags":1545,"stars":23,"repoUrl":24,"updatedAt":1549},"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},[1546,1547,1548],{"name":1532,"slug":1533,"type":15},{"name":1438,"slug":1439,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":1551,"name":1551,"fn":1552,"description":1553,"org":1554,"tags":1555,"stars":23,"repoUrl":24,"updatedAt":1567},"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},[1556,1557,1560,1561,1564],{"name":1449,"slug":1450,"type":15},{"name":1558,"slug":1559,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":1562,"slug":1563,"type":15},"Reporting","reporting",{"name":1565,"slug":1566,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":1569,"name":1569,"fn":1570,"description":1571,"org":1572,"tags":1573,"stars":23,"repoUrl":24,"updatedAt":1577},"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},[1574,1575,1576],{"name":1369,"slug":31,"type":15},{"name":1532,"slug":1533,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]