PostHog FOSS is a read-only mirror of PostHog, with all proprietary code removed. NOTE: This repo is synced automatically from the main PostHog repo. Please raise any issues and PRs there.
Create, version, release, and wire up LLM prompts with PostHog prompt management. Use when a user asks to create or edit a prompt in PostHog, move hardcoded prompts out of their code, change a prompt without a deploy, release or roll back a prompt version with a label such as production, or fetch prompts at runtime…
★not rated 736▲
+3
changed 3d agoA128 tokens
originalMIT
Creates or changes a Customer analytics account widget: a tile on an account detail view, or an account detail tab. Use when adding a widget, tile, or tab to the account page, giving a widget saved settings or a settings editor, or reviewing a diff that touches accountViewComponents.tsx, AccountViewComponent…
Changes PostHog's command line in this repo: hog, the TypeScript CLI in hog/, and its Rust helper hog-worker. posthog-cli, the Rust CLI in cli/, is deprecated and frozen. Use before writing, fixing, or reviewing code under hog/ or cli/, including symbol and sourcemap uploads, dSYM, Hermes and ProGuard handling…
Set up AI visibility (AI citation tracking) for a PostHog project over the PostHog MCP: confirm the project's own site and brand, review competitor brands, choose which AI answer engines run and how often, then suggest and add the prompts and keywords to track. Use when the user asks to "set up AI visibility", "start…
How to build on capture v1, PostHog's batch event intake API (/i/v1/analytics/events, /i/v1/ai/events). Use when sending events to capture from PostHog code, changing any capture code under rust/capture/ (legacy or v1) or the captureinternal helpers, adding a per-event option (event.options) or a property that capture…
Sends destination and workflow runs that failed during an incident again, across teams, with the staff "Replay failed CDP runs" admin console tool. Use after a CDP incident (expired integration tokens, an outage at a provider, a broken deploy) when failed destination or workflow runs should be sent again, when someone…
Gives the AI observability team's rules for layered code and for bridging it to older code. Use before a change or a review in products/aiobservability/ that adds or changes a capability, a resource, a list, a background job or a component in the product's layers (mode B or C in the product's AGENTS.md), or that…
★not rated 736▲
+3
changed 3d agoA113 tokens
originalMIT
Runs a paid, staff-triggered export of a team's session recordings into an S3 bucket the customer owns, with the exportrecordingstos3 management command. Use when a customer needs recordings kept past retention (litigation, legal hold, forensics, compliance archive), when asked to quote, price, start, monitor or check…
Guides adding or changing a panel type in dashboards v2 (products/dashboardsv2/frontend/panels/): the PanelSpec, definePanel, config schema, tile slots (Component, Loading, HeaderExtra, Footer), menuActions, allowedCustomizations and lazy loading, with the markdown type as the worked example. Use when creating a new…
Adds or changes a monorepo caller of the Go AI gateway (PostHog/ai-gateway). Use when adding an LLM call from Django, a Temporal or Celery worker, or a sandbox agent; when changing a caller's gateway credential, base URL, headers, attribution, or model; or when adding a task profile whose sandbox runs must mint a…
Guides putting a product's own React component in a dashboards v2 tile through the custom panel type: a content package in the product's folder (defineContentPackage), createCustomPanel({ packages }), the off-by-default opt-ins (movable, duplicable, backgroundColor, menuActions, showOnInteractiveOnly) and reading or…
Design, change, or review a Dagster job, op, asset, schedule, or sensor in PostHog (posthog/dags/, products//dags/). Use before adding a job or a fan-out (DynamicOut, .map(), .collect()), changing a schedule cadence or a sensor, splitting work into batches or shards, adding a retry policy or a failure hook, or when a…
Takes a finished PostHog feature that SDKs should expose, such as a new API endpoint, a new option on an existing call, or a new capability, and brings it to the docs, the sdk-specs contract, and a merged PR in every SDK it applies to. Use after the backend work is merged, when asked to document a feature and add it…
Finds PostHog data pipelines that are not delivering and says why: a destination or transformation that fails or was stopped by the platform, a batch export run that failed or a schedule that stalled, and a workflow that errors for the people it triggers on. Use when the user asks "why is my destination failing?", "is…
Measures how a PostHog support inbox (the Conversations product) is running, from its ticket events: the share of replies that breach SLA, the time to first response, whether new tickets outpace resolved ones, and which channel or team a change sits in. Use when the user asks "are we meeting our SLA?", "how fast do we…
Sync columns from a synced data warehouse table onto PostHog person or group properties, so warehouse data becomes usable anywhere person and group properties already work: feature flag targeting, cohorts, insight filters and breakdowns, surveys, session replay filters, workflows, and the person profile. Use when the…
Picks how to put new content in a dashboards v2 tile, then guides building it: a chart kind, custom content (a product's own React component in a content package via defineContentPackage and createCustomPanel), or a new panel type (definePanel, config schema, tile slots, menuActions, lazy loading under…
★not rated 736▲
+3 todayA146 tokens
originalMIT
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: