PostHog/posthog-foss

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.

This repository also configures its own agents. See what posthog-foss tells them →

736Stars on the repository
256Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

PostHog/posthog-foss

Skill Claude CodeCodex

Use before adding or changing Python code that calls a third-party HTTP API from PostHog (a vendor REST call, a vendor SDK client, a scraping or enrichment service), and before adding or changing a domain under posthog/egress/: its budget, priority lanes, identity, metrics, or rate-limit headers. Routes the call to an…

not rated 736 +3 changed today A 180 tokens original MIT

PostHog/posthog-foss

Skill Claude Code

Watches AEO citation-check results in system.aeocitationchecks and files an inbox report when a domain's citation rate on an answer engine drops or spikes versus its baseline, or when the citation runner itself is failing.

not rated 736 +3 changed 22d ago A 53 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Authenticate a new or changed service to ClickHouse with the rotating ch-podauth ServiceAccount token instead of a static password. Use when adding a service, sidecar, or container that reads or writes ClickHouse, adding a new ClickHouseUser, or hand-building a ClickHouse pool or client for a custom timeout or…

not rated 736 +3 changed 1mo ago A 146 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Use when deciding whether an endpoint, settings section, or UI flow should require recent authentication (re-auth), when adding TimeSensitiveActionPermission or its exemptions (timesensitiveallowifonlyfields, timesensitiveexcludeactions, timesensitiveallowactions), when wrapping a page or settings section in…

not rated 736 +3 today B 193 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

