[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-creating-replay-vision-scanners":3,"mdc-iywbj9-key":48,"related-repo-posthog-creating-replay-vision-scanners":1303,"related-org-posthog-creating-replay-vision-scanners":1404},{"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":43,"sourceUrl":46,"mdContent":47},"creating-replay-vision-scanners","create and configure Replay Vision scanners","Guides agents through creating and safely sizing a Replay Vision scanner: choosing the scanner type (monitor\u002Fclassifier\u002Fscorer\u002Fsummarizer), shaping the RecordingsQuery that selects sessions, and — crucially — estimating observation volume and checking the org's monthly quota before creating, so a broad scanner doesn't exhaust the budget on its first scheduled sweep.\nTRIGGER when: user asks to create, set up, or configure a Replay Vision scanner, OR when you are about to call vision-scanners-create, OR when widening an existing scanner's query or sampling_rate via vision-scanners-update.\nDO NOT TRIGGER when: only reading scanners or observations, deleting a scanner, or running an existing scanner against a single session on demand (vision-scanners-scan-session).",{"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},"Analytics","analytics",{"name":21,"slug":22,"type":15},"Replay Vision","replay-vision",35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-24T05:39:43.814499",null,2977,[29,30,19,31,32,33,34,35,36,37,38,39,40,41,42],"ab-testing","ai-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":44,"description":45},[29,30,19,31,32,33,34,35,36,37,38,39,40,41,42],"🦔 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_vision\u002Fskills\u002Fcreating-replay-vision-scanners","---\nname: creating-replay-vision-scanners\ndescription: \"Guides agents through creating and safely sizing a Replay Vision scanner: choosing the scanner type (monitor\u002Fclassifier\u002Fscorer\u002Fsummarizer), shaping the RecordingsQuery that selects sessions, and — crucially — estimating observation volume and checking the org's monthly quota before creating, so a broad scanner doesn't exhaust the budget on its first scheduled sweep.\\nTRIGGER when: user asks to create, set up, or configure a Replay Vision scanner, OR when you are about to call vision-scanners-create, OR when widening an existing scanner's query or sampling_rate via vision-scanners-update.\\nDO NOT TRIGGER when: only reading scanners or observations, deleting a scanner, or running an existing scanner against a single session on demand (vision-scanners-scan-session).\"\n---\n\n# Creating Replay Vision scanners\n\nA scanner is a standing LLM probe over session recordings. Once created and enabled, it runs on a\n**Temporal schedule that sweeps every 5 minutes**, applying its prompt to each new matching recording and\nrecording the result as an observation (a queryable `$recording_observed` event). Each observation counts\nagainst a **monthly org quota** (a fixed number of observations per calendar month).\n\nThat schedule is exactly why creation needs a gut-check: a scanner with a permissive query and full sampling\nstarts consuming quota automatically and can drain the whole month's budget within its first few sweeps.\nCreation itself does **not** check quota — that protection only kicks in at observation time, by which point\nthe budget may already be gone.\n\n## Core principle: size before you ship\n\nNever create an enabled scanner blind. Estimate its volume, check remaining quota, and — when the projected\nvolume is a meaningful fraction of what's left — show the user the numbers and get confirmation before\ncreating. This is the heart of the skill; the rest is supporting detail.\n\n## The flow\n\n### Step 1: What should the scanner do?\n\nPick a `scanner_type` and write its `scanner_config`. Every type needs a `prompt`; the rest is type-specific:\n\n| Type         | What it produces                                                  | `scanner_config` shape                                                                                                                  |\n| ------------ | ----------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------- |\n| `monitor`    | Open-ended observation against a prompt (e.g. \"flag rage clicks\") | `{\"prompt\": \"...\"}`                                                                                                                     |\n| `classifier` | Assigns tags from a fixed label set                               | `{\"prompt\": \"...\", \"tags\": [\"tag-a\", \"tag-b\"]}` — `tags` needs ≥1 entry; optional `\"multi_label\": true`, `\"allow_freeform_tags\": false` |\n| `scorer`     | Numeric score on a rubric                                         | `{\"prompt\": \"...\", \"scale\": {\"min\": 1, \"max\": 5, \"label\": \"frustration\"}}` — `min` \u003C `max`; `label` optional                            |\n| `summarizer` | Free-text summary; optional facet embeddings for search           | `{\"prompt\": \"...\"}`; optional `\"length\": \"short\" \\| \"medium\" \\| \"long\"` (default `\"medium\"`), `\"emits_embeddings\": false`               |\n\n`scanner_type` is **locked after creation** — to change it you delete and recreate, so confirm the type is\nright up front, and get the `scanner_config` shape right (a wrong shape is a create error, not a silent\ndefault).\n\nIf the user's intent makes the type and prompt obvious, just proceed — don't interrogate them.\n\n### Step 2: Which sessions?\n\nThe `query` is a `RecordingsQuery` shape that selects which recordings the scanner watches. `date_from` and\n`date_to` are **ignored** (the schedule controls time), so don't bother setting them. Narrow the query to the\nsessions that actually matter — by event, URL, person property, duration, etc. A narrow query is the single\nbiggest lever on cost.\n\n`sampling_rate` (0..1, default 1.0) is a random downsample applied _after_ the query matches. Lower it to\ntrade coverage for budget.\n\n### Step 3: Size it — the gut-check (do not skip)\n\nBefore creating, run both checks and reason about them together:\n\n1. **Estimate volume** — call `vision-scanners-estimate-create` with the proposed `query` + `sampling_rate`.\n   It returns `matched_sessions_in_window`, the `window_days` measured, and\n   `estimated_observations_per_month`.\n2. **Check budget** — call `vision-quota-retrieve` for `remaining` and `exhausted` against the org's monthly\n   `credit_limit` (credits, 1 credit = $0.01; `null` when uncapped).\n\nThen decide:\n\n- If `estimated_observations_per_month` comfortably fits within `remaining`, proceed.\n- If it's a large fraction of (or exceeds) `remaining`, **stop and tell the user the concrete numbers**\n  — e.g. \"This scanner is projected to produce ~X observations\u002Fmonth; you have Y of Z left this month.\" —\n  and confirm before creating, or suggest tightening the `query` or lowering `sampling_rate` first.\n- If the org is already `exhausted`, say so — a new enabled scanner won't produce anything until the quota\n  resets, and its observations will be silently skipped.\n\nConfirmation here is a conversation step, not an API capability — surface the trade-off and let the user\nchoose. When the projected volume is clearly small relative to the budget, you don't need to ask.\n\n### Step 4: Create\n\nCall `vision-scanners-create`. Minimal example:\n\n```json\n{\n  \"name\": \"Rage click monitor\",\n  \"scanner_type\": \"monitor\",\n  \"scanner_config\": { \"prompt\": \"Flag sessions where the user repeatedly clicks the same element in frustration.\" },\n  \"query\": { \"kind\": \"RecordingsQuery\", \"events\": [{ \"id\": \"$rageclick\", \"type\": \"events\" }] },\n  \"sampling_rate\": 1.0,\n  \"model\": \"gemini-3.6-flash\",\n  \"enabled\": true\n}\n```\n\n`name` must be unique within the team. Set `enabled: false` if the user wants to create it paused (no\nschedule, no quota consumption) and turn it on later.\n\n## After creation\n\n- Show the scanner's PostHog URL from the response so the user can review it in the UI.\n- Results take a few minutes to appear (rasterizing the recording to video + the LLM call are slow). Inspect\n  them with `vision-scanners-observations-list` for one scanner over time, or `vision-observations-list`\n  (requires `session_id`) for every scanner's findings on a single session. To dig into a recording, hand off\n  to the `investigating-replay` skill.\n\n## Updating an existing scanner\n\n`vision-scanners-update` is a partial update — send only changed fields. **Re-run the Step 3 gut-check\nwhenever you widen scope**: a broader `query` or a higher `sampling_rate` raises the sweep volume just like a\nfresh broad scanner would. Toggling `enabled`, tweaking the prompt, or narrowing the query don't need a\nre-estimate. Editing config bumps `scanner_version`; past observations keep a snapshot of the old config.\n\n## Gotchas\n\n- **One observation per (scanner, session).** Re-running a scanner on a session it already observed — even a\n  failed or ineligible one — is a no-op and won't produce a fresh scan.\n- **Ineligible ≠ failed.** Observations can land `ineligible` (e.g. `too_short`, `no_recording`) — a terminal\n  non-error outcome. Check `error_reason` when triaging why a scanner produced nothing.\n- **Provider\u002Fmodel are Google\u002FGemini only** in the current version.\n",{"data":49,"body":50},{"name":4,"description":6},{"type":51,"children":52},"root",[53,61,91,103,110,115,121,128,157,371,395,400,406,450,469,475,480,590,595,662,667,673,686,1105,1123,1129,1174,1180,1227,1233,1297],{"type":54,"tag":55,"props":56,"children":57},"element","h1",{"id":4},[58],{"type":59,"value":60},"text","Creating Replay Vision scanners",{"type":54,"tag":62,"props":63,"children":64},"p",{},[65,67,73,75,82,84,89],{"type":59,"value":66},"A scanner is a standing LLM probe over session recordings. Once created and enabled, it runs on a\n",{"type":54,"tag":68,"props":69,"children":70},"strong",{},[71],{"type":59,"value":72},"Temporal schedule that sweeps every 5 minutes",{"type":59,"value":74},", applying its prompt to each new matching recording and\nrecording the result as an observation (a queryable ",{"type":54,"tag":76,"props":77,"children":79},"code",{"className":78},[],[80],{"type":59,"value":81},"$recording_observed",{"type":59,"value":83}," event). Each observation counts\nagainst a ",{"type":54,"tag":68,"props":85,"children":86},{},[87],{"type":59,"value":88},"monthly org quota",{"type":59,"value":90}," (a fixed number of observations per calendar month).",{"type":54,"tag":62,"props":92,"children":93},{},[94,96,101],{"type":59,"value":95},"That schedule is exactly why creation needs a gut-check: a scanner with a permissive query and full sampling\nstarts consuming quota automatically and can drain the whole month's budget within its first few sweeps.\nCreation itself does ",{"type":54,"tag":68,"props":97,"children":98},{},[99],{"type":59,"value":100},"not",{"type":59,"value":102}," check quota — that protection only kicks in at observation time, by which point\nthe budget may already be gone.",{"type":54,"tag":104,"props":105,"children":107},"h2",{"id":106},"core-principle-size-before-you-ship",[108],{"type":59,"value":109},"Core principle: size before you ship",{"type":54,"tag":62,"props":111,"children":112},{},[113],{"type":59,"value":114},"Never create an enabled scanner blind. Estimate its volume, check remaining quota, and — when the projected\nvolume is a meaningful fraction of what's left — show the user the numbers and get confirmation before\ncreating. This is the heart of the skill; the rest is supporting detail.",{"type":54,"tag":104,"props":116,"children":118},{"id":117},"the-flow",[119],{"type":59,"value":120},"The flow",{"type":54,"tag":122,"props":123,"children":125},"h3",{"id":124},"step-1-what-should-the-scanner-do",[126],{"type":59,"value":127},"Step 1: What should the scanner do?",{"type":54,"tag":62,"props":129,"children":130},{},[131,133,139,141,147,149,155],{"type":59,"value":132},"Pick a ",{"type":54,"tag":76,"props":134,"children":136},{"className":135},[],[137],{"type":59,"value":138},"scanner_type",{"type":59,"value":140}," and write its ",{"type":54,"tag":76,"props":142,"children":144},{"className":143},[],[145],{"type":59,"value":146},"scanner_config",{"type":59,"value":148},". Every type needs a ",{"type":54,"tag":76,"props":150,"children":152},{"className":151},[],[153],{"type":59,"value":154},"prompt",{"type":59,"value":156},"; the rest is type-specific:",{"type":54,"tag":158,"props":159,"children":160},"table",{},[161,190],{"type":54,"tag":162,"props":163,"children":164},"thead",{},[165],{"type":54,"tag":166,"props":167,"children":168},"tr",{},[169,175,180],{"type":54,"tag":170,"props":171,"children":172},"th",{},[173],{"type":59,"value":174},"Type",{"type":54,"tag":170,"props":176,"children":177},{},[178],{"type":59,"value":179},"What it produces",{"type":54,"tag":170,"props":181,"children":182},{},[183,188],{"type":54,"tag":76,"props":184,"children":186},{"className":185},[],[187],{"type":59,"value":146},{"type":59,"value":189}," shape",{"type":54,"tag":191,"props":192,"children":193},"tbody",{},[194,221,271,322],{"type":54,"tag":166,"props":195,"children":196},{},[197,207,212],{"type":54,"tag":198,"props":199,"children":200},"td",{},[201],{"type":54,"tag":76,"props":202,"children":204},{"className":203},[],[205],{"type":59,"value":206},"monitor",{"type":54,"tag":198,"props":208,"children":209},{},[210],{"type":59,"value":211},"Open-ended observation against a prompt (e.g. \"flag rage clicks\")",{"type":54,"tag":198,"props":213,"children":214},{},[215],{"type":54,"tag":76,"props":216,"children":218},{"className":217},[],[219],{"type":59,"value":220},"{\"prompt\": \"...\"}",{"type":54,"tag":166,"props":222,"children":223},{},[224,233,238],{"type":54,"tag":198,"props":225,"children":226},{},[227],{"type":54,"tag":76,"props":228,"children":230},{"className":229},[],[231],{"type":59,"value":232},"classifier",{"type":54,"tag":198,"props":234,"children":235},{},[236],{"type":59,"value":237},"Assigns tags from a fixed label set",{"type":54,"tag":198,"props":239,"children":240},{},[241,247,249,255,257,263,265],{"type":54,"tag":76,"props":242,"children":244},{"className":243},[],[245],{"type":59,"value":246},"{\"prompt\": \"...\", \"tags\": [\"tag-a\", \"tag-b\"]}",{"type":59,"value":248}," — ",{"type":54,"tag":76,"props":250,"children":252},{"className":251},[],[253],{"type":59,"value":254},"tags",{"type":59,"value":256}," needs ≥1 entry; optional ",{"type":54,"tag":76,"props":258,"children":260},{"className":259},[],[261],{"type":59,"value":262},"\"multi_label\": true",{"type":59,"value":264},", ",{"type":54,"tag":76,"props":266,"children":268},{"className":267},[],[269],{"type":59,"value":270},"\"allow_freeform_tags\": false",{"type":54,"tag":166,"props":272,"children":273},{},[274,283,288],{"type":54,"tag":198,"props":275,"children":276},{},[277],{"type":54,"tag":76,"props":278,"children":280},{"className":279},[],[281],{"type":59,"value":282},"scorer",{"type":54,"tag":198,"props":284,"children":285},{},[286],{"type":59,"value":287},"Numeric score on a rubric",{"type":54,"tag":198,"props":289,"children":290},{},[291,297,298,304,306,312,314,320],{"type":54,"tag":76,"props":292,"children":294},{"className":293},[],[295],{"type":59,"value":296},"{\"prompt\": \"...\", \"scale\": {\"min\": 1, \"max\": 5, \"label\": \"frustration\"}}",{"type":59,"value":248},{"type":54,"tag":76,"props":299,"children":301},{"className":300},[],[302],{"type":59,"value":303},"min",{"type":59,"value":305}," \u003C ",{"type":54,"tag":76,"props":307,"children":309},{"className":308},[],[310],{"type":59,"value":311},"max",{"type":59,"value":313},"; ",{"type":54,"tag":76,"props":315,"children":317},{"className":316},[],[318],{"type":59,"value":319},"label",{"type":59,"value":321}," optional",{"type":54,"tag":166,"props":323,"children":324},{},[325,334,339],{"type":54,"tag":198,"props":326,"children":327},{},[328],{"type":54,"tag":76,"props":329,"children":331},{"className":330},[],[332],{"type":59,"value":333},"summarizer",{"type":54,"tag":198,"props":335,"children":336},{},[337],{"type":59,"value":338},"Free-text summary; optional facet embeddings for search",{"type":54,"tag":198,"props":340,"children":341},{},[342,347,349,355,357,363,365],{"type":54,"tag":76,"props":343,"children":345},{"className":344},[],[346],{"type":59,"value":220},{"type":59,"value":348},"; optional ",{"type":54,"tag":76,"props":350,"children":352},{"className":351},[],[353],{"type":59,"value":354},"\"length\": \"short\" | \"medium\" | \"long\"",{"type":59,"value":356}," (default ",{"type":54,"tag":76,"props":358,"children":360},{"className":359},[],[361],{"type":59,"value":362},"\"medium\"",{"type":59,"value":364},"), ",{"type":54,"tag":76,"props":366,"children":368},{"className":367},[],[369],{"type":59,"value":370},"\"emits_embeddings\": false",{"type":54,"tag":62,"props":372,"children":373},{},[374,379,381,386,388,393],{"type":54,"tag":76,"props":375,"children":377},{"className":376},[],[378],{"type":59,"value":138},{"type":59,"value":380}," is ",{"type":54,"tag":68,"props":382,"children":383},{},[384],{"type":59,"value":385},"locked after creation",{"type":59,"value":387}," — to change it you delete and recreate, so confirm the type is\nright up front, and get the ",{"type":54,"tag":76,"props":389,"children":391},{"className":390},[],[392],{"type":59,"value":146},{"type":59,"value":394}," shape right (a wrong shape is a create error, not a silent\ndefault).",{"type":54,"tag":62,"props":396,"children":397},{},[398],{"type":59,"value":399},"If the user's intent makes the type and prompt obvious, just proceed — don't interrogate them.",{"type":54,"tag":122,"props":401,"children":403},{"id":402},"step-2-which-sessions",[404],{"type":59,"value":405},"Step 2: Which sessions?",{"type":54,"tag":62,"props":407,"children":408},{},[409,411,417,419,425,427,433,435,441,443,448],{"type":59,"value":410},"The ",{"type":54,"tag":76,"props":412,"children":414},{"className":413},[],[415],{"type":59,"value":416},"query",{"type":59,"value":418}," is a ",{"type":54,"tag":76,"props":420,"children":422},{"className":421},[],[423],{"type":59,"value":424},"RecordingsQuery",{"type":59,"value":426}," shape that selects which recordings the scanner watches. ",{"type":54,"tag":76,"props":428,"children":430},{"className":429},[],[431],{"type":59,"value":432},"date_from",{"type":59,"value":434}," and\n",{"type":54,"tag":76,"props":436,"children":438},{"className":437},[],[439],{"type":59,"value":440},"date_to",{"type":59,"value":442}," are ",{"type":54,"tag":68,"props":444,"children":445},{},[446],{"type":59,"value":447},"ignored",{"type":59,"value":449}," (the schedule controls time), so don't bother setting them. Narrow the query to the\nsessions that actually matter — by event, URL, person property, duration, etc. A narrow query is the single\nbiggest lever on cost.",{"type":54,"tag":62,"props":451,"children":452},{},[453,459,461,467],{"type":54,"tag":76,"props":454,"children":456},{"className":455},[],[457],{"type":59,"value":458},"sampling_rate",{"type":59,"value":460}," (0..1, default 1.0) is a random downsample applied ",{"type":54,"tag":462,"props":463,"children":464},"em",{},[465],{"type":59,"value":466},"after",{"type":59,"value":468}," the query matches. Lower it to\ntrade coverage for budget.",{"type":54,"tag":122,"props":470,"children":472},{"id":471},"step-3-size-it-the-gut-check-do-not-skip",[473],{"type":59,"value":474},"Step 3: Size it — the gut-check (do not skip)",{"type":54,"tag":62,"props":476,"children":477},{},[478],{"type":59,"value":479},"Before creating, run both checks and reason about them together:",{"type":54,"tag":481,"props":482,"children":483},"ol",{},[484,541],{"type":54,"tag":485,"props":486,"children":487},"li",{},[488,493,495,501,503,508,510,515,517,523,525,531,533,539],{"type":54,"tag":68,"props":489,"children":490},{},[491],{"type":59,"value":492},"Estimate volume",{"type":59,"value":494}," — call ",{"type":54,"tag":76,"props":496,"children":498},{"className":497},[],[499],{"type":59,"value":500},"vision-scanners-estimate-create",{"type":59,"value":502}," with the proposed ",{"type":54,"tag":76,"props":504,"children":506},{"className":505},[],[507],{"type":59,"value":416},{"type":59,"value":509}," + ",{"type":54,"tag":76,"props":511,"children":513},{"className":512},[],[514],{"type":59,"value":458},{"type":59,"value":516},".\nIt returns ",{"type":54,"tag":76,"props":518,"children":520},{"className":519},[],[521],{"type":59,"value":522},"matched_sessions_in_window",{"type":59,"value":524},", the ",{"type":54,"tag":76,"props":526,"children":528},{"className":527},[],[529],{"type":59,"value":530},"window_days",{"type":59,"value":532}," measured, and\n",{"type":54,"tag":76,"props":534,"children":536},{"className":535},[],[537],{"type":59,"value":538},"estimated_observations_per_month",{"type":59,"value":540},".",{"type":54,"tag":485,"props":542,"children":543},{},[544,549,550,556,558,564,566,572,574,580,582,588],{"type":54,"tag":68,"props":545,"children":546},{},[547],{"type":59,"value":548},"Check budget",{"type":59,"value":494},{"type":54,"tag":76,"props":551,"children":553},{"className":552},[],[554],{"type":59,"value":555},"vision-quota-retrieve",{"type":59,"value":557}," for ",{"type":54,"tag":76,"props":559,"children":561},{"className":560},[],[562],{"type":59,"value":563},"remaining",{"type":59,"value":565}," and ",{"type":54,"tag":76,"props":567,"children":569},{"className":568},[],[570],{"type":59,"value":571},"exhausted",{"type":59,"value":573}," against the org's monthly\n",{"type":54,"tag":76,"props":575,"children":577},{"className":576},[],[578],{"type":59,"value":579},"credit_limit",{"type":59,"value":581}," (credits, 1 credit = $0.01; ",{"type":54,"tag":76,"props":583,"children":585},{"className":584},[],[586],{"type":59,"value":587},"null",{"type":59,"value":589}," when uncapped).",{"type":54,"tag":62,"props":591,"children":592},{},[593],{"type":59,"value":594},"Then decide:",{"type":54,"tag":596,"props":597,"children":598},"ul",{},[599,618,650],{"type":54,"tag":485,"props":600,"children":601},{},[602,604,609,611,616],{"type":59,"value":603},"If ",{"type":54,"tag":76,"props":605,"children":607},{"className":606},[],[608],{"type":59,"value":538},{"type":59,"value":610}," comfortably fits within ",{"type":54,"tag":76,"props":612,"children":614},{"className":613},[],[615],{"type":59,"value":563},{"type":59,"value":617},", proceed.",{"type":54,"tag":485,"props":619,"children":620},{},[621,623,628,629,634,636,641,643,648],{"type":59,"value":622},"If it's a large fraction of (or exceeds) ",{"type":54,"tag":76,"props":624,"children":626},{"className":625},[],[627],{"type":59,"value":563},{"type":59,"value":264},{"type":54,"tag":68,"props":630,"children":631},{},[632],{"type":59,"value":633},"stop and tell the user the concrete numbers",{"type":59,"value":635},"\n— e.g. \"This scanner is projected to produce ~X observations\u002Fmonth; you have Y of Z left this month.\" —\nand confirm before creating, or suggest tightening the ",{"type":54,"tag":76,"props":637,"children":639},{"className":638},[],[640],{"type":59,"value":416},{"type":59,"value":642}," or lowering ",{"type":54,"tag":76,"props":644,"children":646},{"className":645},[],[647],{"type":59,"value":458},{"type":59,"value":649}," first.",{"type":54,"tag":485,"props":651,"children":652},{},[653,655,660],{"type":59,"value":654},"If the org is already ",{"type":54,"tag":76,"props":656,"children":658},{"className":657},[],[659],{"type":59,"value":571},{"type":59,"value":661},", say so — a new enabled scanner won't produce anything until the quota\nresets, and its observations will be silently skipped.",{"type":54,"tag":62,"props":663,"children":664},{},[665],{"type":59,"value":666},"Confirmation here is a conversation step, not an API capability — surface the trade-off and let the user\nchoose. When the projected volume is clearly small relative to the budget, you don't need to ask.",{"type":54,"tag":122,"props":668,"children":670},{"id":669},"step-4-create",[671],{"type":59,"value":672},"Step 4: Create",{"type":54,"tag":62,"props":674,"children":675},{},[676,678,684],{"type":59,"value":677},"Call ",{"type":54,"tag":76,"props":679,"children":681},{"className":680},[],[682],{"type":59,"value":683},"vision-scanners-create",{"type":59,"value":685},". Minimal example:",{"type":54,"tag":687,"props":688,"children":693},"pre",{"className":689,"code":690,"language":691,"meta":692,"style":692},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"name\": \"Rage click monitor\",\n  \"scanner_type\": \"monitor\",\n  \"scanner_config\": { \"prompt\": \"Flag sessions where the user repeatedly clicks the same element in frustration.\" },\n  \"query\": { \"kind\": \"RecordingsQuery\", \"events\": [{ \"id\": \"$rageclick\", \"type\": \"events\" }] },\n  \"sampling_rate\": 1.0,\n  \"model\": \"gemini-3.6-flash\",\n  \"enabled\": true\n}\n","json","",[694],{"type":54,"tag":76,"props":695,"children":696},{"__ignoreMap":692},[697,709,754,790,850,1003,1032,1070,1096],{"type":54,"tag":698,"props":699,"children":702},"span",{"class":700,"line":701},"line",1,[703],{"type":54,"tag":698,"props":704,"children":706},{"style":705},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[707],{"type":59,"value":708},"{\n",{"type":54,"tag":698,"props":710,"children":712},{"class":700,"line":711},2,[713,718,724,729,734,739,745,749],{"type":54,"tag":698,"props":714,"children":715},{"style":705},[716],{"type":59,"value":717},"  \"",{"type":54,"tag":698,"props":719,"children":721},{"style":720},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[722],{"type":59,"value":723},"name",{"type":54,"tag":698,"props":725,"children":726},{"style":705},[727],{"type":59,"value":728},"\"",{"type":54,"tag":698,"props":730,"children":731},{"style":705},[732],{"type":59,"value":733},":",{"type":54,"tag":698,"props":735,"children":736},{"style":705},[737],{"type":59,"value":738}," \"",{"type":54,"tag":698,"props":740,"children":742},{"style":741},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[743],{"type":59,"value":744},"Rage click monitor",{"type":54,"tag":698,"props":746,"children":747},{"style":705},[748],{"type":59,"value":728},{"type":54,"tag":698,"props":750,"children":751},{"style":705},[752],{"type":59,"value":753},",\n",{"type":54,"tag":698,"props":755,"children":757},{"class":700,"line":756},3,[758,762,766,770,774,778,782,786],{"type":54,"tag":698,"props":759,"children":760},{"style":705},[761],{"type":59,"value":717},{"type":54,"tag":698,"props":763,"children":764},{"style":720},[765],{"type":59,"value":138},{"type":54,"tag":698,"props":767,"children":768},{"style":705},[769],{"type":59,"value":728},{"type":54,"tag":698,"props":771,"children":772},{"style":705},[773],{"type":59,"value":733},{"type":54,"tag":698,"props":775,"children":776},{"style":705},[777],{"type":59,"value":738},{"type":54,"tag":698,"props":779,"children":780},{"style":741},[781],{"type":59,"value":206},{"type":54,"tag":698,"props":783,"children":784},{"style":705},[785],{"type":59,"value":728},{"type":54,"tag":698,"props":787,"children":788},{"style":705},[789],{"type":59,"value":753},{"type":54,"tag":698,"props":791,"children":793},{"class":700,"line":792},4,[794,798,802,806,810,815,819,824,828,832,836,841,845],{"type":54,"tag":698,"props":795,"children":796},{"style":705},[797],{"type":59,"value":717},{"type":54,"tag":698,"props":799,"children":800},{"style":720},[801],{"type":59,"value":146},{"type":54,"tag":698,"props":803,"children":804},{"style":705},[805],{"type":59,"value":728},{"type":54,"tag":698,"props":807,"children":808},{"style":705},[809],{"type":59,"value":733},{"type":54,"tag":698,"props":811,"children":812},{"style":705},[813],{"type":59,"value":814}," {",{"type":54,"tag":698,"props":816,"children":817},{"style":705},[818],{"type":59,"value":738},{"type":54,"tag":698,"props":820,"children":822},{"style":821},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[823],{"type":59,"value":154},{"type":54,"tag":698,"props":825,"children":826},{"style":705},[827],{"type":59,"value":728},{"type":54,"tag":698,"props":829,"children":830},{"style":705},[831],{"type":59,"value":733},{"type":54,"tag":698,"props":833,"children":834},{"style":705},[835],{"type":59,"value":738},{"type":54,"tag":698,"props":837,"children":838},{"style":741},[839],{"type":59,"value":840},"Flag sessions where the user repeatedly clicks the same element in frustration.",{"type":54,"tag":698,"props":842,"children":843},{"style":705},[844],{"type":59,"value":728},{"type":54,"tag":698,"props":846,"children":847},{"style":705},[848],{"type":59,"value":849}," },\n",{"type":54,"tag":698,"props":851,"children":853},{"class":700,"line":852},5,[854,858,862,866,870,874,878,883,887,891,895,899,903,908,912,917,921,925,930,934,940,944,948,952,957,961,965,969,974,978,982,986,990,994,999],{"type":54,"tag":698,"props":855,"children":856},{"style":705},[857],{"type":59,"value":717},{"type":54,"tag":698,"props":859,"children":860},{"style":720},[861],{"type":59,"value":416},{"type":54,"tag":698,"props":863,"children":864},{"style":705},[865],{"type":59,"value":728},{"type":54,"tag":698,"props":867,"children":868},{"style":705},[869],{"type":59,"value":733},{"type":54,"tag":698,"props":871,"children":872},{"style":705},[873],{"type":59,"value":814},{"type":54,"tag":698,"props":875,"children":876},{"style":705},[877],{"type":59,"value":738},{"type":54,"tag":698,"props":879,"children":880},{"style":821},[881],{"type":59,"value":882},"kind",{"type":54,"tag":698,"props":884,"children":885},{"style":705},[886],{"type":59,"value":728},{"type":54,"tag":698,"props":888,"children":889},{"style":705},[890],{"type":59,"value":733},{"type":54,"tag":698,"props":892,"children":893},{"style":705},[894],{"type":59,"value":738},{"type":54,"tag":698,"props":896,"children":897},{"style":741},[898],{"type":59,"value":424},{"type":54,"tag":698,"props":900,"children":901},{"style":705},[902],{"type":59,"value":728},{"type":54,"tag":698,"props":904,"children":905},{"style":705},[906],{"type":59,"value":907},",",{"type":54,"tag":698,"props":909,"children":910},{"style":705},[911],{"type":59,"value":738},{"type":54,"tag":698,"props":913,"children":914},{"style":821},[915],{"type":59,"value":916},"events",{"type":54,"tag":698,"props":918,"children":919},{"style":705},[920],{"type":59,"value":728},{"type":54,"tag":698,"props":922,"children":923},{"style":705},[924],{"type":59,"value":733},{"type":54,"tag":698,"props":926,"children":927},{"style":705},[928],{"type":59,"value":929}," [{",{"type":54,"tag":698,"props":931,"children":932},{"style":705},[933],{"type":59,"value":738},{"type":54,"tag":698,"props":935,"children":937},{"style":936},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[938],{"type":59,"value":939},"id",{"type":54,"tag":698,"props":941,"children":942},{"style":705},[943],{"type":59,"value":728},{"type":54,"tag":698,"props":945,"children":946},{"style":705},[947],{"type":59,"value":733},{"type":54,"tag":698,"props":949,"children":950},{"style":705},[951],{"type":59,"value":738},{"type":54,"tag":698,"props":953,"children":954},{"style":741},[955],{"type":59,"value":956},"$rageclick",{"type":54,"tag":698,"props":958,"children":959},{"style":705},[960],{"type":59,"value":728},{"type":54,"tag":698,"props":962,"children":963},{"style":705},[964],{"type":59,"value":907},{"type":54,"tag":698,"props":966,"children":967},{"style":705},[968],{"type":59,"value":738},{"type":54,"tag":698,"props":970,"children":971},{"style":936},[972],{"type":59,"value":973},"type",{"type":54,"tag":698,"props":975,"children":976},{"style":705},[977],{"type":59,"value":728},{"type":54,"tag":698,"props":979,"children":980},{"style":705},[981],{"type":59,"value":733},{"type":54,"tag":698,"props":983,"children":984},{"style":705},[985],{"type":59,"value":738},{"type":54,"tag":698,"props":987,"children":988},{"style":741},[989],{"type":59,"value":916},{"type":54,"tag":698,"props":991,"children":992},{"style":705},[993],{"type":59,"value":728},{"type":54,"tag":698,"props":995,"children":996},{"style":705},[997],{"type":59,"value":998}," }]",{"type":54,"tag":698,"props":1000,"children":1001},{"style":705},[1002],{"type":59,"value":849},{"type":54,"tag":698,"props":1004,"children":1006},{"class":700,"line":1005},6,[1007,1011,1015,1019,1023,1028],{"type":54,"tag":698,"props":1008,"children":1009},{"style":705},[1010],{"type":59,"value":717},{"type":54,"tag":698,"props":1012,"children":1013},{"style":720},[1014],{"type":59,"value":458},{"type":54,"tag":698,"props":1016,"children":1017},{"style":705},[1018],{"type":59,"value":728},{"type":54,"tag":698,"props":1020,"children":1021},{"style":705},[1022],{"type":59,"value":733},{"type":54,"tag":698,"props":1024,"children":1025},{"style":936},[1026],{"type":59,"value":1027}," 1.0",{"type":54,"tag":698,"props":1029,"children":1030},{"style":705},[1031],{"type":59,"value":753},{"type":54,"tag":698,"props":1033,"children":1035},{"class":700,"line":1034},7,[1036,1040,1045,1049,1053,1057,1062,1066],{"type":54,"tag":698,"props":1037,"children":1038},{"style":705},[1039],{"type":59,"value":717},{"type":54,"tag":698,"props":1041,"children":1042},{"style":720},[1043],{"type":59,"value":1044},"model",{"type":54,"tag":698,"props":1046,"children":1047},{"style":705},[1048],{"type":59,"value":728},{"type":54,"tag":698,"props":1050,"children":1051},{"style":705},[1052],{"type":59,"value":733},{"type":54,"tag":698,"props":1054,"children":1055},{"style":705},[1056],{"type":59,"value":738},{"type":54,"tag":698,"props":1058,"children":1059},{"style":741},[1060],{"type":59,"value":1061},"gemini-3.6-flash",{"type":54,"tag":698,"props":1063,"children":1064},{"style":705},[1065],{"type":59,"value":728},{"type":54,"tag":698,"props":1067,"children":1068},{"style":705},[1069],{"type":59,"value":753},{"type":54,"tag":698,"props":1071,"children":1073},{"class":700,"line":1072},8,[1074,1078,1083,1087,1091],{"type":54,"tag":698,"props":1075,"children":1076},{"style":705},[1077],{"type":59,"value":717},{"type":54,"tag":698,"props":1079,"children":1080},{"style":720},[1081],{"type":59,"value":1082},"enabled",{"type":54,"tag":698,"props":1084,"children":1085},{"style":705},[1086],{"type":59,"value":728},{"type":54,"tag":698,"props":1088,"children":1089},{"style":705},[1090],{"type":59,"value":733},{"type":54,"tag":698,"props":1092,"children":1093},{"style":705},[1094],{"type":59,"value":1095}," true\n",{"type":54,"tag":698,"props":1097,"children":1099},{"class":700,"line":1098},9,[1100],{"type":54,"tag":698,"props":1101,"children":1102},{"style":705},[1103],{"type":59,"value":1104},"}\n",{"type":54,"tag":62,"props":1106,"children":1107},{},[1108,1113,1115,1121],{"type":54,"tag":76,"props":1109,"children":1111},{"className":1110},[],[1112],{"type":59,"value":723},{"type":59,"value":1114}," must be unique within the team. Set ",{"type":54,"tag":76,"props":1116,"children":1118},{"className":1117},[],[1119],{"type":59,"value":1120},"enabled: false",{"type":59,"value":1122}," if the user wants to create it paused (no\nschedule, no quota consumption) and turn it on later.",{"type":54,"tag":104,"props":1124,"children":1126},{"id":1125},"after-creation",[1127],{"type":59,"value":1128},"After creation",{"type":54,"tag":596,"props":1130,"children":1131},{},[1132,1137],{"type":54,"tag":485,"props":1133,"children":1134},{},[1135],{"type":59,"value":1136},"Show the scanner's PostHog URL from the response so the user can review it in the UI.",{"type":54,"tag":485,"props":1138,"children":1139},{},[1140,1142,1148,1150,1156,1158,1164,1166,1172],{"type":59,"value":1141},"Results take a few minutes to appear (rasterizing the recording to video + the LLM call are slow). Inspect\nthem with ",{"type":54,"tag":76,"props":1143,"children":1145},{"className":1144},[],[1146],{"type":59,"value":1147},"vision-scanners-observations-list",{"type":59,"value":1149}," for one scanner over time, or ",{"type":54,"tag":76,"props":1151,"children":1153},{"className":1152},[],[1154],{"type":59,"value":1155},"vision-observations-list",{"type":59,"value":1157},"\n(requires ",{"type":54,"tag":76,"props":1159,"children":1161},{"className":1160},[],[1162],{"type":59,"value":1163},"session_id",{"type":59,"value":1165},") for every scanner's findings on a single session. To dig into a recording, hand off\nto the ",{"type":54,"tag":76,"props":1167,"children":1169},{"className":1168},[],[1170],{"type":59,"value":1171},"investigating-replay",{"type":59,"value":1173}," skill.",{"type":54,"tag":104,"props":1175,"children":1177},{"id":1176},"updating-an-existing-scanner",[1178],{"type":59,"value":1179},"Updating an existing scanner",{"type":54,"tag":62,"props":1181,"children":1182},{},[1183,1189,1191,1196,1198,1203,1205,1210,1212,1217,1219,1225],{"type":54,"tag":76,"props":1184,"children":1186},{"className":1185},[],[1187],{"type":59,"value":1188},"vision-scanners-update",{"type":59,"value":1190}," is a partial update — send only changed fields. ",{"type":54,"tag":68,"props":1192,"children":1193},{},[1194],{"type":59,"value":1195},"Re-run the Step 3 gut-check\nwhenever you widen scope",{"type":59,"value":1197},": a broader ",{"type":54,"tag":76,"props":1199,"children":1201},{"className":1200},[],[1202],{"type":59,"value":416},{"type":59,"value":1204}," or a higher ",{"type":54,"tag":76,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":59,"value":458},{"type":59,"value":1211}," raises the sweep volume just like a\nfresh broad scanner would. Toggling ",{"type":54,"tag":76,"props":1213,"children":1215},{"className":1214},[],[1216],{"type":59,"value":1082},{"type":59,"value":1218},", tweaking the prompt, or narrowing the query don't need a\nre-estimate. Editing config bumps ",{"type":54,"tag":76,"props":1220,"children":1222},{"className":1221},[],[1223],{"type":59,"value":1224},"scanner_version",{"type":59,"value":1226},"; past observations keep a snapshot of the old config.",{"type":54,"tag":104,"props":1228,"children":1230},{"id":1229},"gotchas",[1231],{"type":59,"value":1232},"Gotchas",{"type":54,"tag":596,"props":1234,"children":1235},{},[1236,1246,1287],{"type":54,"tag":485,"props":1237,"children":1238},{},[1239,1244],{"type":54,"tag":68,"props":1240,"children":1241},{},[1242],{"type":59,"value":1243},"One observation per (scanner, session).",{"type":59,"value":1245}," Re-running a scanner on a session it already observed — even a\nfailed or ineligible one — is a no-op and won't produce a fresh scan.",{"type":54,"tag":485,"props":1247,"children":1248},{},[1249,1254,1256,1262,1264,1270,1271,1277,1279,1285],{"type":54,"tag":68,"props":1250,"children":1251},{},[1252],{"type":59,"value":1253},"Ineligible ≠ failed.",{"type":59,"value":1255}," Observations can land ",{"type":54,"tag":76,"props":1257,"children":1259},{"className":1258},[],[1260],{"type":59,"value":1261},"ineligible",{"type":59,"value":1263}," (e.g. ",{"type":54,"tag":76,"props":1265,"children":1267},{"className":1266},[],[1268],{"type":59,"value":1269},"too_short",{"type":59,"value":264},{"type":54,"tag":76,"props":1272,"children":1274},{"className":1273},[],[1275],{"type":59,"value":1276},"no_recording",{"type":59,"value":1278},") — a terminal\nnon-error outcome. Check ",{"type":54,"tag":76,"props":1280,"children":1282},{"className":1281},[],[1283],{"type":59,"value":1284},"error_reason",{"type":59,"value":1286}," when triaging why a scanner produced nothing.",{"type":54,"tag":485,"props":1288,"children":1289},{},[1290,1295],{"type":54,"tag":68,"props":1291,"children":1292},{},[1293],{"type":59,"value":1294},"Provider\u002Fmodel are Google\u002FGemini only",{"type":59,"value":1296}," in the current version.",{"type":54,"tag":1298,"props":1299,"children":1300},"style",{},[1301],{"type":59,"value":1302},"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":1304,"total":1403},[1305,1318,1330,1342,1355,1370,1386],{"slug":1306,"name":1306,"fn":1307,"description":1308,"org":1309,"tags":1310,"stars":23,"repoUrl":24,"updatedAt":1317},"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},[1311,1312,1315,1316],{"name":18,"slug":19,"type":15},{"name":1313,"slug":1314,"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":1319,"name":1319,"fn":1320,"description":1321,"org":1322,"tags":1323,"stars":23,"repoUrl":24,"updatedAt":1329},"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},[1324,1325,1328],{"name":18,"slug":19,"type":15},{"name":1326,"slug":1327,"type":15},"Audit","audit",{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":1331,"name":1331,"fn":1332,"description":1333,"org":1334,"tags":1335,"stars":23,"repoUrl":24,"updatedAt":1341},"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},[1336,1337,1339,1340],{"name":1326,"slug":1327,"type":15},{"name":1338,"slug":32,"type":15},"Data Warehouse",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":1343,"name":1343,"fn":1344,"description":1345,"org":1346,"tags":1347,"stars":23,"repoUrl":24,"updatedAt":1354},"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},[1348,1349,1350,1353],{"name":1326,"slug":1327,"type":15},{"name":1338,"slug":32,"type":15},{"name":1351,"slug":1352,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":1356,"name":1356,"fn":1357,"description":1358,"org":1359,"tags":1360,"stars":23,"repoUrl":24,"updatedAt":1369},"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},[1361,1364,1367,1368],{"name":1362,"slug":1363,"type":15},"Alerting","alerting",{"name":1365,"slug":1366,"type":15},"Debugging","debugging",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":1371,"name":1371,"fn":1372,"description":1373,"org":1374,"tags":1375,"stars":23,"repoUrl":24,"updatedAt":1385},"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},[1376,1377,1380,1381,1384],{"name":18,"slug":19,"type":15},{"name":1378,"slug":1379,"type":15},"Monitoring","monitoring",{"name":13,"slug":14,"type":15},{"name":1382,"slug":1383,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":1387,"name":1387,"fn":1388,"description":1389,"org":1390,"tags":1391,"stars":23,"repoUrl":24,"updatedAt":1402},"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},[1392,1395,1398,1399],{"name":1393,"slug":1394,"type":15},"Automation","automation",{"name":1396,"slug":1397,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},{"name":1400,"slug":1401,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",61,{"items":1405,"total":1522},[1406,1413,1419,1426,1433,1440,1448,1455,1469,1484,1494,1512],{"slug":1306,"name":1306,"fn":1307,"description":1308,"org":1407,"tags":1408,"stars":23,"repoUrl":24,"updatedAt":1317},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1409,1410,1411,1412],{"name":18,"slug":19,"type":15},{"name":1313,"slug":1314,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":1319,"name":1319,"fn":1320,"description":1321,"org":1414,"tags":1415,"stars":23,"repoUrl":24,"updatedAt":1329},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1416,1417,1418],{"name":18,"slug":19,"type":15},{"name":1326,"slug":1327,"type":15},{"name":9,"slug":8,"type":15},{"slug":1331,"name":1331,"fn":1332,"description":1333,"org":1420,"tags":1421,"stars":23,"repoUrl":24,"updatedAt":1341},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1422,1423,1424,1425],{"name":1326,"slug":1327,"type":15},{"name":1338,"slug":32,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":1343,"name":1343,"fn":1344,"description":1345,"org":1427,"tags":1428,"stars":23,"repoUrl":24,"updatedAt":1354},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1429,1430,1431,1432],{"name":1326,"slug":1327,"type":15},{"name":1338,"slug":32,"type":15},{"name":1351,"slug":1352,"type":15},{"name":9,"slug":8,"type":15},{"slug":1356,"name":1356,"fn":1357,"description":1358,"org":1434,"tags":1435,"stars":23,"repoUrl":24,"updatedAt":1369},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1436,1437,1438,1439],{"name":1362,"slug":1363,"type":15},{"name":1365,"slug":1366,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":1371,"name":1371,"fn":1372,"description":1373,"org":1441,"tags":1442,"stars":23,"repoUrl":24,"updatedAt":1385},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1443,1444,1445,1446,1447],{"name":18,"slug":19,"type":15},{"name":1378,"slug":1379,"type":15},{"name":13,"slug":14,"type":15},{"name":1382,"slug":1383,"type":15},{"name":9,"slug":8,"type":15},{"slug":1387,"name":1387,"fn":1388,"description":1389,"org":1449,"tags":1450,"stars":23,"repoUrl":24,"updatedAt":1402},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1451,1452,1453,1454],{"name":1393,"slug":1394,"type":15},{"name":1396,"slug":1397,"type":15},{"name":9,"slug":8,"type":15},{"name":1400,"slug":1401,"type":15},{"slug":1456,"name":1456,"fn":1457,"description":1458,"org":1459,"tags":1460,"stars":23,"repoUrl":24,"updatedAt":1468},"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},[1461,1462,1463,1466,1467],{"name":18,"slug":19,"type":15},{"name":1365,"slug":1366,"type":15},{"name":1464,"slug":1465,"type":15},"Frontend","frontend",{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":1470,"name":1470,"fn":1471,"description":1472,"org":1473,"tags":1474,"stars":23,"repoUrl":24,"updatedAt":1483},"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},[1475,1478,1479,1480],{"name":1476,"slug":1477,"type":15},"API Development","api-development",{"name":1464,"slug":1465,"type":15},{"name":9,"slug":8,"type":15},{"name":1481,"slug":1482,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":1485,"name":1485,"fn":1486,"description":1487,"org":1488,"tags":1489,"stars":23,"repoUrl":24,"updatedAt":1493},"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},[1490,1491,1492],{"name":1476,"slug":1477,"type":15},{"name":1382,"slug":1383,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":1495,"name":1495,"fn":1496,"description":1497,"org":1498,"tags":1499,"stars":23,"repoUrl":24,"updatedAt":1511},"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},[1500,1501,1504,1505,1508],{"name":1393,"slug":1394,"type":15},{"name":1502,"slug":1503,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":1506,"slug":1507,"type":15},"Reporting","reporting",{"name":1509,"slug":1510,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":1513,"name":1513,"fn":1514,"description":1515,"org":1516,"tags":1517,"stars":23,"repoUrl":24,"updatedAt":1521},"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},[1518,1519,1520],{"name":18,"slug":19,"type":15},{"name":1476,"slug":1477,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]