[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-designing-email-templates":3,"mdc--p1o54p-key":49,"related-repo-posthog-designing-email-templates":1131,"related-org-posthog-designing-email-templates":1235},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":23,"repoUrl":24,"updatedAt":25,"license":26,"forks":27,"topics":28,"repo":44,"sourceUrl":47,"mdContent":48},"designing-email-templates","design and edit PostHog email templates","Author, save, and edit email templates in the PostHog workflows library — compose email design JSON with Liquid personalization and create and round-trip-edit templates over MCP. Use when asked to design, build, update, or fix an email template for workflows, broadcasts, or campaigns.",{"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},"Content Creation","content-creation","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"Templates","templates",{"name":21,"slug":22,"type":15},"Email","email",35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-06-13T07:36:34.602864",null,2977,[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"ab-testing","ai-analytics","analytics","cdp","data-warehouse","experiments","feature-flags","javascript","product-analytics","python","react","session-replay","surveys","typescript","web-analytics",{"repoUrl":24,"stars":23,"forks":27,"topics":45,"description":46},[29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"🦔 PostHog is an all-in-one developer platform for building successful products. We offer product analytics, web analytics, session replay, error tracking, feature flags, experimentation, surveys, data warehouse, a CDP, and an AI product assistant to help debug your code, ship features faster, and keep all your usage and customer data in one stack.","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog\u002Ftree\u002FHEAD\u002Fproducts\u002Fworkflows\u002Fskills\u002Fdesigning-email-templates","---\nname: designing-email-templates\ndescription: 'Author, save, and edit email templates in the PostHog workflows library — compose email design JSON with Liquid personalization and create and round-trip-edit templates over MCP. Use when asked to design, build, update, or fix an email template for workflows, broadcasts, or campaigns.'\n---\n\n# Designing email templates\n\nUse this skill when creating or editing email templates for PostHog workflows — broadcast campaigns and `function_email` workflow actions send the rendered template.\n\n## How authoring works\n\nYou author the **design JSON** (`content.email.design`) and save it with `workflows-create-email-template`. The server renders the sent email from your design with the same renderer PostHog's visual editor uses, so the template opens as editable blocks for humans and sends exactly what the design describes. Schema and a working example in [references\u002Funlayer-design-json.md](references\u002Funlayer-design-json.md).\n\nWhen talking to the user, call it the template's **design** — the design document format is an internal implementation detail. Always share the template's `_posthogUrl` edit link in your reply after creating or updating, so the user can open it in PostHog directly.\n\nRead [references\u002Fdesign-guidelines.md](references\u002Fdesign-guidelines.md) before composing — it covers committing to a design direction, typography, color, and the patterns that make an email look designed rather than generated. For one fragment the block editor can't express, use an `html`-type content block inside the design.\n\n## Personalization with Liquid\n\nEmail content uses Liquid templating. Liquid tags pass through the renderer as plain text, so use them anywhere — block text, subject, links:\n\n```liquid\nHi {{ person.properties.first_name | default: 'there' }},\n```\n\nMarketing emails must include an unsubscribe link — render it with the built-in variables:\n\n```html\n\u003Ca href=\"{{ unsubscribe_url }}\">Unsubscribe\u003C\u002Fa>\n```\n\n(`{{ unsubscribe_url_one_click }}` is also available for one-click list-unsubscribe flows.)\n\n## Click tracking and opt-out\n\nEvery link is automatically rewritten through a click-tracking redirect. This breaks mobile universal links \u002F app deeplinks, which only resolve when the href stays on their own domain. To keep a link untracked, mark its anchor (use an `html` block) with `clicktracking=\"off\"` or `data-ph-no-track`:\n\n```html\n\u003Ca href=\"https:\u002F\u002Fapp.example.com\u002Fdeeplink\" data-ph-no-track>Open in app\u003C\u002Fa>\n```\n\nThe marker must be on the `\u003Ca>` tag itself, not a child element. Opted-out links get no click metrics.\n\n## Creating a template\n\nCall `workflows-create-email-template` with:\n\n```json\n{\n  \"name\": \"Welcome email\",\n  \"description\": \"Sent to new signups on day 0\",\n  \"type\": \"email\",\n  \"content\": {\n    \"templating\": \"liquid\",\n    \"email\": {\n      \"subject\": \"Welcome to {{ person.properties.company | default: 'our product' }}\",\n      \"design\": { \"counters\": { \"u_row\": 1 }, \"schemaVersion\": 16, \"body\": { \"rows\": [\"…\"] } },\n      \"text\": \"Plain-text fallback of the same message\"\n    }\n  }\n}\n```\n\n- `subject` is required for email templates.\n- Always provide `text` — it's the fallback for clients that block rich content and improves deliverability.\n- The tool result returns an edit link into the PostHog library.\n- After creating (or updating), call `workflows-show-email-template` — it renders an inline preview so the user sees the result.\n\n### Payload mechanics\n\nPass the design directly in the tool call — no scratch files, no pre-validation subprocesses, no payload preview rounds. Liquid tags (`{{ }}`, `{% %}`), apostrophes, single quotes, and emoji are ordinary characters inside JSON strings; only standard JSON escaping applies. Never rewrite content to avoid them — converting Liquid's single quotes to double quotes inside markup attributes breaks the markup. If the tool call is rejected as malformed, fix the JSON escaping and resend the same content unchanged.\n\n## Editing a template (read–modify–write)\n\n`content` is replaced as a whole on update, never merged — and humans may have edited the design in PostHog's visual editor since you last saw it:\n\n1. `workflows-get-email-template` — always fetch fresh; the returned `design` is the current source of truth.\n2. Modify the `design` (keep subject\u002Ftext alongside it).\n3. `workflows-update-email-template` — send the complete `content` back. The server re-renders the sent email from the edited design.\n4. `workflows-show-email-template` — render the updated template so the user sees the change; its response carries the final rendered html, so read it before describing the result.\n\n## Using templates\n\n- List what exists with `workflows-list-email-templates` (metadata only; fetch one for its content).\n- When the user asks to see a template, call `workflows-show-email-template` — it renders an inline preview.\n- Reference a template from a workflow's `function_email` action, or start a broadcast from it in the PostHog UI.\n- Templates are soft-deleted by setting `deleted: true` via `workflows-update-email-template`.\n",{"data":50,"body":51},{"name":4,"description":6},{"type":52,"children":53},"root",[54,62,77,84,121,141,161,167,172,193,198,271,284,290,318,383,396,402,414,909,954,961,982,988,998,1060,1066,1125],{"type":55,"tag":56,"props":57,"children":58},"element","h1",{"id":4},[59],{"type":60,"value":61},"text","Designing email templates",{"type":55,"tag":63,"props":64,"children":65},"p",{},[66,68,75],{"type":60,"value":67},"Use this skill when creating or editing email templates for PostHog workflows — broadcast campaigns and ",{"type":55,"tag":69,"props":70,"children":72},"code",{"className":71},[],[73],{"type":60,"value":74},"function_email",{"type":60,"value":76}," workflow actions send the rendered template.",{"type":55,"tag":78,"props":79,"children":81},"h2",{"id":80},"how-authoring-works",[82],{"type":60,"value":83},"How authoring works",{"type":55,"tag":63,"props":85,"children":86},{},[87,89,95,97,103,105,111,113,119],{"type":60,"value":88},"You author the ",{"type":55,"tag":90,"props":91,"children":92},"strong",{},[93],{"type":60,"value":94},"design JSON",{"type":60,"value":96}," (",{"type":55,"tag":69,"props":98,"children":100},{"className":99},[],[101],{"type":60,"value":102},"content.email.design",{"type":60,"value":104},") and save it with ",{"type":55,"tag":69,"props":106,"children":108},{"className":107},[],[109],{"type":60,"value":110},"workflows-create-email-template",{"type":60,"value":112},". The server renders the sent email from your design with the same renderer PostHog's visual editor uses, so the template opens as editable blocks for humans and sends exactly what the design describes. Schema and a working example in ",{"type":55,"tag":114,"props":115,"children":117},"a",{"href":116},"references\u002Funlayer-design-json.md",[118],{"type":60,"value":116},{"type":60,"value":120},".",{"type":55,"tag":63,"props":122,"children":123},{},[124,126,131,133,139],{"type":60,"value":125},"When talking to the user, call it the template's ",{"type":55,"tag":90,"props":127,"children":128},{},[129],{"type":60,"value":130},"design",{"type":60,"value":132}," — the design document format is an internal implementation detail. Always share the template's ",{"type":55,"tag":69,"props":134,"children":136},{"className":135},[],[137],{"type":60,"value":138},"_posthogUrl",{"type":60,"value":140}," edit link in your reply after creating or updating, so the user can open it in PostHog directly.",{"type":55,"tag":63,"props":142,"children":143},{},[144,146,151,153,159],{"type":60,"value":145},"Read ",{"type":55,"tag":114,"props":147,"children":149},{"href":148},"references\u002Fdesign-guidelines.md",[150],{"type":60,"value":148},{"type":60,"value":152}," before composing — it covers committing to a design direction, typography, color, and the patterns that make an email look designed rather than generated. For one fragment the block editor can't express, use an ",{"type":55,"tag":69,"props":154,"children":156},{"className":155},[],[157],{"type":60,"value":158},"html",{"type":60,"value":160},"-type content block inside the design.",{"type":55,"tag":78,"props":162,"children":164},{"id":163},"personalization-with-liquid",[165],{"type":60,"value":166},"Personalization with Liquid",{"type":55,"tag":63,"props":168,"children":169},{},[170],{"type":60,"value":171},"Email content uses Liquid templating. Liquid tags pass through the renderer as plain text, so use them anywhere — block text, subject, links:",{"type":55,"tag":173,"props":174,"children":179},"pre",{"className":175,"code":176,"language":177,"meta":178,"style":178},"language-liquid shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","Hi {{ person.properties.first_name | default: 'there' }},\n","liquid","",[180],{"type":55,"tag":69,"props":181,"children":182},{"__ignoreMap":178},[183],{"type":55,"tag":184,"props":185,"children":188},"span",{"class":186,"line":187},"line",1,[189],{"type":55,"tag":184,"props":190,"children":191},{},[192],{"type":60,"value":176},{"type":55,"tag":63,"props":194,"children":195},{},[196],{"type":60,"value":197},"Marketing emails must include an unsubscribe link — render it with the built-in variables:",{"type":55,"tag":173,"props":199,"children":202},{"className":200,"code":201,"language":158,"meta":178,"style":178},"language-html shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ca href=\"{{ unsubscribe_url }}\">Unsubscribe\u003C\u002Fa>\n",[203],{"type":55,"tag":69,"props":204,"children":205},{"__ignoreMap":178},[206],{"type":55,"tag":184,"props":207,"children":208},{"class":186,"line":187},[209,215,220,226,231,236,242,246,251,257,262,266],{"type":55,"tag":184,"props":210,"children":212},{"style":211},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[213],{"type":60,"value":214},"\u003C",{"type":55,"tag":184,"props":216,"children":218},{"style":217},"--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178",[219],{"type":60,"value":114},{"type":55,"tag":184,"props":221,"children":223},{"style":222},"--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA",[224],{"type":60,"value":225}," href",{"type":55,"tag":184,"props":227,"children":228},{"style":211},[229],{"type":60,"value":230},"=",{"type":55,"tag":184,"props":232,"children":233},{"style":211},[234],{"type":60,"value":235},"\"",{"type":55,"tag":184,"props":237,"children":239},{"style":238},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[240],{"type":60,"value":241},"{{ unsubscribe_url }}",{"type":55,"tag":184,"props":243,"children":244},{"style":211},[245],{"type":60,"value":235},{"type":55,"tag":184,"props":247,"children":248},{"style":211},[249],{"type":60,"value":250},">",{"type":55,"tag":184,"props":252,"children":254},{"style":253},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[255],{"type":60,"value":256},"Unsubscribe",{"type":55,"tag":184,"props":258,"children":259},{"style":211},[260],{"type":60,"value":261},"\u003C\u002F",{"type":55,"tag":184,"props":263,"children":264},{"style":217},[265],{"type":60,"value":114},{"type":55,"tag":184,"props":267,"children":268},{"style":211},[269],{"type":60,"value":270},">\n",{"type":55,"tag":63,"props":272,"children":273},{},[274,276,282],{"type":60,"value":275},"(",{"type":55,"tag":69,"props":277,"children":279},{"className":278},[],[280],{"type":60,"value":281},"{{ unsubscribe_url_one_click }}",{"type":60,"value":283}," is also available for one-click list-unsubscribe flows.)",{"type":55,"tag":78,"props":285,"children":287},{"id":286},"click-tracking-and-opt-out",[288],{"type":60,"value":289},"Click tracking and opt-out",{"type":55,"tag":63,"props":291,"children":292},{},[293,295,300,302,308,310,316],{"type":60,"value":294},"Every link is automatically rewritten through a click-tracking redirect. This breaks mobile universal links \u002F app deeplinks, which only resolve when the href stays on their own domain. To keep a link untracked, mark its anchor (use an ",{"type":55,"tag":69,"props":296,"children":298},{"className":297},[],[299],{"type":60,"value":158},{"type":60,"value":301}," block) with ",{"type":55,"tag":69,"props":303,"children":305},{"className":304},[],[306],{"type":60,"value":307},"clicktracking=\"off\"",{"type":60,"value":309}," or ",{"type":55,"tag":69,"props":311,"children":313},{"className":312},[],[314],{"type":60,"value":315},"data-ph-no-track",{"type":60,"value":317},":",{"type":55,"tag":173,"props":319,"children":321},{"className":200,"code":320,"language":158,"meta":178,"style":178},"\u003Ca href=\"https:\u002F\u002Fapp.example.com\u002Fdeeplink\" data-ph-no-track>Open in app\u003C\u002Fa>\n",[322],{"type":55,"tag":69,"props":323,"children":324},{"__ignoreMap":178},[325],{"type":55,"tag":184,"props":326,"children":327},{"class":186,"line":187},[328,332,336,340,344,348,353,357,362,366,371,375,379],{"type":55,"tag":184,"props":329,"children":330},{"style":211},[331],{"type":60,"value":214},{"type":55,"tag":184,"props":333,"children":334},{"style":217},[335],{"type":60,"value":114},{"type":55,"tag":184,"props":337,"children":338},{"style":222},[339],{"type":60,"value":225},{"type":55,"tag":184,"props":341,"children":342},{"style":211},[343],{"type":60,"value":230},{"type":55,"tag":184,"props":345,"children":346},{"style":211},[347],{"type":60,"value":235},{"type":55,"tag":184,"props":349,"children":350},{"style":238},[351],{"type":60,"value":352},"https:\u002F\u002Fapp.example.com\u002Fdeeplink",{"type":55,"tag":184,"props":354,"children":355},{"style":211},[356],{"type":60,"value":235},{"type":55,"tag":184,"props":358,"children":359},{"style":222},[360],{"type":60,"value":361}," data-ph-no-track",{"type":55,"tag":184,"props":363,"children":364},{"style":211},[365],{"type":60,"value":250},{"type":55,"tag":184,"props":367,"children":368},{"style":253},[369],{"type":60,"value":370},"Open in app",{"type":55,"tag":184,"props":372,"children":373},{"style":211},[374],{"type":60,"value":261},{"type":55,"tag":184,"props":376,"children":377},{"style":217},[378],{"type":60,"value":114},{"type":55,"tag":184,"props":380,"children":381},{"style":211},[382],{"type":60,"value":270},{"type":55,"tag":63,"props":384,"children":385},{},[386,388,394],{"type":60,"value":387},"The marker must be on the ",{"type":55,"tag":69,"props":389,"children":391},{"className":390},[],[392],{"type":60,"value":393},"\u003Ca>",{"type":60,"value":395}," tag itself, not a child element. Opted-out links get no click metrics.",{"type":55,"tag":78,"props":397,"children":399},{"id":398},"creating-a-template",[400],{"type":60,"value":401},"Creating a template",{"type":55,"tag":63,"props":403,"children":404},{},[405,407,412],{"type":60,"value":406},"Call ",{"type":55,"tag":69,"props":408,"children":410},{"className":409},[],[411],{"type":60,"value":110},{"type":60,"value":413}," with:",{"type":55,"tag":173,"props":415,"children":419},{"className":416,"code":417,"language":418,"meta":178,"style":178},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"name\": \"Welcome email\",\n  \"description\": \"Sent to new signups on day 0\",\n  \"type\": \"email\",\n  \"content\": {\n    \"templating\": \"liquid\",\n    \"email\": {\n      \"subject\": \"Welcome to {{ person.properties.company | default: 'our product' }}\",\n      \"design\": { \"counters\": { \"u_row\": 1 }, \"schemaVersion\": 16, \"body\": { \"rows\": [\"…\"] } },\n      \"text\": \"Plain-text fallback of the same message\"\n    }\n  }\n}\n","json",[420],{"type":55,"tag":69,"props":421,"children":422},{"__ignoreMap":178},[423,431,472,510,547,573,612,636,676,848,882,891,900],{"type":55,"tag":184,"props":424,"children":425},{"class":186,"line":187},[426],{"type":55,"tag":184,"props":427,"children":428},{"style":211},[429],{"type":60,"value":430},"{\n",{"type":55,"tag":184,"props":432,"children":434},{"class":186,"line":433},2,[435,440,445,449,453,458,463,467],{"type":55,"tag":184,"props":436,"children":437},{"style":211},[438],{"type":60,"value":439},"  \"",{"type":55,"tag":184,"props":441,"children":442},{"style":222},[443],{"type":60,"value":444},"name",{"type":55,"tag":184,"props":446,"children":447},{"style":211},[448],{"type":60,"value":235},{"type":55,"tag":184,"props":450,"children":451},{"style":211},[452],{"type":60,"value":317},{"type":55,"tag":184,"props":454,"children":455},{"style":211},[456],{"type":60,"value":457}," \"",{"type":55,"tag":184,"props":459,"children":460},{"style":238},[461],{"type":60,"value":462},"Welcome email",{"type":55,"tag":184,"props":464,"children":465},{"style":211},[466],{"type":60,"value":235},{"type":55,"tag":184,"props":468,"children":469},{"style":211},[470],{"type":60,"value":471},",\n",{"type":55,"tag":184,"props":473,"children":475},{"class":186,"line":474},3,[476,480,485,489,493,497,502,506],{"type":55,"tag":184,"props":477,"children":478},{"style":211},[479],{"type":60,"value":439},{"type":55,"tag":184,"props":481,"children":482},{"style":222},[483],{"type":60,"value":484},"description",{"type":55,"tag":184,"props":486,"children":487},{"style":211},[488],{"type":60,"value":235},{"type":55,"tag":184,"props":490,"children":491},{"style":211},[492],{"type":60,"value":317},{"type":55,"tag":184,"props":494,"children":495},{"style":211},[496],{"type":60,"value":457},{"type":55,"tag":184,"props":498,"children":499},{"style":238},[500],{"type":60,"value":501},"Sent to new signups on day 0",{"type":55,"tag":184,"props":503,"children":504},{"style":211},[505],{"type":60,"value":235},{"type":55,"tag":184,"props":507,"children":508},{"style":211},[509],{"type":60,"value":471},{"type":55,"tag":184,"props":511,"children":513},{"class":186,"line":512},4,[514,518,523,527,531,535,539,543],{"type":55,"tag":184,"props":515,"children":516},{"style":211},[517],{"type":60,"value":439},{"type":55,"tag":184,"props":519,"children":520},{"style":222},[521],{"type":60,"value":522},"type",{"type":55,"tag":184,"props":524,"children":525},{"style":211},[526],{"type":60,"value":235},{"type":55,"tag":184,"props":528,"children":529},{"style":211},[530],{"type":60,"value":317},{"type":55,"tag":184,"props":532,"children":533},{"style":211},[534],{"type":60,"value":457},{"type":55,"tag":184,"props":536,"children":537},{"style":238},[538],{"type":60,"value":22},{"type":55,"tag":184,"props":540,"children":541},{"style":211},[542],{"type":60,"value":235},{"type":55,"tag":184,"props":544,"children":545},{"style":211},[546],{"type":60,"value":471},{"type":55,"tag":184,"props":548,"children":550},{"class":186,"line":549},5,[551,555,560,564,568],{"type":55,"tag":184,"props":552,"children":553},{"style":211},[554],{"type":60,"value":439},{"type":55,"tag":184,"props":556,"children":557},{"style":222},[558],{"type":60,"value":559},"content",{"type":55,"tag":184,"props":561,"children":562},{"style":211},[563],{"type":60,"value":235},{"type":55,"tag":184,"props":565,"children":566},{"style":211},[567],{"type":60,"value":317},{"type":55,"tag":184,"props":569,"children":570},{"style":211},[571],{"type":60,"value":572}," {\n",{"type":55,"tag":184,"props":574,"children":576},{"class":186,"line":575},6,[577,582,588,592,596,600,604,608],{"type":55,"tag":184,"props":578,"children":579},{"style":211},[580],{"type":60,"value":581},"    \"",{"type":55,"tag":184,"props":583,"children":585},{"style":584},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[586],{"type":60,"value":587},"templating",{"type":55,"tag":184,"props":589,"children":590},{"style":211},[591],{"type":60,"value":235},{"type":55,"tag":184,"props":593,"children":594},{"style":211},[595],{"type":60,"value":317},{"type":55,"tag":184,"props":597,"children":598},{"style":211},[599],{"type":60,"value":457},{"type":55,"tag":184,"props":601,"children":602},{"style":238},[603],{"type":60,"value":177},{"type":55,"tag":184,"props":605,"children":606},{"style":211},[607],{"type":60,"value":235},{"type":55,"tag":184,"props":609,"children":610},{"style":211},[611],{"type":60,"value":471},{"type":55,"tag":184,"props":613,"children":615},{"class":186,"line":614},7,[616,620,624,628,632],{"type":55,"tag":184,"props":617,"children":618},{"style":211},[619],{"type":60,"value":581},{"type":55,"tag":184,"props":621,"children":622},{"style":584},[623],{"type":60,"value":22},{"type":55,"tag":184,"props":625,"children":626},{"style":211},[627],{"type":60,"value":235},{"type":55,"tag":184,"props":629,"children":630},{"style":211},[631],{"type":60,"value":317},{"type":55,"tag":184,"props":633,"children":634},{"style":211},[635],{"type":60,"value":572},{"type":55,"tag":184,"props":637,"children":639},{"class":186,"line":638},8,[640,645,651,655,659,663,668,672],{"type":55,"tag":184,"props":641,"children":642},{"style":211},[643],{"type":60,"value":644},"      \"",{"type":55,"tag":184,"props":646,"children":648},{"style":647},"--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C",[649],{"type":60,"value":650},"subject",{"type":55,"tag":184,"props":652,"children":653},{"style":211},[654],{"type":60,"value":235},{"type":55,"tag":184,"props":656,"children":657},{"style":211},[658],{"type":60,"value":317},{"type":55,"tag":184,"props":660,"children":661},{"style":211},[662],{"type":60,"value":457},{"type":55,"tag":184,"props":664,"children":665},{"style":238},[666],{"type":60,"value":667},"Welcome to {{ person.properties.company | default: 'our product' }}",{"type":55,"tag":184,"props":669,"children":670},{"style":211},[671],{"type":60,"value":235},{"type":55,"tag":184,"props":673,"children":674},{"style":211},[675],{"type":60,"value":471},{"type":55,"tag":184,"props":677,"children":679},{"class":186,"line":678},9,[680,684,688,692,696,701,705,710,714,718,722,726,732,736,740,745,750,754,759,763,767,772,777,781,786,790,794,798,802,807,811,815,820,824,829,833,838,843],{"type":55,"tag":184,"props":681,"children":682},{"style":211},[683],{"type":60,"value":644},{"type":55,"tag":184,"props":685,"children":686},{"style":647},[687],{"type":60,"value":130},{"type":55,"tag":184,"props":689,"children":690},{"style":211},[691],{"type":60,"value":235},{"type":55,"tag":184,"props":693,"children":694},{"style":211},[695],{"type":60,"value":317},{"type":55,"tag":184,"props":697,"children":698},{"style":211},[699],{"type":60,"value":700}," {",{"type":55,"tag":184,"props":702,"children":703},{"style":211},[704],{"type":60,"value":457},{"type":55,"tag":184,"props":706,"children":707},{"style":217},[708],{"type":60,"value":709},"counters",{"type":55,"tag":184,"props":711,"children":712},{"style":211},[713],{"type":60,"value":235},{"type":55,"tag":184,"props":715,"children":716},{"style":211},[717],{"type":60,"value":317},{"type":55,"tag":184,"props":719,"children":720},{"style":211},[721],{"type":60,"value":700},{"type":55,"tag":184,"props":723,"children":724},{"style":211},[725],{"type":60,"value":457},{"type":55,"tag":184,"props":727,"children":729},{"style":728},"--shiki-light:#916B53;--shiki-default:#916B53;--shiki-dark:#916B53",[730],{"type":60,"value":731},"u_row",{"type":55,"tag":184,"props":733,"children":734},{"style":211},[735],{"type":60,"value":235},{"type":55,"tag":184,"props":737,"children":738},{"style":211},[739],{"type":60,"value":317},{"type":55,"tag":184,"props":741,"children":742},{"style":647},[743],{"type":60,"value":744}," 1",{"type":55,"tag":184,"props":746,"children":747},{"style":211},[748],{"type":60,"value":749}," },",{"type":55,"tag":184,"props":751,"children":752},{"style":211},[753],{"type":60,"value":457},{"type":55,"tag":184,"props":755,"children":756},{"style":217},[757],{"type":60,"value":758},"schemaVersion",{"type":55,"tag":184,"props":760,"children":761},{"style":211},[762],{"type":60,"value":235},{"type":55,"tag":184,"props":764,"children":765},{"style":211},[766],{"type":60,"value":317},{"type":55,"tag":184,"props":768,"children":769},{"style":647},[770],{"type":60,"value":771}," 16",{"type":55,"tag":184,"props":773,"children":774},{"style":211},[775],{"type":60,"value":776},",",{"type":55,"tag":184,"props":778,"children":779},{"style":211},[780],{"type":60,"value":457},{"type":55,"tag":184,"props":782,"children":783},{"style":217},[784],{"type":60,"value":785},"body",{"type":55,"tag":184,"props":787,"children":788},{"style":211},[789],{"type":60,"value":235},{"type":55,"tag":184,"props":791,"children":792},{"style":211},[793],{"type":60,"value":317},{"type":55,"tag":184,"props":795,"children":796},{"style":211},[797],{"type":60,"value":700},{"type":55,"tag":184,"props":799,"children":800},{"style":211},[801],{"type":60,"value":457},{"type":55,"tag":184,"props":803,"children":804},{"style":728},[805],{"type":60,"value":806},"rows",{"type":55,"tag":184,"props":808,"children":809},{"style":211},[810],{"type":60,"value":235},{"type":55,"tag":184,"props":812,"children":813},{"style":211},[814],{"type":60,"value":317},{"type":55,"tag":184,"props":816,"children":817},{"style":211},[818],{"type":60,"value":819}," [",{"type":55,"tag":184,"props":821,"children":822},{"style":211},[823],{"type":60,"value":235},{"type":55,"tag":184,"props":825,"children":826},{"style":238},[827],{"type":60,"value":828},"…",{"type":55,"tag":184,"props":830,"children":831},{"style":211},[832],{"type":60,"value":235},{"type":55,"tag":184,"props":834,"children":835},{"style":211},[836],{"type":60,"value":837},"]",{"type":55,"tag":184,"props":839,"children":840},{"style":211},[841],{"type":60,"value":842}," }",{"type":55,"tag":184,"props":844,"children":845},{"style":211},[846],{"type":60,"value":847}," },\n",{"type":55,"tag":184,"props":849,"children":851},{"class":186,"line":850},10,[852,856,860,864,868,872,877],{"type":55,"tag":184,"props":853,"children":854},{"style":211},[855],{"type":60,"value":644},{"type":55,"tag":184,"props":857,"children":858},{"style":647},[859],{"type":60,"value":60},{"type":55,"tag":184,"props":861,"children":862},{"style":211},[863],{"type":60,"value":235},{"type":55,"tag":184,"props":865,"children":866},{"style":211},[867],{"type":60,"value":317},{"type":55,"tag":184,"props":869,"children":870},{"style":211},[871],{"type":60,"value":457},{"type":55,"tag":184,"props":873,"children":874},{"style":238},[875],{"type":60,"value":876},"Plain-text fallback of the same message",{"type":55,"tag":184,"props":878,"children":879},{"style":211},[880],{"type":60,"value":881},"\"\n",{"type":55,"tag":184,"props":883,"children":885},{"class":186,"line":884},11,[886],{"type":55,"tag":184,"props":887,"children":888},{"style":211},[889],{"type":60,"value":890},"    }\n",{"type":55,"tag":184,"props":892,"children":894},{"class":186,"line":893},12,[895],{"type":55,"tag":184,"props":896,"children":897},{"style":211},[898],{"type":60,"value":899},"  }\n",{"type":55,"tag":184,"props":901,"children":903},{"class":186,"line":902},13,[904],{"type":55,"tag":184,"props":905,"children":906},{"style":211},[907],{"type":60,"value":908},"}\n",{"type":55,"tag":910,"props":911,"children":912},"ul",{},[913,924,936,941],{"type":55,"tag":914,"props":915,"children":916},"li",{},[917,922],{"type":55,"tag":69,"props":918,"children":920},{"className":919},[],[921],{"type":60,"value":650},{"type":60,"value":923}," is required for email templates.",{"type":55,"tag":914,"props":925,"children":926},{},[927,929,934],{"type":60,"value":928},"Always provide ",{"type":55,"tag":69,"props":930,"children":932},{"className":931},[],[933],{"type":60,"value":60},{"type":60,"value":935}," — it's the fallback for clients that block rich content and improves deliverability.",{"type":55,"tag":914,"props":937,"children":938},{},[939],{"type":60,"value":940},"The tool result returns an edit link into the PostHog library.",{"type":55,"tag":914,"props":942,"children":943},{},[944,946,952],{"type":60,"value":945},"After creating (or updating), call ",{"type":55,"tag":69,"props":947,"children":949},{"className":948},[],[950],{"type":60,"value":951},"workflows-show-email-template",{"type":60,"value":953}," — it renders an inline preview so the user sees the result.",{"type":55,"tag":955,"props":956,"children":958},"h3",{"id":957},"payload-mechanics",[959],{"type":60,"value":960},"Payload mechanics",{"type":55,"tag":63,"props":962,"children":963},{},[964,966,972,974,980],{"type":60,"value":965},"Pass the design directly in the tool call — no scratch files, no pre-validation subprocesses, no payload preview rounds. Liquid tags (",{"type":55,"tag":69,"props":967,"children":969},{"className":968},[],[970],{"type":60,"value":971},"{{ }}",{"type":60,"value":973},", ",{"type":55,"tag":69,"props":975,"children":977},{"className":976},[],[978],{"type":60,"value":979},"{% %}",{"type":60,"value":981},"), apostrophes, single quotes, and emoji are ordinary characters inside JSON strings; only standard JSON escaping applies. Never rewrite content to avoid them — converting Liquid's single quotes to double quotes inside markup attributes breaks the markup. If the tool call is rejected as malformed, fix the JSON escaping and resend the same content unchanged.",{"type":55,"tag":78,"props":983,"children":985},{"id":984},"editing-a-template-readmodifywrite",[986],{"type":60,"value":987},"Editing a template (read–modify–write)",{"type":55,"tag":63,"props":989,"children":990},{},[991,996],{"type":55,"tag":69,"props":992,"children":994},{"className":993},[],[995],{"type":60,"value":559},{"type":60,"value":997}," is replaced as a whole on update, never merged — and humans may have edited the design in PostHog's visual editor since you last saw it:",{"type":55,"tag":999,"props":1000,"children":1001},"ol",{},[1002,1020,1032,1050],{"type":55,"tag":914,"props":1003,"children":1004},{},[1005,1011,1013,1018],{"type":55,"tag":69,"props":1006,"children":1008},{"className":1007},[],[1009],{"type":60,"value":1010},"workflows-get-email-template",{"type":60,"value":1012}," — always fetch fresh; the returned ",{"type":55,"tag":69,"props":1014,"children":1016},{"className":1015},[],[1017],{"type":60,"value":130},{"type":60,"value":1019}," is the current source of truth.",{"type":55,"tag":914,"props":1021,"children":1022},{},[1023,1025,1030],{"type":60,"value":1024},"Modify the ",{"type":55,"tag":69,"props":1026,"children":1028},{"className":1027},[],[1029],{"type":60,"value":130},{"type":60,"value":1031}," (keep subject\u002Ftext alongside it).",{"type":55,"tag":914,"props":1033,"children":1034},{},[1035,1041,1043,1048],{"type":55,"tag":69,"props":1036,"children":1038},{"className":1037},[],[1039],{"type":60,"value":1040},"workflows-update-email-template",{"type":60,"value":1042}," — send the complete ",{"type":55,"tag":69,"props":1044,"children":1046},{"className":1045},[],[1047],{"type":60,"value":559},{"type":60,"value":1049}," back. The server re-renders the sent email from the edited design.",{"type":55,"tag":914,"props":1051,"children":1052},{},[1053,1058],{"type":55,"tag":69,"props":1054,"children":1056},{"className":1055},[],[1057],{"type":60,"value":951},{"type":60,"value":1059}," — render the updated template so the user sees the change; its response carries the final rendered html, so read it before describing the result.",{"type":55,"tag":78,"props":1061,"children":1063},{"id":1062},"using-templates",[1064],{"type":60,"value":1065},"Using templates",{"type":55,"tag":910,"props":1067,"children":1068},{},[1069,1082,1094,1106],{"type":55,"tag":914,"props":1070,"children":1071},{},[1072,1074,1080],{"type":60,"value":1073},"List what exists with ",{"type":55,"tag":69,"props":1075,"children":1077},{"className":1076},[],[1078],{"type":60,"value":1079},"workflows-list-email-templates",{"type":60,"value":1081}," (metadata only; fetch one for its content).",{"type":55,"tag":914,"props":1083,"children":1084},{},[1085,1087,1092],{"type":60,"value":1086},"When the user asks to see a template, call ",{"type":55,"tag":69,"props":1088,"children":1090},{"className":1089},[],[1091],{"type":60,"value":951},{"type":60,"value":1093}," — it renders an inline preview.",{"type":55,"tag":914,"props":1095,"children":1096},{},[1097,1099,1104],{"type":60,"value":1098},"Reference a template from a workflow's ",{"type":55,"tag":69,"props":1100,"children":1102},{"className":1101},[],[1103],{"type":60,"value":74},{"type":60,"value":1105}," action, or start a broadcast from it in the PostHog UI.",{"type":55,"tag":914,"props":1107,"children":1108},{},[1109,1111,1117,1119,1124],{"type":60,"value":1110},"Templates are soft-deleted by setting ",{"type":55,"tag":69,"props":1112,"children":1114},{"className":1113},[],[1115],{"type":60,"value":1116},"deleted: true",{"type":60,"value":1118}," via ",{"type":55,"tag":69,"props":1120,"children":1122},{"className":1121},[],[1123],{"type":60,"value":1040},{"type":60,"value":120},{"type":55,"tag":1126,"props":1127,"children":1128},"style",{},[1129],{"type":60,"value":1130},"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":1132,"total":1234},[1133,1149,1161,1173,1186,1201,1217],{"slug":1134,"name":1134,"fn":1135,"description":1136,"org":1137,"tags":1138,"stars":23,"repoUrl":24,"updatedAt":1148},"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},[1139,1141,1144,1147],{"name":1140,"slug":31,"type":15},"Analytics",{"name":1142,"slug":1143,"type":15},"Cost Optimization","cost-optimization",{"name":1145,"slug":1146,"type":15},"Observability","observability",{"name":9,"slug":8,"type":15},"2026-07-28T05:34:11.117757",{"slug":1150,"name":1150,"fn":1151,"description":1152,"org":1153,"tags":1154,"stars":23,"repoUrl":24,"updatedAt":1160},"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},[1155,1156,1159],{"name":1140,"slug":31,"type":15},{"name":1157,"slug":1158,"type":15},"Audit","audit",{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":1162,"name":1162,"fn":1163,"description":1164,"org":1165,"tags":1166,"stars":23,"repoUrl":24,"updatedAt":1172},"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},[1167,1168,1170,1171],{"name":1157,"slug":1158,"type":15},{"name":1169,"slug":33,"type":15},"Data Warehouse",{"name":1145,"slug":1146,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":1174,"name":1174,"fn":1175,"description":1176,"org":1177,"tags":1178,"stars":23,"repoUrl":24,"updatedAt":1185},"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},[1179,1180,1181,1184],{"name":1157,"slug":1158,"type":15},{"name":1169,"slug":33,"type":15},{"name":1182,"slug":1183,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":1187,"name":1187,"fn":1188,"description":1189,"org":1190,"tags":1191,"stars":23,"repoUrl":24,"updatedAt":1200},"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},[1192,1195,1198,1199],{"name":1193,"slug":1194,"type":15},"Alerting","alerting",{"name":1196,"slug":1197,"type":15},"Debugging","debugging",{"name":1145,"slug":1146,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":1202,"name":1202,"fn":1203,"description":1204,"org":1205,"tags":1206,"stars":23,"repoUrl":24,"updatedAt":1216},"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},[1207,1208,1211,1212,1215],{"name":1140,"slug":31,"type":15},{"name":1209,"slug":1210,"type":15},"Monitoring","monitoring",{"name":1145,"slug":1146,"type":15},{"name":1213,"slug":1214,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":1218,"name":1218,"fn":1219,"description":1220,"org":1221,"tags":1222,"stars":23,"repoUrl":24,"updatedAt":1233},"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},[1223,1226,1229,1230],{"name":1224,"slug":1225,"type":15},"Automation","automation",{"name":1227,"slug":1228,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},{"name":1231,"slug":1232,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",61,{"items":1236,"total":1351},[1237,1244,1250,1257,1264,1271,1279,1286,1300,1315,1325,1341],{"slug":1134,"name":1134,"fn":1135,"description":1136,"org":1238,"tags":1239,"stars":23,"repoUrl":24,"updatedAt":1148},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1240,1241,1242,1243],{"name":1140,"slug":31,"type":15},{"name":1142,"slug":1143,"type":15},{"name":1145,"slug":1146,"type":15},{"name":9,"slug":8,"type":15},{"slug":1150,"name":1150,"fn":1151,"description":1152,"org":1245,"tags":1246,"stars":23,"repoUrl":24,"updatedAt":1160},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1247,1248,1249],{"name":1140,"slug":31,"type":15},{"name":1157,"slug":1158,"type":15},{"name":9,"slug":8,"type":15},{"slug":1162,"name":1162,"fn":1163,"description":1164,"org":1251,"tags":1252,"stars":23,"repoUrl":24,"updatedAt":1172},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1253,1254,1255,1256],{"name":1157,"slug":1158,"type":15},{"name":1169,"slug":33,"type":15},{"name":1145,"slug":1146,"type":15},{"name":9,"slug":8,"type":15},{"slug":1174,"name":1174,"fn":1175,"description":1176,"org":1258,"tags":1259,"stars":23,"repoUrl":24,"updatedAt":1185},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1260,1261,1262,1263],{"name":1157,"slug":1158,"type":15},{"name":1169,"slug":33,"type":15},{"name":1182,"slug":1183,"type":15},{"name":9,"slug":8,"type":15},{"slug":1187,"name":1187,"fn":1188,"description":1189,"org":1265,"tags":1266,"stars":23,"repoUrl":24,"updatedAt":1200},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1267,1268,1269,1270],{"name":1193,"slug":1194,"type":15},{"name":1196,"slug":1197,"type":15},{"name":1145,"slug":1146,"type":15},{"name":9,"slug":8,"type":15},{"slug":1202,"name":1202,"fn":1203,"description":1204,"org":1272,"tags":1273,"stars":23,"repoUrl":24,"updatedAt":1216},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1274,1275,1276,1277,1278],{"name":1140,"slug":31,"type":15},{"name":1209,"slug":1210,"type":15},{"name":1145,"slug":1146,"type":15},{"name":1213,"slug":1214,"type":15},{"name":9,"slug":8,"type":15},{"slug":1218,"name":1218,"fn":1219,"description":1220,"org":1280,"tags":1281,"stars":23,"repoUrl":24,"updatedAt":1233},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1282,1283,1284,1285],{"name":1224,"slug":1225,"type":15},{"name":1227,"slug":1228,"type":15},{"name":9,"slug":8,"type":15},{"name":1231,"slug":1232,"type":15},{"slug":1287,"name":1287,"fn":1288,"description":1289,"org":1290,"tags":1291,"stars":23,"repoUrl":24,"updatedAt":1299},"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},[1292,1293,1294,1297,1298],{"name":1140,"slug":31,"type":15},{"name":1196,"slug":1197,"type":15},{"name":1295,"slug":1296,"type":15},"Frontend","frontend",{"name":1145,"slug":1146,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":1301,"name":1301,"fn":1302,"description":1303,"org":1304,"tags":1305,"stars":23,"repoUrl":24,"updatedAt":1314},"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},[1306,1309,1310,1311],{"name":1307,"slug":1308,"type":15},"API Development","api-development",{"name":1295,"slug":1296,"type":15},{"name":9,"slug":8,"type":15},{"name":1312,"slug":1313,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":1316,"name":1316,"fn":1317,"description":1318,"org":1319,"tags":1320,"stars":23,"repoUrl":24,"updatedAt":1324},"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},[1321,1322,1323],{"name":1307,"slug":1308,"type":15},{"name":1213,"slug":1214,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":1326,"name":1326,"fn":1327,"description":1328,"org":1329,"tags":1330,"stars":23,"repoUrl":24,"updatedAt":1340},"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},[1331,1332,1333,1334,1337],{"name":1224,"slug":1225,"type":15},{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},{"name":1335,"slug":1336,"type":15},"Reporting","reporting",{"name":1338,"slug":1339,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":1342,"name":1342,"fn":1343,"description":1344,"org":1345,"tags":1346,"stars":23,"repoUrl":24,"updatedAt":1350},"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},[1347,1348,1349],{"name":1140,"slug":31,"type":15},{"name":1307,"slug":1308,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]