How products and pages appear in the PostHog sidebar: which category they sit in, which icon and color they get, and which groups share a color gradient. Use when adding a product or data management page to the sidebar (treeItemsProducts or treeItemsMetadata in a products//manifest.tsx), giving an entry a new icon or…

not rated 736 +3 changed 1mo ago A 137 tokens original MIT

adding-api-scopes

198

PostHog/posthog-foss

Skill Claude CodeCodex

Guidance for adding an API scope object to the posthog/scopes/ package and making it work for personal API keys, OAuth tokens and MCP clients. Use when adding a scope object, exposing a viewset or MCP tool to tokens, moving a viewset off scopeobject = "INTERNAL", deciding if a scope is internal, OAuth-hidden or…

not rated 736 +3 changed 15d ago A 171 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Inspect and compare offline AI evaluation experiments, diagnose case-level regressions, and follow scorer history across application, model, or prompt changes. Use when a user asks whether an offline run improved, why a case failed, how scores changed between runs, or how to publish externally computed offline…

not rated 736 +3 changed 3d ago A 84 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Finds out why a data quality check failed or errored, looks at the rows it matched, and recommends the fix. Also covers a materialized view refresh that the data quality gate did not publish. Use when asked why a check is red, what rows failed, why a view shows "Not published", why a view's data is stale after a…

not rated 736 +3 changed 3d ago A 122 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Runs diagnostics and a health check on one PostHog experiment: its setup, exposures, results and changes during the run. Covers 0 exposures, sample ratio mismatch, lost or uneven exposures, users in multiple variants, identity faults, who the experiment counts, significance traps (peeking, A/A, 'target reached'…

not rated 736 +3 changed 1mo ago A 216 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Use PostHog Autoresearch, agent-driven predictive models: ask "who will do X in the next N days?", let an agent train a model, then score people daily into a person property and autoresearchprediction events. Use when a user wants to predict churn, activity, return, feature adoption, conversion or any event or action…

not rated 736 +3 changed 2d ago A 203 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Links a PostHog error occurrence or session's errors to OpenTelemetry traces, logs with the same trace ID, and Session Replay. Use when the user asks for trace or span IDs on an error, same-trace logs, or backend traces for errors in a session. Starts from an occurrence UUID, session ID, or error tracking issue URL.…

not rated 736 +3 today A 96 tokens original MIT

recording-demo-videos

204

PostHog/posthog-foss

Skill Claude CodeCodex

Records a captioned, PostHog-branded walkthrough video (MP4) of a feature running on the local PostHog stack, for a Loom, a Slack demo, or a PR. Use when asked to record a video, demo, walkthrough, or Loom of a change end to end, including flows that leave the app, such as an API call shown as a terminal card or an…

not rated 736 +3 changed 1mo ago A 183 tokens original MIT

recreating-fork-prs

205

PostHog/posthog-foss

Skill Claude CodeCodex

Re-creates a reviewed pull request from a fork on a branch in PostHog/posthog, so it can get the required checks and merge, while the contributor stays the commit author and GitHub credits them on the squash commit. Use when a fork PR fails with "Depot CI does not run fork pull requests", when its Backend CI on Depot…

not rated 736 +3 changed 2d ago A 130 tokens original MIT

verifying-changes

206

PostHog/posthog-foss

Skill Claude CodeCodex

Picks the cheapest check that is enough to confirm a change works, and says when a slower one is needed. Use before you report a task done, before you start Storybook, the dev stack or a Playwright run to check your own work, and when you are unsure how much verification a diff needs. Maps each kind of change, such as…

not rated 736 +3 changed 16d ago A 179 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Builds and validates Slack Block Kit messages, modals, and App Home layouts. Use for Slack formatting, block selection, Markdown, cards, tables, charts, metadata, buttons, and menus. Covers live schemas, payload validation, accessibility, and actual Slack rendering. Not for workspace setup.

not rated 736 +3 today A 66 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Add a "For you today" highlight source, the rule that turns a product's facts into items on the Today home page (firing alerts, flags that lose reach, ticket SLA breaches, workflow failures). Use when asked to "add a Today highlight", "show X in For you today", "surface X on the home page", or when changing an…

not rated 736 +3 changed 2d ago A 117 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Default path for read-only queries against PostHog's production ClickHouse and Postgres in the US and EU regions. Uses the direct-connect SQL sources in the internal projects, through the PostHog MCP on US team 2. US sources run with execute-sql and a connectionId. EU sources run through a personal PostHog connection…

not rated 736 +3 changed 13d ago A 175 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Runs, writes and debugs PostHog Storybook stories and their visual review snapshots. Use when you start Storybook to look at a change, write or change a .stories.tsx file, set feature flags, the date, the URL, mocks or testOptions for a story, or fix a story that times out, renders nothing or flakes in visual review…

not rated 736 +3 changed today A 166 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Answer AI citation and answer engine optimization (AEO) questions in PostHog: whether AI answer engines (ChatGPT and Claude) cite the project's site for its tracked prompts, which topics and engines cite it least, which domains get cited instead, and whether citations line up with Google Search Console rankings and AI…

not rated 736 +3 changed today A 134 tokens original MIT

building-the-toolbar

212

PostHog/posthog-foss

Skill Claude CodeCodex

Builds, watches, checks and verifies the PostHog toolbar in both of its forms, the floating toolbar that posthog-js loads on customer pages and the browser extension that shows the toolbar in a Chrome side panel. Use when changing anything under frontend/src/toolbar/ (floating toolbar or extension)…

not rated 736 +3 changed 3d ago A 178 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Decides whether a PostHog mobile app change can ship as an over-the-air (OTA) update or needs a native store release, then creates the release request file under products/mobile/releases/requests/. Use before creating or editing a mobile release request, when asked to ship, release, publish or push an update of the…

not rated 736 +3 today A 130 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex needs its repo

Runs the PostHog mobile app's Argent demo flows (demo-smoke and views-smoke) on a local iOS simulator against a bundled Release build, and reads their results. Use before reporting a change under products/mobile that touches a screen, navigation, the demo fixtures, a testID, or a flow file as done, and when asked to…

not rated 736 +3 changed 23d ago A 103 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Add or change what staff see and do in PostHog Admin, the staff console at /admin/console/. Use when adding a panel to a project page, a staff action (an operation), or a cross-project report (a tool) in a console.py, when moving a button, view or page out of Django admin into the console, or when asked to "add an…

not rated 736 +3 changed 2d ago A 156 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Author insight alerts that notify when a trends, SQL, or funnel insight crosses a bound, changes sharply, or looks anomalous. Use when the user asks to alert on a metric or insight, get notified when a number drops or spikes, set up anomaly detection, or use the AI anomaly detector (the llm detector type). Covers…

not rated 736 +3 changed 3d ago A 119 tokens original MIT

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: