[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-posthog-feature-flags-php":3,"mdc--3gnae5-key":34,"related-repo-posthog-feature-flags-php":202,"related-org-posthog-feature-flags-php":315},{"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":29,"sourceUrl":32,"mdContent":33},"feature-flags-php","implement PostHog feature flags in PHP","PostHog feature flags for PHP applications",{"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,19,20],{"name":13,"slug":14,"type":15},"PHP","php","tag",{"name":17,"slug":18,"type":15},"Backend","backend",{"name":9,"slug":8,"type":15},{"name":21,"slug":22,"type":15},"Feature Flags","feature-flags",56,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fskills","2026-04-06T18:45:48.54247",null,4,[],{"repoUrl":24,"stars":23,"forks":27,"topics":30,"description":31},[],"PostHog skills (under construction)","https:\u002F\u002Fgithub.com\u002FPostHog\u002Fskills\u002Ftree\u002FHEAD\u002Fskills\u002Fposthog\u002Ffeature-flags\u002Fskills\u002Fphp","---\nname: feature-flags-php\ndescription: PostHog feature flags for PHP applications\nmetadata:\n  author: PostHog\n  version: 1.9.4\n---\n\n# PostHog feature flags for PHP\n\nThis skill helps you add PostHog feature flags to PHP applications.\n\n## Reference files\n\n- `references\u002Fphp.md` - Php feature flags installation - docs\n- `references\u002Fadding-feature-flag-code.md` - Adding feature flag code - docs\n- `references\u002Fbest-practices.md` - Feature flag best practices - docs\n\nConsult the documentation for API details and framework-specific patterns.\n\n## Key principles\n\n- **Environment variables**: Always use environment variables for PostHog keys. Never hardcode them.\n- **Minimal changes**: Add feature flag code alongside existing logic. Don't replace or restructure existing code.\n- **Boolean flags first**: Default to boolean flag checks unless the user specifically asks for multivariate flags.\n- **Server-side when possible**: Prefer server-side flag evaluation to avoid UI flicker.\n\n## PostHog MCP tools\n\nCheck if a PostHog MCP server is connected. If available, look for tools related to feature flag management (creating, listing, updating, deleting flags). Use these tools to manage flags directly in PostHog rather than requiring the user to do it manually in the dashboard.\n\n## Framework guidelines\n\n- Remember that source code is available in the vendor directory after composer install\n- posthog\u002Fposthog-php is the PHP SDK package name\n- Check composer.json for existing dependencies and autoload configuration before adding new files\n- The PHP SDK uses static methods (PostHog::capture, PostHog::identify) - initialize once with PostHog::init()\n- PHP SDK methods take associative arrays with 'distinctId', 'event', 'properties' keys - not positional arguments\n",{"data":35,"body":38},{"name":4,"description":6,"metadata":36},{"author":9,"version":37},"1.9.4",{"type":39,"children":40},"root",[41,50,56,63,102,107,113,157,163,168,174],{"type":42,"tag":43,"props":44,"children":46},"element","h1",{"id":45},"posthog-feature-flags-for-php",[47],{"type":48,"value":49},"text","PostHog feature flags for PHP",{"type":42,"tag":51,"props":52,"children":53},"p",{},[54],{"type":48,"value":55},"This skill helps you add PostHog feature flags to PHP applications.",{"type":42,"tag":57,"props":58,"children":60},"h2",{"id":59},"reference-files",[61],{"type":48,"value":62},"Reference files",{"type":42,"tag":64,"props":65,"children":66},"ul",{},[67,80,91],{"type":42,"tag":68,"props":69,"children":70},"li",{},[71,78],{"type":42,"tag":72,"props":73,"children":75},"code",{"className":74},[],[76],{"type":48,"value":77},"references\u002Fphp.md",{"type":48,"value":79}," - Php feature flags installation - docs",{"type":42,"tag":68,"props":81,"children":82},{},[83,89],{"type":42,"tag":72,"props":84,"children":86},{"className":85},[],[87],{"type":48,"value":88},"references\u002Fadding-feature-flag-code.md",{"type":48,"value":90}," - Adding feature flag code - docs",{"type":42,"tag":68,"props":92,"children":93},{},[94,100],{"type":42,"tag":72,"props":95,"children":97},{"className":96},[],[98],{"type":48,"value":99},"references\u002Fbest-practices.md",{"type":48,"value":101}," - Feature flag best practices - docs",{"type":42,"tag":51,"props":103,"children":104},{},[105],{"type":48,"value":106},"Consult the documentation for API details and framework-specific patterns.",{"type":42,"tag":57,"props":108,"children":110},{"id":109},"key-principles",[111],{"type":48,"value":112},"Key principles",{"type":42,"tag":64,"props":114,"children":115},{},[116,127,137,147],{"type":42,"tag":68,"props":117,"children":118},{},[119,125],{"type":42,"tag":120,"props":121,"children":122},"strong",{},[123],{"type":48,"value":124},"Environment variables",{"type":48,"value":126},": Always use environment variables for PostHog keys. Never hardcode them.",{"type":42,"tag":68,"props":128,"children":129},{},[130,135],{"type":42,"tag":120,"props":131,"children":132},{},[133],{"type":48,"value":134},"Minimal changes",{"type":48,"value":136},": Add feature flag code alongside existing logic. Don't replace or restructure existing code.",{"type":42,"tag":68,"props":138,"children":139},{},[140,145],{"type":42,"tag":120,"props":141,"children":142},{},[143],{"type":48,"value":144},"Boolean flags first",{"type":48,"value":146},": Default to boolean flag checks unless the user specifically asks for multivariate flags.",{"type":42,"tag":68,"props":148,"children":149},{},[150,155],{"type":42,"tag":120,"props":151,"children":152},{},[153],{"type":48,"value":154},"Server-side when possible",{"type":48,"value":156},": Prefer server-side flag evaluation to avoid UI flicker.",{"type":42,"tag":57,"props":158,"children":160},{"id":159},"posthog-mcp-tools",[161],{"type":48,"value":162},"PostHog MCP tools",{"type":42,"tag":51,"props":164,"children":165},{},[166],{"type":48,"value":167},"Check if a PostHog MCP server is connected. If available, look for tools related to feature flag management (creating, listing, updating, deleting flags). Use these tools to manage flags directly in PostHog rather than requiring the user to do it manually in the dashboard.",{"type":42,"tag":57,"props":169,"children":171},{"id":170},"framework-guidelines",[172],{"type":48,"value":173},"Framework guidelines",{"type":42,"tag":64,"props":175,"children":176},{},[177,182,187,192,197],{"type":42,"tag":68,"props":178,"children":179},{},[180],{"type":48,"value":181},"Remember that source code is available in the vendor directory after composer install",{"type":42,"tag":68,"props":183,"children":184},{},[185],{"type":48,"value":186},"posthog\u002Fposthog-php is the PHP SDK package name",{"type":42,"tag":68,"props":188,"children":189},{},[190],{"type":48,"value":191},"Check composer.json for existing dependencies and autoload configuration before adding new files",{"type":42,"tag":68,"props":193,"children":194},{},[195],{"type":48,"value":196},"The PHP SDK uses static methods (PostHog::capture, PostHog::identify) - initialize once with PostHog::init()",{"type":42,"tag":68,"props":198,"children":199},{},[200],{"type":48,"value":201},"PHP SDK methods take associative arrays with 'distinctId', 'event', 'properties' keys - not positional arguments",{"items":203,"total":314},[204,221,241,253,273,287,298],{"slug":205,"name":205,"fn":206,"description":207,"org":208,"tags":209,"stars":23,"repoUrl":24,"updatedAt":220},"account-handover","draft sales account handover notes","Draft structured handover notes for transitioning a PostHog account from one TAM or CSM to another. Use this skill when a TAM needs to hand over an account, prepare a transition briefing, write handover notes, create an account summary for a new owner, or any request involving account transitions between TAMs or CSMs. Triggers on \"hand over this account\", \"transition account to\", \"draft handover notes\", \"account briefing for new TAM\", \"prepare account transition\", or when a TAM names an account and says they're leaving or reassigning it.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[210,213,216,217],{"name":211,"slug":212,"type":15},"Communications","communications",{"name":214,"slug":215,"type":15},"CRM","crm",{"name":9,"slug":8,"type":15},{"name":218,"slug":219,"type":15},"Sales","sales","2026-04-16T05:13:00.172732",{"slug":222,"name":222,"fn":223,"description":224,"org":225,"tags":226,"stars":23,"repoUrl":24,"updatedAt":240},"auditing-warehouse-data-health","audit PostHog data warehouse health","Audit the health of a PostHog project's data warehouse — find every broken or degraded pipeline item across sources, sync schemas, materialized views, batch exports, and transformations. Use when the user asks \"what's broken in my warehouse?\", \"give me a health check\", \"audit my data pipeline\", \"why are some dashboards stale?\", or wants a one-shot triage summary before deciding where to spend time. Produces a prioritized report of issues grouped by severity and type, with recommended next steps.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[227,230,233,236,239],{"name":228,"slug":229,"type":15},"Audit","audit",{"name":231,"slug":232,"type":15},"Data Engineering","data-engineering",{"name":234,"slug":235,"type":15},"Data Quality","data-quality",{"name":237,"slug":238,"type":15},"Observability","observability",{"name":9,"slug":8,"type":15},"2026-06-21T08:19:05.85849",{"slug":242,"name":242,"fn":243,"description":244,"org":245,"tags":246,"stars":23,"repoUrl":24,"updatedAt":252},"copying-flags-across-projects","copy feature flags across PostHog projects","Copy a feature flag from one PostHog project to one or more target projects in the same organization. Use when the user wants to duplicate a flag, promote a flag from staging to production, sync flags across projects, or replicate a flag configuration in a different workspace. Covers cohort remapping, scheduled-change handling, encrypted payloads, and the safe defaults (disabled in target, no scheduled changes).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[247,250,251],{"name":248,"slug":249,"type":15},"Deployment","deployment",{"name":21,"slug":22,"type":15},{"name":9,"slug":8,"type":15},"2026-05-04T05:56:44.484909",{"slug":254,"name":254,"fn":255,"description":256,"org":257,"tags":258,"stars":23,"repoUrl":24,"updatedAt":272},"diagnosing-experiment-results","diagnose PostHog experiment results and anomalies","Diagnoses bias, anomalies, and strange-looking results on a specific PostHog experiment. Covers empty \u002F 0-exposure experiments, sample ratio mismatch, identity fragmentation, multi-variant exposure, uneven-split exclusion bias, significance traps (peeking, A\u002FA, Bayesian vs Frequentist), PostHog-vs-SQL discrepancies, and surprises after mid-run edits. Symptom-driven dispatch to the right diagnostic.\nTRIGGER when: user asks 'is my experiment biased?' or 'why 0 exposures?', references the bias banner, says a variant looks strange \u002F wrong \u002F off, sees significance flipping, notices PostHog numbers disagreeing with their SQL, sees an A\u002FA test showing significance, or reports surprises after mid-run edits.\nDO NOT TRIGGER when: creating a new experiment (use creating-experiments), only configuring rollout (use configuring-experiment-rollout) or metrics (use configuring-experiment-analytics), or only asking lifecycle questions (use managing-experiment-lifecycle).",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[259,262,265,268,271],{"name":260,"slug":261,"type":15},"A\u002FB Testing","a-b-testing",{"name":263,"slug":264,"type":15},"Analytics","analytics",{"name":266,"slug":267,"type":15},"Data Analysis","data-analysis",{"name":269,"slug":270,"type":15},"Debugging","debugging",{"name":9,"slug":8,"type":15},"2026-05-22T06:59:58.103867",{"slug":274,"name":274,"fn":275,"description":276,"org":277,"tags":278,"stars":23,"repoUrl":24,"updatedAt":286},"diagnosing-missing-recordings","diagnose missing PostHog session recordings","Diagnoses why a session recording is missing or was not captured. Use when a user asks why a session has no replay, why recordings aren't appearing, or wants to troubleshoot session replay capture issues for a specific session ID or across their project. Covers SDK diagnostic signals, project settings, sampling, triggers, ad blockers, and quota\u002Fbilling scenarios.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[279,280,281,284,285],{"name":263,"slug":264,"type":15},{"name":269,"slug":270,"type":15},{"name":282,"slug":283,"type":15},"Frontend","frontend",{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},"2026-04-22T05:06:51.989772",{"slug":288,"name":288,"fn":289,"description":290,"org":291,"tags":292,"stars":23,"repoUrl":24,"updatedAt":297},"diagnosing-sdk-health","diagnose PostHog SDK health","Diagnoses the health of a project's PostHog SDK integrations — which SDKs are out of date and how to fix them. Use when a user asks about PostHog SDK versions, outdated SDKs, upgrade recommendations, \"SDK health\", \"SDK doctor\" (the former name), or when events or features seem off and it might be due to an old SDK.\n",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[293,294,295,296],{"name":263,"slug":264,"type":15},{"name":269,"slug":270,"type":15},{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},"2026-04-27T05:46:14.554016",{"slug":299,"name":299,"fn":300,"description":301,"org":302,"tags":303,"stars":23,"repoUrl":24,"updatedAt":313},"error-tracking-android","track Android errors with PostHog","PostHog error tracking for Android",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[304,307,308,311,312],{"name":305,"slug":306,"type":15},"Android","android",{"name":269,"slug":270,"type":15},{"name":309,"slug":310,"type":15},"Mobile","mobile",{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},"2026-04-06T18:46:26.982494",110,{"items":316,"total":479},[317,332,342,355,368,381,397,414,426,441,451,469],{"slug":318,"name":318,"fn":319,"description":320,"org":321,"tags":322,"stars":329,"repoUrl":330,"updatedAt":331},"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},[323,324,327,328],{"name":263,"slug":264,"type":15},{"name":325,"slug":326,"type":15},"Cost Optimization","cost-optimization",{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},35568,"https:\u002F\u002Fgithub.com\u002FPostHog\u002Fposthog","2026-07-28T05:34:11.117757",{"slug":333,"name":333,"fn":334,"description":335,"org":336,"tags":337,"stars":329,"repoUrl":330,"updatedAt":341},"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},[338,339,340],{"name":263,"slug":264,"type":15},{"name":228,"slug":229,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:33.693989",{"slug":343,"name":343,"fn":344,"description":345,"org":346,"tags":347,"stars":329,"repoUrl":330,"updatedAt":354},"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},[348,349,352,353],{"name":228,"slug":229,"type":15},{"name":350,"slug":351,"type":15},"Data Warehouse","data-warehouse",{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:22:57.67984",{"slug":356,"name":356,"fn":357,"description":358,"org":359,"tags":360,"stars":329,"repoUrl":330,"updatedAt":367},"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},[361,362,363,366],{"name":228,"slug":229,"type":15},{"name":350,"slug":351,"type":15},{"name":364,"slug":365,"type":15},"Performance","performance",{"name":9,"slug":8,"type":15},"2026-06-18T08:25:10.936787",{"slug":369,"name":369,"fn":370,"description":371,"org":372,"tags":373,"stars":329,"repoUrl":330,"updatedAt":380},"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},[374,377,378,379],{"name":375,"slug":376,"type":15},"Alerting","alerting",{"name":269,"slug":270,"type":15},{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},"2026-06-18T08:24:40.318583",{"slug":382,"name":382,"fn":383,"description":384,"org":385,"tags":386,"stars":329,"repoUrl":330,"updatedAt":396},"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},[387,388,391,392,395],{"name":263,"slug":264,"type":15},{"name":389,"slug":390,"type":15},"Monitoring","monitoring",{"name":237,"slug":238,"type":15},{"name":393,"slug":394,"type":15},"Operations","operations",{"name":9,"slug":8,"type":15},"2026-07-18T05:10:54.430898",{"slug":398,"name":398,"fn":399,"description":400,"org":401,"tags":402,"stars":329,"repoUrl":330,"updatedAt":413},"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},[403,406,409,410],{"name":404,"slug":405,"type":15},"Automation","automation",{"name":407,"slug":408,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},{"name":411,"slug":412,"type":15},"Workflow Automation","workflow-automation","2026-07-28T05:34:12.167015",{"slug":415,"name":415,"fn":416,"description":417,"org":418,"tags":419,"stars":329,"repoUrl":330,"updatedAt":425},"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},[420,421,422,423,424],{"name":263,"slug":264,"type":15},{"name":269,"slug":270,"type":15},{"name":282,"slug":283,"type":15},{"name":237,"slug":238,"type":15},{"name":9,"slug":8,"type":15},"2026-05-07T05:56:19.828048",{"slug":427,"name":427,"fn":428,"description":429,"org":430,"tags":431,"stars":329,"repoUrl":330,"updatedAt":440},"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},[432,435,436,437],{"name":433,"slug":434,"type":15},"API Development","api-development",{"name":282,"slug":283,"type":15},{"name":9,"slug":8,"type":15},{"name":438,"slug":439,"type":15},"SDK","sdk","2026-06-08T08:08:34.929454",{"slug":442,"name":442,"fn":443,"description":444,"org":445,"tags":446,"stars":329,"repoUrl":330,"updatedAt":450},"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},[447,448,449],{"name":433,"slug":434,"type":15},{"name":393,"slug":394,"type":15},{"name":9,"slug":8,"type":15},"2026-07-15T05:29:58.442727",{"slug":452,"name":452,"fn":453,"description":454,"org":455,"tags":456,"stars":329,"repoUrl":330,"updatedAt":468},"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},[457,458,461,462,465],{"name":404,"slug":405,"type":15},{"name":459,"slug":460,"type":15},"Email","email",{"name":9,"slug":8,"type":15},{"name":463,"slug":464,"type":15},"Reporting","reporting",{"name":466,"slug":467,"type":15},"Slack","slack","2026-06-09T07:32:27.935712",{"slug":470,"name":470,"fn":471,"description":472,"org":473,"tags":474,"stars":329,"repoUrl":330,"updatedAt":478},"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},[475,476,477],{"name":263,"slug":264,"type":15},{"name":433,"slug":434,"type":15},{"name":9,"slug":8,"type":15},"2026-06-08T08:08:29.624498",231]