[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-managing-streamlit-apps":3,"mdc-o6b9wc-key":52,"related-repo-posthog-managing-streamlit-apps":472,"related-org-posthog-managing-streamlit-apps":572},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":26,"repoUrl":27,"updatedAt":28,"license":29,"forks":30,"topics":31,"repo":47,"sourceUrl":50,"mdContent":51},"managing-streamlit-apps","manage Streamlit apps in PostHog","Create, deploy, and operate Streamlit apps in PostHog via the streamlit-apps MCP tools — create an app, set its source, start and stop its sandbox, poll status, list versions, delete, and share the app with humans via its PostHog URL. Use when asked to \"create a streamlit app\", \"deploy a data app\", \"ship a dashboard app\", \"restart\u002Fstop my app\", \"why is my app not running\", or \"give me a link to the app\".",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"posthog","PostHog","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fposthog.png",[12,16,17,20,23],{"name":13,"slug":14,"type":15},"Operations","operations","tag",{"name":9,"slug":8,"type":15},{"name":18,"slug":19,"type":15},"MCP","mcp",{"name":21,"slug":22,"type":15},"Streamlit","streamlit",{"name":24,"slug":25,"type":15},"Deployment","deployment",35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-31T06:23:35.569835",null,2977,[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"ab-testing","ai-analytics","analytics","cdp","data-warehouse","experiments","feature-flags","javascript","product-analytics","python","react","session-replay","surveys","typescript","web-analytics",{"repoUrl":27,"stars":26,"forks":30,"topics":48,"description":49},[32,33,34,35,36,37,38,39,40,41,42,43,44,45,46],"🦔 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\u002Fstreamlit_apps\u002Fskills\u002Fmanaging-streamlit-apps","---\nname: managing-streamlit-apps\ndescription: Create, deploy, and operate Streamlit apps in PostHog via the streamlit-apps MCP tools — create an app, set its source, start and stop its sandbox, poll status, list versions, delete, and share the app with humans via its PostHog URL. Use when asked to \"create a streamlit app\", \"deploy a data app\", \"ship a dashboard app\", \"restart\u002Fstop my app\", \"why is my app not running\", or \"give me a link to the app\".\n---\n\n# Managing Streamlit apps\n\nA Streamlit app is a Python data app running in an isolated sandbox inside PostHog.\nEach app has immutable versions of its code; one version is active; a sandbox process serves the active version.\nThe full lifecycle is driven with the `streamlit-apps-*` MCP tools.\n\n## The happy path: create → set source → start → share\n\n1. `streamlit-apps-create` with a `name` (optionally `description`, `cpu_cores` 0.25–8, `memory_gb` 0.5–16, defaults 0.5 \u002F 1).\n   The app exists but has no code yet.\n2. `streamlit-apps-set-source` with the complete `app.py` source as one string.\n   This creates version 1 and activates it.\n   Write the source per the `writing-streamlit-apps` skill — in particular use `posthog_apps.query()` for PostHog data, never `import posthog`.\n3. `streamlit-apps-start`.\n   Returns immediately; the sandbox boots asynchronously.\n4. Poll `streamlit-apps-status` until `status` is `running` (typically well under a minute).\n   If it lands on `error`, read `last_error` — see Troubleshooting below.\n5. Share the app: the `_posthogUrl` returned by create\u002Fget\u002Fstart (`\u002Fstreamlit-apps\u002F{short_id}`) is the app's page in PostHog.\n   That link is what you give humans.\n   Viewers need to be logged into PostHog with access to the project (the app renders in an authenticated iframe; there is no public URL).\n\n## Whose data the app reads\n\nThe app's queries run with the data access of the person who authored the **active version** — set the source, and the app reads what you can read.\nAnyone who can view the app sees those results, so treat publishing an app as sharing that data with everyone on the project.\nAn app whose version author has since been deleted can't start; upload a new version to fix it.\n\n## Updating code\n\nCall `streamlit-apps-set-source` again: it creates the next version and activates it.\nA running sandbox is stopped so it can't keep serving stale code — call `streamlit-apps-start` afterwards to serve the new version.\nVersions are immutable, but not permanent: `streamlit-apps-versions` lists the newest 50, and non-active versions older than 30 days are deleted along with their code.\nThere is no rollback tool: to roll back, set the old source again (fetch it from your conversation or wherever it's kept — versions store the zip, not an inline source view).\n\n## Stopping, idling, and deleting\n\n- `streamlit-apps-stop` stops the sandbox; code and versions are untouched. Starting again later is cheap.\n- Idle sandboxes are stopped automatically after a period of no activity — a stopped app is normal, not an error. Start it again when needed.\n- `streamlit-apps-delete` stops any sandbox and soft-deletes the app. Confirm with the user before deleting anything you didn't create in this conversation.\n\n## Troubleshooting\n\n- **`status: error` with `last_error: \"Start failed: ...\"`** — the sandbox failed to provision or boot. Retry `streamlit-apps-start` once; if it persists, surface `last_error` to the user (provisioning failures are usually platform-side, not app-side).\n- **Tool calls return 403 \"Streamlit apps is not available.\"** — the `streamlit-apps` feature flag is off for this organization. This is a rollout gate, not an error you can fix; tell the user.\n- **App runs but a query inside it fails** — that's an app-code concern; see `writing-streamlit-apps` (bridge limits: 30s execution, 256 MB memory per query).\n- **App shows old code after set-source** — you skipped step \"start after set-source\"; the sandbox was stopped and needs a start.\n\n## Renaming and resizing\n\n`streamlit-apps-update` changes an app's name, description, `cpu_cores` (0.25–8), or `memory_gb` (0.5–16); only the fields you pass change.\nNew sizing applies the next time the sandbox starts, so stop + start after resizing a running app.\nDefaults (0.5 CPU \u002F 1 GB) fit typical dashboard apps.\nRaise `memory_gb` only when the app itself holds large DataFrames in memory — the 256 MB HogQL bridge query cap is server-side and does NOT change with sandbox sizing, so bigger sandboxes don't fix failing queries.\n",{"data":53,"body":54},{"name":4,"description":6},{"type":55,"children":56},"root",[57,65,80,87,255,261,274,280,307,313,344,350,434,440],{"type":58,"tag":59,"props":60,"children":61},"element","h1",{"id":4},[62],{"type":63,"value":64},"text","Managing Streamlit apps",{"type":58,"tag":66,"props":67,"children":68},"p",{},[69,71,78],{"type":63,"value":70},"A Streamlit app is a Python data app running in an isolated sandbox inside PostHog.\nEach app has immutable versions of its code; one version is active; a sandbox process serves the active version.\nThe full lifecycle is driven with the ",{"type":58,"tag":72,"props":73,"children":75},"code",{"className":74},[],[76],{"type":63,"value":77},"streamlit-apps-*",{"type":63,"value":79}," MCP tools.",{"type":58,"tag":81,"props":82,"children":84},"h2",{"id":83},"the-happy-path-create-set-source-start-share",[85],{"type":63,"value":86},"The happy path: create → set source → start → share",{"type":58,"tag":88,"props":89,"children":90},"ol",{},[91,135,178,189,234],{"type":58,"tag":92,"props":93,"children":94},"li",{},[95,101,103,109,111,117,119,125,127,133],{"type":58,"tag":72,"props":96,"children":98},{"className":97},[],[99],{"type":63,"value":100},"streamlit-apps-create",{"type":63,"value":102}," with a ",{"type":58,"tag":72,"props":104,"children":106},{"className":105},[],[107],{"type":63,"value":108},"name",{"type":63,"value":110}," (optionally ",{"type":58,"tag":72,"props":112,"children":114},{"className":113},[],[115],{"type":63,"value":116},"description",{"type":63,"value":118},", ",{"type":58,"tag":72,"props":120,"children":122},{"className":121},[],[123],{"type":63,"value":124},"cpu_cores",{"type":63,"value":126}," 0.25–8, ",{"type":58,"tag":72,"props":128,"children":130},{"className":129},[],[131],{"type":63,"value":132},"memory_gb",{"type":63,"value":134}," 0.5–16, defaults 0.5 \u002F 1).\nThe app exists but has no code yet.",{"type":58,"tag":92,"props":136,"children":137},{},[138,144,146,152,154,160,162,168,170,176],{"type":58,"tag":72,"props":139,"children":141},{"className":140},[],[142],{"type":63,"value":143},"streamlit-apps-set-source",{"type":63,"value":145}," with the complete ",{"type":58,"tag":72,"props":147,"children":149},{"className":148},[],[150],{"type":63,"value":151},"app.py",{"type":63,"value":153}," source as one string.\nThis creates version 1 and activates it.\nWrite the source per the ",{"type":58,"tag":72,"props":155,"children":157},{"className":156},[],[158],{"type":63,"value":159},"writing-streamlit-apps",{"type":63,"value":161}," skill — in particular use ",{"type":58,"tag":72,"props":163,"children":165},{"className":164},[],[166],{"type":63,"value":167},"posthog_apps.query()",{"type":63,"value":169}," for PostHog data, never ",{"type":58,"tag":72,"props":171,"children":173},{"className":172},[],[174],{"type":63,"value":175},"import posthog",{"type":63,"value":177},".",{"type":58,"tag":92,"props":179,"children":180},{},[181,187],{"type":58,"tag":72,"props":182,"children":184},{"className":183},[],[185],{"type":63,"value":186},"streamlit-apps-start",{"type":63,"value":188},".\nReturns immediately; the sandbox boots asynchronously.",{"type":58,"tag":92,"props":190,"children":191},{},[192,194,200,202,208,210,216,218,224,226,232],{"type":63,"value":193},"Poll ",{"type":58,"tag":72,"props":195,"children":197},{"className":196},[],[198],{"type":63,"value":199},"streamlit-apps-status",{"type":63,"value":201}," until ",{"type":58,"tag":72,"props":203,"children":205},{"className":204},[],[206],{"type":63,"value":207},"status",{"type":63,"value":209}," is ",{"type":58,"tag":72,"props":211,"children":213},{"className":212},[],[214],{"type":63,"value":215},"running",{"type":63,"value":217}," (typically well under a minute).\nIf it lands on ",{"type":58,"tag":72,"props":219,"children":221},{"className":220},[],[222],{"type":63,"value":223},"error",{"type":63,"value":225},", read ",{"type":58,"tag":72,"props":227,"children":229},{"className":228},[],[230],{"type":63,"value":231},"last_error",{"type":63,"value":233}," — see Troubleshooting below.",{"type":58,"tag":92,"props":235,"children":236},{},[237,239,245,247,253],{"type":63,"value":238},"Share the app: the ",{"type":58,"tag":72,"props":240,"children":242},{"className":241},[],[243],{"type":63,"value":244},"_posthogUrl",{"type":63,"value":246}," returned by create\u002Fget\u002Fstart (",{"type":58,"tag":72,"props":248,"children":250},{"className":249},[],[251],{"type":63,"value":252},"\u002Fstreamlit-apps\u002F{short_id}",{"type":63,"value":254},") is the app's page in PostHog.\nThat link is what you give humans.\nViewers need to be logged into PostHog with access to the project (the app renders in an authenticated iframe; there is no public URL).",{"type":58,"tag":81,"props":256,"children":258},{"id":257},"whose-data-the-app-reads",[259],{"type":63,"value":260},"Whose data the app reads",{"type":58,"tag":66,"props":262,"children":263},{},[264,266,272],{"type":63,"value":265},"The app's queries run with the data access of the person who authored the ",{"type":58,"tag":267,"props":268,"children":269},"strong",{},[270],{"type":63,"value":271},"active version",{"type":63,"value":273}," — set the source, and the app reads what you can read.\nAnyone who can view the app sees those results, so treat publishing an app as sharing that data with everyone on the project.\nAn app whose version author has since been deleted can't start; upload a new version to fix it.",{"type":58,"tag":81,"props":275,"children":277},{"id":276},"updating-code",[278],{"type":63,"value":279},"Updating code",{"type":58,"tag":66,"props":281,"children":282},{},[283,285,290,292,297,299,305],{"type":63,"value":284},"Call ",{"type":58,"tag":72,"props":286,"children":288},{"className":287},[],[289],{"type":63,"value":143},{"type":63,"value":291}," again: it creates the next version and activates it.\nA running sandbox is stopped so it can't keep serving stale code — call ",{"type":58,"tag":72,"props":293,"children":295},{"className":294},[],[296],{"type":63,"value":186},{"type":63,"value":298}," afterwards to serve the new version.\nVersions are immutable, but not permanent: ",{"type":58,"tag":72,"props":300,"children":302},{"className":301},[],[303],{"type":63,"value":304},"streamlit-apps-versions",{"type":63,"value":306}," lists the newest 50, and non-active versions older than 30 days are deleted along with their code.\nThere is no rollback tool: to roll back, set the old source again (fetch it from your conversation or wherever it's kept — versions store the zip, not an inline source view).",{"type":58,"tag":81,"props":308,"children":310},{"id":309},"stopping-idling-and-deleting",[311],{"type":63,"value":312},"Stopping, idling, and deleting",{"type":58,"tag":314,"props":315,"children":316},"ul",{},[317,328,333],{"type":58,"tag":92,"props":318,"children":319},{},[320,326],{"type":58,"tag":72,"props":321,"children":323},{"className":322},[],[324],{"type":63,"value":325},"streamlit-apps-stop",{"type":63,"value":327}," stops the sandbox; code and versions are untouched. Starting again later is cheap.",{"type":58,"tag":92,"props":329,"children":330},{},[331],{"type":63,"value":332},"Idle sandboxes are stopped automatically after a period of no activity — a stopped app is normal, not an error. Start it again when needed.",{"type":58,"tag":92,"props":334,"children":335},{},[336,342],{"type":58,"tag":72,"props":337,"children":339},{"className":338},[],[340],{"type":63,"value":341},"streamlit-apps-delete",{"type":63,"value":343}," stops any sandbox and soft-deletes the app. Confirm with the user before deleting anything you didn't create in this conversation.",{"type":58,"tag":81,"props":345,"children":347},{"id":346},"troubleshooting",[348],{"type":63,"value":349},"Troubleshooting",{"type":58,"tag":314,"props":351,"children":352},{},[353,389,407,424],{"type":58,"tag":92,"props":354,"children":355},{},[356,373,375,380,382,387],{"type":58,"tag":267,"props":357,"children":358},{},[359,365,367],{"type":58,"tag":72,"props":360,"children":362},{"className":361},[],[363],{"type":63,"value":364},"status: error",{"type":63,"value":366}," with ",{"type":58,"tag":72,"props":368,"children":370},{"className":369},[],[371],{"type":63,"value":372},"last_error: \"Start failed: ...\"",{"type":63,"value":374}," — the sandbox failed to provision or boot. Retry ",{"type":58,"tag":72,"props":376,"children":378},{"className":377},[],[379],{"type":63,"value":186},{"type":63,"value":381}," once; if it persists, surface ",{"type":58,"tag":72,"props":383,"children":385},{"className":384},[],[386],{"type":63,"value":231},{"type":63,"value":388}," to the user (provisioning failures are usually platform-side, not app-side).",{"type":58,"tag":92,"props":390,"children":391},{},[392,397,399,405],{"type":58,"tag":267,"props":393,"children":394},{},[395],{"type":63,"value":396},"Tool calls return 403 \"Streamlit apps is not available.\"",{"type":63,"value":398}," — the ",{"type":58,"tag":72,"props":400,"children":402},{"className":401},[],[403],{"type":63,"value":404},"streamlit-apps",{"type":63,"value":406}," feature flag is off for this organization. This is a rollout gate, not an error you can fix; tell the user.",{"type":58,"tag":92,"props":408,"children":409},{},[410,415,417,422],{"type":58,"tag":267,"props":411,"children":412},{},[413],{"type":63,"value":414},"App runs but a query inside it fails",{"type":63,"value":416}," — that's an app-code concern; see ",{"type":58,"tag":72,"props":418,"children":420},{"className":419},[],[421],{"type":63,"value":159},{"type":63,"value":423}," (bridge limits: 30s execution, 256 MB memory per query).",{"type":58,"tag":92,"props":425,"children":426},{},[427,432],{"type":58,"tag":267,"props":428,"children":429},{},[430],{"type":63,"value":431},"App shows old code after set-source",{"type":63,"value":433}," — you skipped step \"start after set-source\"; the sandbox was stopped and needs a start.",{"type":58,"tag":81,"props":435,"children":437},{"id":436},"renaming-and-resizing",[438],{"type":63,"value":439},"Renaming and resizing",{"type":58,"tag":66,"props":441,"children":442},{},[443,449,451,456,458,463,465,470],{"type":58,"tag":72,"props":444,"children":446},{"className":445},[],[447],{"type":63,"value":448},"streamlit-apps-update",{"type":63,"value":450}," changes an app's name, description, ",{"type":58,"tag":72,"props":452,"children":454},{"className":453},[],[455],{"type":63,"value":124},{"type":63,"value":457}," (0.25–8), or ",{"type":58,"tag":72,"props":459,"children":461},{"className":460},[],[462],{"type":63,"value":132},{"type":63,"value":464}," (0.5–16); only the fields you pass change.\nNew sizing applies the next time the sandbox starts, so stop + start after resizing a running app.\nDefaults (0.5 CPU \u002F 1 GB) fit typical dashboard apps.\nRaise ",{"type":58,"tag":72,"props":466,"children":468},{"className":467},[],[469],{"type":63,"value":132},{"type":63,"value":471}," only when the app itself holds large DataFrames in memory — the 256 MB HogQL bridge query cap is server-side and does NOT change with sandbox sizing, so bigger sandboxes don't fix failing queries.",{"items":473,"total":571},[474,490,502,514,527,542,556],{"slug":475,"name":475,"fn":476,"description":477,"org":478,"tags":479,"stars":26,"repoUrl":27,"updatedAt":489},"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},[480,482,485,488],{"name":481,"slug":34,"type":15},"Analytics",{"name":483,"slug":484,"type":15},"Cost Optimization","cost-optimization",{"name":486,"slug":487,"type":15},"Observability","observability",{"name":9,"slug":8,"type":15},"2026-07-28T05:34:11.117757",{"slug":491,"name":491,"fn":492,"description":493,"org":494,"tags":495,"stars":26,"repoUrl":27,"updatedAt":501},"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},[496,497,500],{"name":481,"slug":34,"type":15},{"name":498,"slug":499,"type":15},"Audit","audit",{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":503,"name":503,"fn":504,"description":505,"org":506,"tags":507,"stars":26,"repoUrl":27,"updatedAt":513},"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},[508,509,511,512],{"name":498,"slug":499,"type":15},{"name":510,"slug":36,"type":15},"Data Warehouse",{"name":486,"slug":487,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":515,"name":515,"fn":516,"description":517,"org":518,"tags":519,"stars":26,"repoUrl":27,"updatedAt":526},"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},[520,521,522,525],{"name":498,"slug":499,"type":15},{"name":510,"slug":36,"type":15},{"name":523,"slug":524,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":528,"name":528,"fn":529,"description":530,"org":531,"tags":532,"stars":26,"repoUrl":27,"updatedAt":541},"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},[533,536,539,540],{"name":534,"slug":535,"type":15},"Alerting","alerting",{"name":537,"slug":538,"type":15},"Debugging","debugging",{"name":486,"slug":487,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":543,"name":543,"fn":544,"description":545,"org":546,"tags":547,"stars":26,"repoUrl":27,"updatedAt":555},"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},[548,549,552,553,554],{"name":481,"slug":34,"type":15},{"name":550,"slug":551,"type":15},"Monitoring","monitoring",{"name":486,"slug":487,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":557,"name":557,"fn":558,"description":559,"org":560,"tags":561,"stars":26,"repoUrl":27,"updatedAt":570},"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},[562,565,566,567],{"name":563,"slug":564,"type":15},"Automation","automation",{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":568,"slug":569,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",61,{"items":573,"total":690},[574,581,587,594,601,608,616,623,637,652,662,680],{"slug":475,"name":475,"fn":476,"description":477,"org":575,"tags":576,"stars":26,"repoUrl":27,"updatedAt":489},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[577,578,579,580],{"name":481,"slug":34,"type":15},{"name":483,"slug":484,"type":15},{"name":486,"slug":487,"type":15},{"name":9,"slug":8,"type":15},{"slug":491,"name":491,"fn":492,"description":493,"org":582,"tags":583,"stars":26,"repoUrl":27,"updatedAt":501},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[584,585,586],{"name":481,"slug":34,"type":15},{"name":498,"slug":499,"type":15},{"name":9,"slug":8,"type":15},{"slug":503,"name":503,"fn":504,"description":505,"org":588,"tags":589,"stars":26,"repoUrl":27,"updatedAt":513},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[590,591,592,593],{"name":498,"slug":499,"type":15},{"name":510,"slug":36,"type":15},{"name":486,"slug":487,"type":15},{"name":9,"slug":8,"type":15},{"slug":515,"name":515,"fn":516,"description":517,"org":595,"tags":596,"stars":26,"repoUrl":27,"updatedAt":526},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[597,598,599,600],{"name":498,"slug":499,"type":15},{"name":510,"slug":36,"type":15},{"name":523,"slug":524,"type":15},{"name":9,"slug":8,"type":15},{"slug":528,"name":528,"fn":529,"description":530,"org":602,"tags":603,"stars":26,"repoUrl":27,"updatedAt":541},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[604,605,606,607],{"name":534,"slug":535,"type":15},{"name":537,"slug":538,"type":15},{"name":486,"slug":487,"type":15},{"name":9,"slug":8,"type":15},{"slug":543,"name":543,"fn":544,"description":545,"org":609,"tags":610,"stars":26,"repoUrl":27,"updatedAt":555},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[611,612,613,614,615],{"name":481,"slug":34,"type":15},{"name":550,"slug":551,"type":15},{"name":486,"slug":487,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},{"slug":557,"name":557,"fn":558,"description":559,"org":617,"tags":618,"stars":26,"repoUrl":27,"updatedAt":570},{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[619,620,621,622],{"name":563,"slug":564,"type":15},{"name":18,"slug":19,"type":15},{"name":9,"slug":8,"type":15},{"name":568,"slug":569,"type":15},{"slug":624,"name":624,"fn":625,"description":626,"org":627,"tags":628,"stars":26,"repoUrl":27,"updatedAt":636},"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},[629,630,631,634,635],{"name":481,"slug":34,"type":15},{"name":537,"slug":538,"type":15},{"name":632,"slug":633,"type":15},"Frontend","frontend",{"name":486,"slug":487,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":638,"name":638,"fn":639,"description":640,"org":641,"tags":642,"stars":26,"repoUrl":27,"updatedAt":651},"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},[643,646,647,648],{"name":644,"slug":645,"type":15},"API Development","api-development",{"name":632,"slug":633,"type":15},{"name":9,"slug":8,"type":15},{"name":649,"slug":650,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":653,"name":653,"fn":654,"description":655,"org":656,"tags":657,"stars":26,"repoUrl":27,"updatedAt":661},"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},[658,659,660],{"name":644,"slug":645,"type":15},{"name":13,"slug":14,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":663,"name":663,"fn":664,"description":665,"org":666,"tags":667,"stars":26,"repoUrl":27,"updatedAt":679},"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},[668,669,672,673,676],{"name":563,"slug":564,"type":15},{"name":670,"slug":671,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":674,"slug":675,"type":15},"Reporting","reporting",{"name":677,"slug":678,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":681,"name":681,"fn":682,"description":683,"org":684,"tags":685,"stars":26,"repoUrl":27,"updatedAt":689},"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},[686,687,688],{"name":481,"slug":34,"type":15},{"name":644,"slug":645,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]