[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-setting-up-support-slack-locally":3,"mdc--i3pubb-key":38,"related-org-posthog-setting-up-support-slack-locally":1050,"related-repo-posthog-setting-up-support-slack-locally":1223},{"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":33,"sourceUrl":36,"mdContent":37},"setting-up-support-slack-locally","connect Slack to PostHog Conversations","Connect a real Slack workspace to local PostHog Conversations (the SupportHog Slack app) so Slack messages become support tickets and replies post back. Use when the user wants to test the conversations Slack integration locally, hits \"Support Slack OAuth client ID is not configured\", gets a white screen or \"Network error\" on the OAuth callback, or asks how to set SUPPORT_SLACK_APP_CLIENT_ID \u002F a tunnel for supporthog Slack events. Covers the Slack app + scopes, the SUPPORT_SLACK_* dynamic settings, and the key split: localhost for OAuth and the UI, a public tunnel only for inbound events.\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,14,17,20],{"name":9,"slug":8,"type":13},"tag",{"name":15,"slug":16,"type":13},"Customer Support","customer-support",{"name":18,"slug":19,"type":13},"Messaging","messaging",{"name":21,"slug":22,"type":13},"Slack","slack",59,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fai-plugin","2026-07-28T05:33:37.503668",null,11,[29,30,31,32],"claude-code-plugin","codex-plugin","cursor-plugin","gemini-cli-extension",{"repoUrl":24,"stars":23,"forks":27,"topics":34,"description":35},[29,30,31,32],"Official PostHog plugin for Claude Code, Cursor, Gemini, Codex and other AI coding tools","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fai-plugin\u002Ftree\u002FHEAD\u002Fskills\u002Fsetting-up-support-slack-locally","---\nname: setting-up-support-slack-locally\ndescription: >\n  Connect a real Slack workspace to local PostHog Conversations (the SupportHog Slack app) so Slack\n  messages become support tickets and replies post back. Use when the user wants to test the conversations\n  Slack integration locally, hits \"Support Slack OAuth client ID is not configured\", gets a white screen or\n  \"Network error\" on the OAuth callback, or asks how to set SUPPORT_SLACK_APP_CLIENT_ID \u002F a tunnel for\n  supporthog Slack events. Covers the Slack app + scopes, the SUPPORT_SLACK_* dynamic settings, and the\n  key split: localhost for OAuth and the UI, a public tunnel only for inbound events.\n---\n\n# Setting up Support Slack locally\n\nSlack is SaaS-only, so \"local\" means a throwaway Slack workspace + app whose OAuth and events reach your\nlaptop. The job has one non-obvious idea that avoids almost every wall: **the OAuth connect and the event\nwebhook have opposite reachability needs, so you point them at different places.**\n\n- **OAuth connect** is browser-mediated. Your browser follows the redirect, so `localhost` is reachable.\n  No tunnel needed.\n- **Inbound events** (Slack POSTing messages so they become tickets) are server-to-server from Slack's\n  cloud. Slack cannot reach `localhost`, so this one needs a public tunnel.\n\nKeep the whole app and the OAuth flow on `localhost`, and point only Event Subscriptions (and Interactivity)\nat the tunnel. This also sidesteps free-tier tunnel rate limits, since the tunnel then carries only Slack's\nlow-volume event POSTs rather than the entire SPA.\n\nThis is the conversations\u002FSupportHog variant of the general\n[Slack local setup guide](..\u002F..\u002F..\u002F..\u002Fdocs\u002Finternal\u002Fslack-local-setup-guide.md); that guide covers the\nPostHog Desktop \u002F notifications Slack app (`SLACK_APP_*`, `\u002Fintegrations\u002Fslack\u002Fcallback`). Conversations uses\nits own `SUPPORT_SLACK_*` credentials and `\u002Fapi\u002Fconversations\u002Fv1\u002Fslack\u002F*` routes, but the tunnel and\n`SITE_URL` mechanics are identical.\n\n## The endpoints\n\nAll under `products\u002Fconversations\u002Fbackend\u002Fapi\u002Furls.py`, prefixed `\u002Fapi\u002Fconversations\u002F`:\n\n| Route                    | Purpose                                                       | Reachability             |\n| ------------------------ | ------------------------------------------------------------- | ------------------------ |\n| `v1\u002Fslack\u002Fauthorize`     | returns the Slack OAuth URL (auth-gated)                      | browser (localhost)      |\n| `v1\u002Fslack\u002Fcallback`      | OAuth redirect target; built from `SITE_URL`, no forced https | browser (localhost)      |\n| `v1\u002Fslack\u002Fevents`        | inbound event webhook                                         | Slack's servers (tunnel) |\n| `v1\u002Fslack\u002Finteractivity` | interactive component callbacks                               | Slack's servers (tunnel) |\n\nThe callback requires an authenticated session on whatever origin `SITE_URL` resolves to, because the\nsession cookie is per-origin. Keep `SITE_URL` on `localhost` and log in there, and the callback keeps your\nsession.\n\n## Step 1 — credentials\n\n`SUPPORT_SLACK_APP_CLIENT_ID`, `SUPPORT_SLACK_APP_CLIENT_SECRET`, and `SUPPORT_SLACK_SIGNING_SECRET` are\ndjango-constance dynamic settings (`posthog\u002Fsettings\u002Fdynamic_settings.py`) that default to the matching env\nvar. Empty client id is what produces \"Support Slack OAuth client ID is not configured\". Put your Slack\napp's values in `.env.local` (gitignored) and restart the backend:\n\n```bash\nSUPPORT_SLACK_APP_CLIENT_ID=\u003Cclient id>\nSUPPORT_SLACK_APP_CLIENT_SECRET=\u003Cclient secret>\nSUPPORT_SLACK_SIGNING_SECRET=\u003Csigning secret>\n```\n\nConstance stores values in the DB, and a stored value overrides the env default. If it still reads as\nunconfigured after a restart, check `\u002Fadmin\u002Fconstance\u002Fconfig\u002F` for a blank stored value and set it there\ninstead.\n\n## Step 2 — the Slack app\n\nAt [api.slack.com\u002Fapps](https:\u002F\u002Fapi.slack.com\u002Fapps), create an app in a throwaway workspace, then:\n\n1. **App Home** → enable a **bot user** (give it a display name). Without this, install fails with \"requesting\n   permission to install a bot ... but it's not currently configured with a bot\".\n2. **OAuth & Permissions → Bot Token Scopes** — the flow requests these (from `SUPPORTHOG_SLACK_SCOPE` in\n   `products\u002Fconversations\u002Fbackend\u002Fapi\u002Fslack_oauth.py`): `channels:history`, `channels:read`, `chat:write`,\n   `chat:write.customize`, `groups:history`, `groups:read`, `reactions:read`, `users:read`,\n   `users:read.email`.\n3. **OAuth & Permissions → Redirect URLs** — add `http:\u002F\u002Flocalhost:8010\u002Fapi\u002Fconversations\u002Fv1\u002Fslack\u002Fcallback`\n   and Save. If Slack refuses a plain-http localhost URL, use the tunnel URL for the callback too and log in\n   once on the tunnel origin (see [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md)).\n4. Copy the Client ID, Client Secret, and Signing Secret from Basic Information into `.env.local` (Step 1).\n\n## Step 3 — tunnel for inbound events\n\nRun any HTTPS tunnel pointed at Caddy on **8010**, rewriting the upstream `Host` header to `localhost` (the\ndev Caddy only answers for the `localhost` host; without the rewrite you get an empty `200` and a white page):\n\n```bash\nngrok http --host-header=localhost 8010\n# or, free with no rate limit:\ncloudflared tunnel --url http:\u002F\u002Flocalhost:8010 --http-host-header localhost\n```\n\nVerify it reaches Django, not just Caddy:\n\n```bash\ncurl -sS https:\u002F\u002F\u003Ctunnel-host>\u002F_preflight | head -c 120   # want JSON, server: granian\n```\n\nThen in the Slack app set **Event Subscriptions → Request URL** (and **Interactivity → Request URL** if\ntesting buttons) to `https:\u002F\u002F\u003Ctunnel-host>\u002Fapi\u002Fconversations\u002Fv1\u002Fslack\u002Fevents` (and `...\u002Finteractivity`).\nSlack sends a synchronous `url_verification` challenge on save, so the backend must be up; the handler\nechoes it back automatically.\n\nThe Request URL alone only passes verification; it delivers nothing until you subscribe to events. Under\n**Event Subscriptions → Subscribe to bot events**, add the events the backend handles (`SUPPORT_EVENT_TYPES`\nin `products\u002Fconversations\u002Fbackend\u002Fapi\u002Fslack_events.py`):\n\n- `app_mention`\n- `message.channels` (and `message.groups` for private channels), both arriving as the inner `message` event\n- `reaction_added`\n- `member_joined_channel`, `member_left_channel`\n\nReinstall the app after changing scopes\u002Fevents so the new grants take effect.\n\n## Step 4 — connect and test\n\nBrowse the app at `http:\u002F\u002Flocalhost:8010`, log in, go to Support settings, and connect Slack. The OAuth\nround-trip completes on localhost. Then invite the bot to a channel in your dev workspace and post a\nmessage; it should arrive as a ticket, and a reply from the ticket should post back to the thread.\n\nFor the failure modes worth recognizing (white screen, \"Network error\", redirect mismatch, region routing),\nsee [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md).\n",{"data":39,"body":40},{"name":4,"description":6},{"type":41,"children":42},"root",[43,51,63,104,116,170,177,198,324,350,356,398,493,506,512,527,676,682,724,797,802,877,919,947,1010,1015,1021,1034,1044],{"type":44,"tag":45,"props":46,"children":47},"element","h1",{"id":4},[48],{"type":49,"value":50},"text","Setting up Support Slack locally",{"type":44,"tag":52,"props":53,"children":54},"p",{},[55,57],{"type":49,"value":56},"Slack is SaaS-only, so \"local\" means a throwaway Slack workspace + app whose OAuth and events reach your\nlaptop. The job has one non-obvious idea that avoids almost every wall: ",{"type":44,"tag":58,"props":59,"children":60},"strong",{},[61],{"type":49,"value":62},"the OAuth connect and the event\nwebhook have opposite reachability needs, so you point them at different places.",{"type":44,"tag":64,"props":65,"children":66},"ul",{},[67,87],{"type":44,"tag":68,"props":69,"children":70},"li",{},[71,76,78,85],{"type":44,"tag":58,"props":72,"children":73},{},[74],{"type":49,"value":75},"OAuth connect",{"type":49,"value":77}," is browser-mediated. Your browser follows the redirect, so ",{"type":44,"tag":79,"props":80,"children":82},"code",{"className":81},[],[83],{"type":49,"value":84},"localhost",{"type":49,"value":86}," is reachable.\nNo tunnel needed.",{"type":44,"tag":68,"props":88,"children":89},{},[90,95,97,102],{"type":44,"tag":58,"props":91,"children":92},{},[93],{"type":49,"value":94},"Inbound events",{"type":49,"value":96}," (Slack POSTing messages so they become tickets) are server-to-server from Slack's\ncloud. Slack cannot reach ",{"type":44,"tag":79,"props":98,"children":100},{"className":99},[],[101],{"type":49,"value":84},{"type":49,"value":103},", so this one needs a public tunnel.",{"type":44,"tag":52,"props":105,"children":106},{},[107,109,114],{"type":49,"value":108},"Keep the whole app and the OAuth flow on ",{"type":44,"tag":79,"props":110,"children":112},{"className":111},[],[113],{"type":49,"value":84},{"type":49,"value":115},", and point only Event Subscriptions (and Interactivity)\nat the tunnel. This also sidesteps free-tier tunnel rate limits, since the tunnel then carries only Slack's\nlow-volume event POSTs rather than the entire SPA.",{"type":44,"tag":52,"props":117,"children":118},{},[119,121,128,130,136,138,144,146,152,154,160,162,168],{"type":49,"value":120},"This is the conversations\u002FSupportHog variant of the general\n",{"type":44,"tag":122,"props":123,"children":125},"a",{"href":124},"..\u002F..\u002F..\u002F..\u002Fdocs\u002Finternal\u002Fslack-local-setup-guide.md",[126],{"type":49,"value":127},"Slack local setup guide",{"type":49,"value":129},"; that guide covers the\nPostHog Desktop \u002F notifications Slack app (",{"type":44,"tag":79,"props":131,"children":133},{"className":132},[],[134],{"type":49,"value":135},"SLACK_APP_*",{"type":49,"value":137},", ",{"type":44,"tag":79,"props":139,"children":141},{"className":140},[],[142],{"type":49,"value":143},"\u002Fintegrations\u002Fslack\u002Fcallback",{"type":49,"value":145},"). Conversations uses\nits own ",{"type":44,"tag":79,"props":147,"children":149},{"className":148},[],[150],{"type":49,"value":151},"SUPPORT_SLACK_*",{"type":49,"value":153}," credentials and ",{"type":44,"tag":79,"props":155,"children":157},{"className":156},[],[158],{"type":49,"value":159},"\u002Fapi\u002Fconversations\u002Fv1\u002Fslack\u002F*",{"type":49,"value":161}," routes, but the tunnel and\n",{"type":44,"tag":79,"props":163,"children":165},{"className":164},[],[166],{"type":49,"value":167},"SITE_URL",{"type":49,"value":169}," mechanics are identical.",{"type":44,"tag":171,"props":172,"children":174},"h2",{"id":173},"the-endpoints",[175],{"type":49,"value":176},"The endpoints",{"type":44,"tag":52,"props":178,"children":179},{},[180,182,188,190,196],{"type":49,"value":181},"All under ",{"type":44,"tag":79,"props":183,"children":185},{"className":184},[],[186],{"type":49,"value":187},"products\u002Fconversations\u002Fbackend\u002Fapi\u002Furls.py",{"type":49,"value":189},", prefixed ",{"type":44,"tag":79,"props":191,"children":193},{"className":192},[],[194],{"type":49,"value":195},"\u002Fapi\u002Fconversations\u002F",{"type":49,"value":197},":",{"type":44,"tag":199,"props":200,"children":201},"table",{},[202,226],{"type":44,"tag":203,"props":204,"children":205},"thead",{},[206],{"type":44,"tag":207,"props":208,"children":209},"tr",{},[210,216,221],{"type":44,"tag":211,"props":212,"children":213},"th",{},[214],{"type":49,"value":215},"Route",{"type":44,"tag":211,"props":217,"children":218},{},[219],{"type":49,"value":220},"Purpose",{"type":44,"tag":211,"props":222,"children":223},{},[224],{"type":49,"value":225},"Reachability",{"type":44,"tag":227,"props":228,"children":229},"tbody",{},[230,253,281,303],{"type":44,"tag":207,"props":231,"children":232},{},[233,243,248],{"type":44,"tag":234,"props":235,"children":236},"td",{},[237],{"type":44,"tag":79,"props":238,"children":240},{"className":239},[],[241],{"type":49,"value":242},"v1\u002Fslack\u002Fauthorize",{"type":44,"tag":234,"props":244,"children":245},{},[246],{"type":49,"value":247},"returns the Slack OAuth URL (auth-gated)",{"type":44,"tag":234,"props":249,"children":250},{},[251],{"type":49,"value":252},"browser (localhost)",{"type":44,"tag":207,"props":254,"children":255},{},[256,265,277],{"type":44,"tag":234,"props":257,"children":258},{},[259],{"type":44,"tag":79,"props":260,"children":262},{"className":261},[],[263],{"type":49,"value":264},"v1\u002Fslack\u002Fcallback",{"type":44,"tag":234,"props":266,"children":267},{},[268,270,275],{"type":49,"value":269},"OAuth redirect target; built from ",{"type":44,"tag":79,"props":271,"children":273},{"className":272},[],[274],{"type":49,"value":167},{"type":49,"value":276},", no forced https",{"type":44,"tag":234,"props":278,"children":279},{},[280],{"type":49,"value":252},{"type":44,"tag":207,"props":282,"children":283},{},[284,293,298],{"type":44,"tag":234,"props":285,"children":286},{},[287],{"type":44,"tag":79,"props":288,"children":290},{"className":289},[],[291],{"type":49,"value":292},"v1\u002Fslack\u002Fevents",{"type":44,"tag":234,"props":294,"children":295},{},[296],{"type":49,"value":297},"inbound event webhook",{"type":44,"tag":234,"props":299,"children":300},{},[301],{"type":49,"value":302},"Slack's servers (tunnel)",{"type":44,"tag":207,"props":304,"children":305},{},[306,315,320],{"type":44,"tag":234,"props":307,"children":308},{},[309],{"type":44,"tag":79,"props":310,"children":312},{"className":311},[],[313],{"type":49,"value":314},"v1\u002Fslack\u002Finteractivity",{"type":44,"tag":234,"props":316,"children":317},{},[318],{"type":49,"value":319},"interactive component callbacks",{"type":44,"tag":234,"props":321,"children":322},{},[323],{"type":49,"value":302},{"type":44,"tag":52,"props":325,"children":326},{},[327,329,334,336,341,343,348],{"type":49,"value":328},"The callback requires an authenticated session on whatever origin ",{"type":44,"tag":79,"props":330,"children":332},{"className":331},[],[333],{"type":49,"value":167},{"type":49,"value":335}," resolves to, because the\nsession cookie is per-origin. Keep ",{"type":44,"tag":79,"props":337,"children":339},{"className":338},[],[340],{"type":49,"value":167},{"type":49,"value":342}," on ",{"type":44,"tag":79,"props":344,"children":346},{"className":345},[],[347],{"type":49,"value":84},{"type":49,"value":349}," and log in there, and the callback keeps your\nsession.",{"type":44,"tag":171,"props":351,"children":353},{"id":352},"step-1-credentials",[354],{"type":49,"value":355},"Step 1 — credentials",{"type":44,"tag":52,"props":357,"children":358},{},[359,365,366,372,374,380,382,388,390,396],{"type":44,"tag":79,"props":360,"children":362},{"className":361},[],[363],{"type":49,"value":364},"SUPPORT_SLACK_APP_CLIENT_ID",{"type":49,"value":137},{"type":44,"tag":79,"props":367,"children":369},{"className":368},[],[370],{"type":49,"value":371},"SUPPORT_SLACK_APP_CLIENT_SECRET",{"type":49,"value":373},", and ",{"type":44,"tag":79,"props":375,"children":377},{"className":376},[],[378],{"type":49,"value":379},"SUPPORT_SLACK_SIGNING_SECRET",{"type":49,"value":381}," are\ndjango-constance dynamic settings (",{"type":44,"tag":79,"props":383,"children":385},{"className":384},[],[386],{"type":49,"value":387},"posthog\u002Fsettings\u002Fdynamic_settings.py",{"type":49,"value":389},") that default to the matching env\nvar. Empty client id is what produces \"Support Slack OAuth client ID is not configured\". Put your Slack\napp's values in ",{"type":44,"tag":79,"props":391,"children":393},{"className":392},[],[394],{"type":49,"value":395},".env.local",{"type":49,"value":397}," (gitignored) and restart the backend:",{"type":44,"tag":399,"props":400,"children":405},"pre",{"className":401,"code":402,"language":403,"meta":404,"style":404},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","SUPPORT_SLACK_APP_CLIENT_ID=\u003Cclient id>\nSUPPORT_SLACK_APP_CLIENT_SECRET=\u003Cclient secret>\nSUPPORT_SLACK_SIGNING_SECRET=\u003Csigning secret>\n","bash","",[406],{"type":44,"tag":79,"props":407,"children":408},{"__ignoreMap":404},[409,443,468],{"type":44,"tag":410,"props":411,"children":414},"span",{"class":412,"line":413},"line",1,[415,420,426,432,438],{"type":44,"tag":410,"props":416,"children":418},{"style":417},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[419],{"type":49,"value":364},{"type":44,"tag":410,"props":421,"children":423},{"style":422},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[424],{"type":49,"value":425},"=\u003C",{"type":44,"tag":410,"props":427,"children":429},{"style":428},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[430],{"type":49,"value":431},"client",{"type":44,"tag":410,"props":433,"children":435},{"style":434},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[436],{"type":49,"value":437}," id",{"type":44,"tag":410,"props":439,"children":440},{"style":417},[441],{"type":49,"value":442},">\n",{"type":44,"tag":410,"props":444,"children":446},{"class":412,"line":445},2,[447,451,455,459,464],{"type":44,"tag":410,"props":448,"children":449},{"style":417},[450],{"type":49,"value":371},{"type":44,"tag":410,"props":452,"children":453},{"style":422},[454],{"type":49,"value":425},{"type":44,"tag":410,"props":456,"children":457},{"style":428},[458],{"type":49,"value":431},{"type":44,"tag":410,"props":460,"children":461},{"style":434},[462],{"type":49,"value":463}," secret",{"type":44,"tag":410,"props":465,"children":466},{"style":417},[467],{"type":49,"value":442},{"type":44,"tag":410,"props":469,"children":471},{"class":412,"line":470},3,[472,476,480,485,489],{"type":44,"tag":410,"props":473,"children":474},{"style":417},[475],{"type":49,"value":379},{"type":44,"tag":410,"props":477,"children":478},{"style":422},[479],{"type":49,"value":425},{"type":44,"tag":410,"props":481,"children":482},{"style":428},[483],{"type":49,"value":484},"signing",{"type":44,"tag":410,"props":486,"children":487},{"style":434},[488],{"type":49,"value":463},{"type":44,"tag":410,"props":490,"children":491},{"style":417},[492],{"type":49,"value":442},{"type":44,"tag":52,"props":494,"children":495},{},[496,498,504],{"type":49,"value":497},"Constance stores values in the DB, and a stored value overrides the env default. If it still reads as\nunconfigured after a restart, check ",{"type":44,"tag":79,"props":499,"children":501},{"className":500},[],[502],{"type":49,"value":503},"\u002Fadmin\u002Fconstance\u002Fconfig\u002F",{"type":49,"value":505}," for a blank stored value and set it there\ninstead.",{"type":44,"tag":171,"props":507,"children":509},{"id":508},"step-2-the-slack-app",[510],{"type":49,"value":511},"Step 2 — the Slack app",{"type":44,"tag":52,"props":513,"children":514},{},[515,517,525],{"type":49,"value":516},"At ",{"type":44,"tag":122,"props":518,"children":522},{"href":519,"rel":520},"https:\u002F\u002Fapi.slack.com\u002Fapps",[521],"nofollow",[523],{"type":49,"value":524},"api.slack.com\u002Fapps",{"type":49,"value":526},", create an app in a throwaway workspace, then:",{"type":44,"tag":528,"props":529,"children":530},"ol",{},[531,548,639,664],{"type":44,"tag":68,"props":532,"children":533},{},[534,539,541,546],{"type":44,"tag":58,"props":535,"children":536},{},[537],{"type":49,"value":538},"App Home",{"type":49,"value":540}," → enable a ",{"type":44,"tag":58,"props":542,"children":543},{},[544],{"type":49,"value":545},"bot user",{"type":49,"value":547}," (give it a display name). Without this, install fails with \"requesting\npermission to install a bot ... but it's not currently configured with a bot\".",{"type":44,"tag":68,"props":549,"children":550},{},[551,556,558,564,566,572,574,580,581,587,588,594,596,602,603,609,610,616,617,623,624,630,631,637],{"type":44,"tag":58,"props":552,"children":553},{},[554],{"type":49,"value":555},"OAuth & Permissions → Bot Token Scopes",{"type":49,"value":557}," — the flow requests these (from ",{"type":44,"tag":79,"props":559,"children":561},{"className":560},[],[562],{"type":49,"value":563},"SUPPORTHOG_SLACK_SCOPE",{"type":49,"value":565}," in\n",{"type":44,"tag":79,"props":567,"children":569},{"className":568},[],[570],{"type":49,"value":571},"products\u002Fconversations\u002Fbackend\u002Fapi\u002Fslack_oauth.py",{"type":49,"value":573},"): ",{"type":44,"tag":79,"props":575,"children":577},{"className":576},[],[578],{"type":49,"value":579},"channels:history",{"type":49,"value":137},{"type":44,"tag":79,"props":582,"children":584},{"className":583},[],[585],{"type":49,"value":586},"channels:read",{"type":49,"value":137},{"type":44,"tag":79,"props":589,"children":591},{"className":590},[],[592],{"type":49,"value":593},"chat:write",{"type":49,"value":595},",\n",{"type":44,"tag":79,"props":597,"children":599},{"className":598},[],[600],{"type":49,"value":601},"chat:write.customize",{"type":49,"value":137},{"type":44,"tag":79,"props":604,"children":606},{"className":605},[],[607],{"type":49,"value":608},"groups:history",{"type":49,"value":137},{"type":44,"tag":79,"props":611,"children":613},{"className":612},[],[614],{"type":49,"value":615},"groups:read",{"type":49,"value":137},{"type":44,"tag":79,"props":618,"children":620},{"className":619},[],[621],{"type":49,"value":622},"reactions:read",{"type":49,"value":137},{"type":44,"tag":79,"props":625,"children":627},{"className":626},[],[628],{"type":49,"value":629},"users:read",{"type":49,"value":595},{"type":44,"tag":79,"props":632,"children":634},{"className":633},[],[635],{"type":49,"value":636},"users:read.email",{"type":49,"value":638},".",{"type":44,"tag":68,"props":640,"children":641},{},[642,647,649,655,657,662],{"type":44,"tag":58,"props":643,"children":644},{},[645],{"type":49,"value":646},"OAuth & Permissions → Redirect URLs",{"type":49,"value":648}," — add ",{"type":44,"tag":79,"props":650,"children":652},{"className":651},[],[653],{"type":49,"value":654},"http:\u002F\u002Flocalhost:8010\u002Fapi\u002Fconversations\u002Fv1\u002Fslack\u002Fcallback",{"type":49,"value":656},"\nand Save. If Slack refuses a plain-http localhost URL, use the tunnel URL for the callback too and log in\nonce on the tunnel origin (see ",{"type":44,"tag":122,"props":658,"children":660},{"href":659},"references\u002Ftroubleshooting.md",[661],{"type":49,"value":659},{"type":49,"value":663},").",{"type":44,"tag":68,"props":665,"children":666},{},[667,669,674],{"type":49,"value":668},"Copy the Client ID, Client Secret, and Signing Secret from Basic Information into ",{"type":44,"tag":79,"props":670,"children":672},{"className":671},[],[673],{"type":49,"value":395},{"type":49,"value":675}," (Step 1).",{"type":44,"tag":171,"props":677,"children":679},{"id":678},"step-3-tunnel-for-inbound-events",[680],{"type":49,"value":681},"Step 3 — tunnel for inbound events",{"type":44,"tag":52,"props":683,"children":684},{},[685,687,692,694,700,702,707,709,714,716,722],{"type":49,"value":686},"Run any HTTPS tunnel pointed at Caddy on ",{"type":44,"tag":58,"props":688,"children":689},{},[690],{"type":49,"value":691},"8010",{"type":49,"value":693},", rewriting the upstream ",{"type":44,"tag":79,"props":695,"children":697},{"className":696},[],[698],{"type":49,"value":699},"Host",{"type":49,"value":701}," header to ",{"type":44,"tag":79,"props":703,"children":705},{"className":704},[],[706],{"type":49,"value":84},{"type":49,"value":708}," (the\ndev Caddy only answers for the ",{"type":44,"tag":79,"props":710,"children":712},{"className":711},[],[713],{"type":49,"value":84},{"type":49,"value":715}," host; without the rewrite you get an empty ",{"type":44,"tag":79,"props":717,"children":719},{"className":718},[],[720],{"type":49,"value":721},"200",{"type":49,"value":723}," and a white page):",{"type":44,"tag":399,"props":725,"children":727},{"className":401,"code":726,"language":403,"meta":404,"style":404},"ngrok http --host-header=localhost 8010\n# or, free with no rate limit:\ncloudflared tunnel --url http:\u002F\u002Flocalhost:8010 --http-host-header localhost\n",[728],{"type":44,"tag":79,"props":729,"children":730},{"__ignoreMap":404},[731,755,764],{"type":44,"tag":410,"props":732,"children":733},{"class":412,"line":413},[734,739,744,749],{"type":44,"tag":410,"props":735,"children":736},{"style":434},[737],{"type":49,"value":738},"ngrok",{"type":44,"tag":410,"props":740,"children":741},{"style":428},[742],{"type":49,"value":743}," http",{"type":44,"tag":410,"props":745,"children":746},{"style":428},[747],{"type":49,"value":748}," --host-header=localhost",{"type":44,"tag":410,"props":750,"children":752},{"style":751},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[753],{"type":49,"value":754}," 8010\n",{"type":44,"tag":410,"props":756,"children":757},{"class":412,"line":445},[758],{"type":44,"tag":410,"props":759,"children":761},{"style":760},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[762],{"type":49,"value":763},"# or, free with no rate limit:\n",{"type":44,"tag":410,"props":765,"children":766},{"class":412,"line":470},[767,772,777,782,787,792],{"type":44,"tag":410,"props":768,"children":769},{"style":434},[770],{"type":49,"value":771},"cloudflared",{"type":44,"tag":410,"props":773,"children":774},{"style":428},[775],{"type":49,"value":776}," tunnel",{"type":44,"tag":410,"props":778,"children":779},{"style":428},[780],{"type":49,"value":781}," --url",{"type":44,"tag":410,"props":783,"children":784},{"style":428},[785],{"type":49,"value":786}," http:\u002F\u002Flocalhost:8010",{"type":44,"tag":410,"props":788,"children":789},{"style":428},[790],{"type":49,"value":791}," --http-host-header",{"type":44,"tag":410,"props":793,"children":794},{"style":428},[795],{"type":49,"value":796}," localhost\n",{"type":44,"tag":52,"props":798,"children":799},{},[800],{"type":49,"value":801},"Verify it reaches Django, not just Caddy:",{"type":44,"tag":399,"props":803,"children":805},{"className":401,"code":804,"language":403,"meta":404,"style":404},"curl -sS https:\u002F\u002F\u003Ctunnel-host>\u002F_preflight | head -c 120   # want JSON, server: granian\n",[806],{"type":44,"tag":79,"props":807,"children":808},{"__ignoreMap":404},[809],{"type":44,"tag":410,"props":810,"children":811},{"class":412,"line":413},[812,817,822,827,832,837,842,847,852,857,862,867,872],{"type":44,"tag":410,"props":813,"children":814},{"style":434},[815],{"type":49,"value":816},"curl",{"type":44,"tag":410,"props":818,"children":819},{"style":428},[820],{"type":49,"value":821}," -sS",{"type":44,"tag":410,"props":823,"children":824},{"style":428},[825],{"type":49,"value":826}," https:\u002F\u002F",{"type":44,"tag":410,"props":828,"children":829},{"style":422},[830],{"type":49,"value":831},"\u003C",{"type":44,"tag":410,"props":833,"children":834},{"style":428},[835],{"type":49,"value":836},"tunnel-hos",{"type":44,"tag":410,"props":838,"children":839},{"style":417},[840],{"type":49,"value":841},"t",{"type":44,"tag":410,"props":843,"children":844},{"style":422},[845],{"type":49,"value":846},">",{"type":44,"tag":410,"props":848,"children":849},{"style":428},[850],{"type":49,"value":851},"\u002F_preflight",{"type":44,"tag":410,"props":853,"children":854},{"style":422},[855],{"type":49,"value":856}," |",{"type":44,"tag":410,"props":858,"children":859},{"style":434},[860],{"type":49,"value":861}," head",{"type":44,"tag":410,"props":863,"children":864},{"style":428},[865],{"type":49,"value":866}," -c",{"type":44,"tag":410,"props":868,"children":869},{"style":751},[870],{"type":49,"value":871}," 120",{"type":44,"tag":410,"props":873,"children":874},{"style":760},[875],{"type":49,"value":876},"   # want JSON, server: granian\n",{"type":44,"tag":52,"props":878,"children":879},{},[880,882,887,889,894,896,902,903,909,911,917],{"type":49,"value":881},"Then in the Slack app set ",{"type":44,"tag":58,"props":883,"children":884},{},[885],{"type":49,"value":886},"Event Subscriptions → Request URL",{"type":49,"value":888}," (and ",{"type":44,"tag":58,"props":890,"children":891},{},[892],{"type":49,"value":893},"Interactivity → Request URL",{"type":49,"value":895}," if\ntesting buttons) to ",{"type":44,"tag":79,"props":897,"children":899},{"className":898},[],[900],{"type":49,"value":901},"https:\u002F\u002F\u003Ctunnel-host>\u002Fapi\u002Fconversations\u002Fv1\u002Fslack\u002Fevents",{"type":49,"value":888},{"type":44,"tag":79,"props":904,"children":906},{"className":905},[],[907],{"type":49,"value":908},"...\u002Finteractivity",{"type":49,"value":910},").\nSlack sends a synchronous ",{"type":44,"tag":79,"props":912,"children":914},{"className":913},[],[915],{"type":49,"value":916},"url_verification",{"type":49,"value":918}," challenge on save, so the backend must be up; the handler\nechoes it back automatically.",{"type":44,"tag":52,"props":920,"children":921},{},[922,924,929,931,937,939,945],{"type":49,"value":923},"The Request URL alone only passes verification; it delivers nothing until you subscribe to events. Under\n",{"type":44,"tag":58,"props":925,"children":926},{},[927],{"type":49,"value":928},"Event Subscriptions → Subscribe to bot events",{"type":49,"value":930},", add the events the backend handles (",{"type":44,"tag":79,"props":932,"children":934},{"className":933},[],[935],{"type":49,"value":936},"SUPPORT_EVENT_TYPES",{"type":49,"value":938},"\nin ",{"type":44,"tag":79,"props":940,"children":942},{"className":941},[],[943],{"type":49,"value":944},"products\u002Fconversations\u002Fbackend\u002Fapi\u002Fslack_events.py",{"type":49,"value":946},"):",{"type":44,"tag":64,"props":948,"children":949},{},[950,959,985,994],{"type":44,"tag":68,"props":951,"children":952},{},[953],{"type":44,"tag":79,"props":954,"children":956},{"className":955},[],[957],{"type":49,"value":958},"app_mention",{"type":44,"tag":68,"props":960,"children":961},{},[962,968,969,975,977,983],{"type":44,"tag":79,"props":963,"children":965},{"className":964},[],[966],{"type":49,"value":967},"message.channels",{"type":49,"value":888},{"type":44,"tag":79,"props":970,"children":972},{"className":971},[],[973],{"type":49,"value":974},"message.groups",{"type":49,"value":976}," for private channels), both arriving as the inner ",{"type":44,"tag":79,"props":978,"children":980},{"className":979},[],[981],{"type":49,"value":982},"message",{"type":49,"value":984}," event",{"type":44,"tag":68,"props":986,"children":987},{},[988],{"type":44,"tag":79,"props":989,"children":991},{"className":990},[],[992],{"type":49,"value":993},"reaction_added",{"type":44,"tag":68,"props":995,"children":996},{},[997,1003,1004],{"type":44,"tag":79,"props":998,"children":1000},{"className":999},[],[1001],{"type":49,"value":1002},"member_joined_channel",{"type":49,"value":137},{"type":44,"tag":79,"props":1005,"children":1007},{"className":1006},[],[1008],{"type":49,"value":1009},"member_left_channel",{"type":44,"tag":52,"props":1011,"children":1012},{},[1013],{"type":49,"value":1014},"Reinstall the app after changing scopes\u002Fevents so the new grants take effect.",{"type":44,"tag":171,"props":1016,"children":1018},{"id":1017},"step-4-connect-and-test",[1019],{"type":49,"value":1020},"Step 4 — connect and test",{"type":44,"tag":52,"props":1022,"children":1023},{},[1024,1026,1032],{"type":49,"value":1025},"Browse the app at ",{"type":44,"tag":79,"props":1027,"children":1029},{"className":1028},[],[1030],{"type":49,"value":1031},"http:\u002F\u002Flocalhost:8010",{"type":49,"value":1033},", log in, go to Support settings, and connect Slack. The OAuth\nround-trip completes on localhost. Then invite the bot to a channel in your dev workspace and post a\nmessage; it should arrive as a ticket, and a reply from the ticket should post back to the thread.",{"type":44,"tag":52,"props":1035,"children":1036},{},[1037,1039,1043],{"type":49,"value":1038},"For the failure modes worth recognizing (white screen, \"Network error\", redirect mismatch, region routing),\nsee ",{"type":44,"tag":122,"props":1040,"children":1041},{"href":659},[1042],{"type":49,"value":659},{"type":49,"value":638},{"type":44,"tag":1045,"props":1046,"children":1047},"style",{},[1048],{"type":49,"value":1049},"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":1051,"total":1222},[1052,1071,1083,1096,1109,1124,1140,1157,1171,1186,1196,1212],{"slug":1053,"name":1053,"fn":1054,"description":1055,"org":1056,"tags":1057,"stars":1068,"repoUrl":1069,"updatedAt":1070},"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},[1058,1061,1064,1067],{"name":1059,"slug":1060,"type":13},"Analytics","analytics",{"name":1062,"slug":1063,"type":13},"Cost Optimization","cost-optimization",{"name":1065,"slug":1066,"type":13},"Observability","observability",{"name":9,"slug":8,"type":13},35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-28T05:34:11.117757",{"slug":1072,"name":1072,"fn":1073,"description":1074,"org":1075,"tags":1076,"stars":1068,"repoUrl":1069,"updatedAt":1082},"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},[1077,1078,1081],{"name":1059,"slug":1060,"type":13},{"name":1079,"slug":1080,"type":13},"Audit","audit",{"name":9,"slug":8,"type":13},"2026-06-08T08:08:33.693989",{"slug":1084,"name":1084,"fn":1085,"description":1086,"org":1087,"tags":1088,"stars":1068,"repoUrl":1069,"updatedAt":1095},"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},[1089,1090,1093,1094],{"name":1079,"slug":1080,"type":13},{"name":1091,"slug":1092,"type":13},"Data Warehouse","data-warehouse",{"name":1065,"slug":1066,"type":13},{"name":9,"slug":8,"type":13},"2026-06-18T08:22:57.67984",{"slug":1097,"name":1097,"fn":1098,"description":1099,"org":1100,"tags":1101,"stars":1068,"repoUrl":1069,"updatedAt":1108},"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},[1102,1103,1104,1107],{"name":1079,"slug":1080,"type":13},{"name":1091,"slug":1092,"type":13},{"name":1105,"slug":1106,"type":13},"Performance","performance",{"name":9,"slug":8,"type":13},"2026-06-18T08:25:10.936787",{"slug":1110,"name":1110,"fn":1111,"description":1112,"org":1113,"tags":1114,"stars":1068,"repoUrl":1069,"updatedAt":1123},"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},[1115,1118,1121,1122],{"name":1116,"slug":1117,"type":13},"Alerting","alerting",{"name":1119,"slug":1120,"type":13},"Debugging","debugging",{"name":1065,"slug":1066,"type":13},{"name":9,"slug":8,"type":13},"2026-06-18T08:24:40.318583",{"slug":1125,"name":1125,"fn":1126,"description":1127,"org":1128,"tags":1129,"stars":1068,"repoUrl":1069,"updatedAt":1139},"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},[1130,1131,1134,1135,1138],{"name":1059,"slug":1060,"type":13},{"name":1132,"slug":1133,"type":13},"Monitoring","monitoring",{"name":1065,"slug":1066,"type":13},{"name":1136,"slug":1137,"type":13},"Operations","operations",{"name":9,"slug":8,"type":13},"2026-07-18T05:10:54.430898",{"slug":1141,"name":1141,"fn":1142,"description":1143,"org":1144,"tags":1145,"stars":1068,"repoUrl":1069,"updatedAt":1156},"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},[1146,1149,1152,1153],{"name":1147,"slug":1148,"type":13},"Automation","automation",{"name":1150,"slug":1151,"type":13},"MCP","mcp",{"name":9,"slug":8,"type":13},{"name":1154,"slug":1155,"type":13},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",{"slug":1158,"name":1158,"fn":1159,"description":1160,"org":1161,"tags":1162,"stars":1068,"repoUrl":1069,"updatedAt":1170},"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},[1163,1164,1165,1168,1169],{"name":1059,"slug":1060,"type":13},{"name":1119,"slug":1120,"type":13},{"name":1166,"slug":1167,"type":13},"Frontend","frontend",{"name":1065,"slug":1066,"type":13},{"name":9,"slug":8,"type":13},"2026-05-07T05:56:19.828048",{"slug":1172,"name":1172,"fn":1173,"description":1174,"org":1175,"tags":1176,"stars":1068,"repoUrl":1069,"updatedAt":1185},"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},[1177,1180,1181,1182],{"name":1178,"slug":1179,"type":13},"API Development","api-development",{"name":1166,"slug":1167,"type":13},{"name":9,"slug":8,"type":13},{"name":1183,"slug":1184,"type":13},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":1187,"name":1187,"fn":1188,"description":1189,"org":1190,"tags":1191,"stars":1068,"repoUrl":1069,"updatedAt":1195},"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},[1192,1193,1194],{"name":1178,"slug":1179,"type":13},{"name":1136,"slug":1137,"type":13},{"name":9,"slug":8,"type":13},"2026-07-15T05:29:58.442727",{"slug":1197,"name":1197,"fn":1198,"description":1199,"org":1200,"tags":1201,"stars":1068,"repoUrl":1069,"updatedAt":1211},"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},[1202,1203,1206,1207,1210],{"name":1147,"slug":1148,"type":13},{"name":1204,"slug":1205,"type":13},"Email","email",{"name":9,"slug":8,"type":13},{"name":1208,"slug":1209,"type":13},"Reporting","reporting",{"name":21,"slug":22,"type":13},"2026-06-09T07:32:27.935712",{"slug":1213,"name":1213,"fn":1214,"description":1215,"org":1216,"tags":1217,"stars":1068,"repoUrl":1069,"updatedAt":1221},"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},[1218,1219,1220],{"name":1059,"slug":1060,"type":13},{"name":1178,"slug":1179,"type":13},{"name":9,"slug":8,"type":13},"2026-06-08T08:08:29.624498",231,{"items":1224,"total":1330},[1225,1240,1256,1271,1284,1296,1314],{"slug":1226,"name":1226,"fn":1227,"description":1228,"org":1229,"tags":1230,"stars":23,"repoUrl":24,"updatedAt":1239},"analyzing-experiment-session-replays","analyze session replays for PostHog experiments","Analyze session replay patterns across experiment variants to understand user behavior differences. Use when the user wants to see how users interact with different experiment variants, identify usability issues, compare behavior patterns between control and test groups, or get qualitative insights to complement quantitative experiment results.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1231,1232,1235,1236],{"name":1059,"slug":1060,"type":13},{"name":1233,"slug":1234,"type":13},"Design","design",{"name":9,"slug":8,"type":13},{"name":1237,"slug":1238,"type":13},"User Research","user-research","2026-04-06T18:44:38.291781",{"slug":1241,"name":1241,"fn":1242,"description":1243,"org":1244,"tags":1245,"stars":23,"repoUrl":24,"updatedAt":1255},"assessing-heatmaps","analyze page heatmaps and suggest improvements","Assesses what a page's heatmap is telling you and recommends concrete changes. Pulls click \u002F rageclick \u002F scroll-depth data for a URL, names the hot elements by cross-referencing autocapture events on the same page, and can create a saved heatmap the user opens in PostHog, then summarizes the behavior and proposes improvements.\nTRIGGER when: user asks what a heatmap shows, why people aren't clicking something, where users rage-click, how far they scroll, what to change on a page based on heatmap\u002Fclick data, or to 'analyze\u002Fassess\u002Freview the heatmap' for a URL.\nDO NOT TRIGGER when: the user only wants to create a saved heatmap screenshot with no analysis (use heatmaps-saved-create directly), or is asking about session replay in general (use investigating-replay).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1246,1247,1248,1249,1252],{"name":1059,"slug":1060,"type":13},{"name":1166,"slug":1167,"type":13},{"name":9,"slug":8,"type":13},{"name":1250,"slug":1251,"type":13},"Product Management","product-management",{"name":1253,"slug":1254,"type":13},"UX Design","ux-design","2026-06-05T07:40:43.37798",{"slug":1257,"name":1257,"fn":1258,"description":1259,"org":1260,"tags":1261,"stars":23,"repoUrl":24,"updatedAt":1270},"auditing-experiments-flags","audit PostHog experiments and feature flags","Audit PostHog experiments and feature flags for configuration issues, staleness, and best-practice violations. Read when the user asks to audit, health-check, or review experiments or feature flags, check flag hygiene, or verify experiment setup.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1262,1263,1266,1267],{"name":1079,"slug":1080,"type":13},{"name":1264,"slug":1265,"type":13},"Feature Flags","feature-flags",{"name":9,"slug":8,"type":13},{"name":1268,"slug":1269,"type":13},"QA","qa","2026-04-06T18:44:30.657553",{"slug":1272,"name":1272,"fn":1273,"description":1274,"org":1275,"tags":1276,"stars":23,"repoUrl":24,"updatedAt":1283},"authoring-scouts","author and edit PostHog Signals scouts","How to author, edit, and adapt PostHog Signals scouts — the scheduled agents that scan a project and write reports into the Signals inbox. Use when a user wants to customize a canonical scout for their own setup (narrow its scope, retune its thresholds, add disqualifiers), tweak a scout's schedule or dry-run posture, or write a brand-new scout from scratch for a specific use case (a custom event, a product surface no canonical scout covers), or steer a scout without editing it at all by leaving it a note. Covers the scout SKILL.md anatomy, the report contract, the dedupe + scratchpad-memory conventions, the scout-notes steering channel, the per-team skills-store path vs the canonical in-repo path, and the write-and-inspect test loop (with dry-run as an optional safety net). Trigger on \"write\u002Fedit\u002Fcustomize a signals scout\", \"new scout for X\", \"tune my scout schedule\", \"make a scout that watches \u003Cevent>\", \"leave a note for \u002F give feedback to a scout\", \"tell the scouts about X\".\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1277,1280,1281,1282],{"name":1278,"slug":1279,"type":13},"Agents","agents",{"name":1147,"slug":1148,"type":13},{"name":1065,"slug":1066,"type":13},{"name":9,"slug":8,"type":13},"2026-07-28T05:33:45.509154",{"slug":1285,"name":1285,"fn":1286,"description":1287,"org":1288,"tags":1289,"stars":23,"repoUrl":24,"updatedAt":1295},"building-a-dashboard","build and update PostHog dashboards","Build a new dashboard, or update an existing one, from a set of insights — the same job the in-app assistant does with its upsert-dashboard tool, but over MCP. Use when a user asks to create a dashboard, put several metrics\u002Fcharts together on one page, assemble a dashboard for a topic (product analytics, retention, revenue, activation, etc.), or add\u002Fremove\u002Freplace insights on a dashboard they already have. Covers deciding create vs update, reusing existing insights vs creating new ones, and using PostHog's vetted dashboard templates as reference for what a strong dashboard on a topic looks like.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1290,1291,1294],{"name":1059,"slug":1060,"type":13},{"name":1292,"slug":1293,"type":13},"Dashboards","dashboards",{"name":1150,"slug":1151,"type":13},"2026-07-21T06:07:38.060598",{"slug":1297,"name":1297,"fn":1298,"description":1299,"org":1300,"tags":1301,"stars":23,"repoUrl":24,"updatedAt":1313},"checking-deploy-timing","correlate PostHog deployments with GitHub commits","Determine when a PostHog code change reached a given environment by reading the hidden GIT deploy annotations in the project and correlating them with the merge commit on GitHub. Use when PostHog staff ask \"when was X deployed\", \"is my change live in the US\u002FEU yet\", \"has my PR shipped\", \"did the fix roll out to prod-us\", or otherwise want to know whether\u002Fwhen a commit, PR, or feature went out to a region. Do not answer deploy-timing questions from event\u002Fdata volume alone — that only shows when data changed, not when code shipped.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1302,1305,1308,1311,1312],{"name":1303,"slug":1304,"type":13},"Deployment","deployment",{"name":1306,"slug":1307,"type":13},"Git","git",{"name":1309,"slug":1310,"type":13},"GitHub","github",{"name":1065,"slug":1066,"type":13},{"name":9,"slug":8,"type":13},"2026-06-28T07:46:59.53536",{"slug":1315,"name":1315,"fn":1316,"description":1317,"org":1318,"tags":1319,"stars":23,"repoUrl":24,"updatedAt":1329},"choosing-trend-or-slope-view","visualize trends and growth over time","Clarify how to visualize change over a time range before building a trend. Use whenever the user asks how much something changed, grew, dropped, improved, or regressed between two points or periods — \"how much did X change from A to B\", \"before vs after\", \"start vs end\", \"week over week\", \"compare this month to last\", \"change over time\" — or mentions a \"slope chart\" \u002F \"slopegraph\". Two readings of \"change\" need different charts: the whole trend (a line, every interval) versus just the two endpoints (a slope, start vs end). Ask which they want, then render it. Not for choosing a saved insight ChartDisplayType in the insight editor.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1320,1321,1324,1327,1328],{"name":1059,"slug":1060,"type":13},{"name":1322,"slug":1323,"type":13},"Charts","charts",{"name":1325,"slug":1326,"type":13},"Data Visualization","data-visualization",{"name":9,"slug":8,"type":13},{"name":1208,"slug":1209,"type":13},"2026-06-18T08:18:57.960157",56]