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

Uses the PostHog MCP to monitor and diagnose the Node.js ingestion pipeline workers in production. Use when investigating event lag, drops, pipeline errors, person/group processing, Kafka consumer health, Redis, Postgres, ClickHouse downstream health, or any ingestion worker question. Covers prod-us and prod-eu…

not rated 736 +4 changed today A SkillSpector: warn 70 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Workflow for optimizing ClickHouse and HogQL queries. Use when a HogQL query, query runner, insight, or report is too slow; when a hand-written ClickHouse query (via syncexecute or in a migration) is too slow; when ClickHouse times out or hits memory limits; when investigating a slow system.querylog row; or when…

not rated 736 +4 changed 13d ago A SkillSpector: warn 177 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Decide which tree a frontend file belongs in — products/ /frontend/ or frontend/src/scenes/ / — and explain why the boundary is real rather than stylistic. Use when adding a new scene, component, or logic file for a product; when creating a new directory under frontend/src/scenes/; when a product has UI in both trees…

not rated 736 +4 today A SkillSpector: warn 142 tokens original MIT

playwright-test

52

PostHog/posthog-foss

Skill Claude Code

Write a playwright test, make sure it runs, and is not flaky.

not rated 736 +4 today A SkillSpector: pass 19 tokens original MIT

posthog-desktop

53

PostHog/posthog-foss

Skill Claude CodeCodex

Scopes work to the desktop app at products/desktop — a nested standalone pnpm/turbo/Biome workspace imported from the now-archived PostHog/code repo, with posthog/posthog the only source of truth for PRs, CI and publishing, and not part of the root frontend or Django build. Use when the user says /posthog-desktop, or…

not rated 736 +4 changed 1mo ago A SkillSpector: warn 176 tokens original MIT

qa-frontend

54

PostHog/posthog-foss

Skill Claude Code

Internal PostHog developer frontend/browser QA skill. Use only when a PostHog developer explicitly asks to run frontend QA, browser-test a PR, verify a UI flow against the local PostHog stack, use qa-frontend, or QA current frontend changes with browser/runtime evidence, or to make a feature reel (see reel mode…

not rated 736 +4 changed 1mo ago A SkillSpector: pass 216 tokens original MIT

qa-team

55

PostHog/posthog-foss

Skill Claude Code

Multi-agent QA review team for code changes. This skill should be used when the user asks to "review my code", "run QA", "qa-team", "review this branch", "code review", "check my changes", or wants a comprehensive multi-perspective code review of the current branch's changes. Spawns parallel specialist agents…

not rated 736 +4 today C SkillSpector: warn 110 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Run ClickHouse system.querylog analysis via the internal Metabase API. Use when investigating slow queries, materialization candidates, per-team query performance, ClickHouse cost or memory issues, or any system.querylog question. Covers prod-us and prod-eu, SSO-gated cookie auth via hogli, and ready-to-run query…

not rated 736 +4 today A SkillSpector: warn 79 tokens original MIT

PostHog/posthog-foss

Skill Claude Code

Run read-only SQL against the local Postgres app database (SELECT, EXPLAIN, EXPLAIN ANALYZE on SELECT). Default local URL postgres://posthog:posthog@localhost:5432/posthog; else DATABASEURL. Use when querying the local DB, inspecting tables, debugging data, or analyzing query plans. Mutations are strictly forbidden.

not rated 736 +4 today A SkillSpector: warn 79 tokens original MIT

querying-tophog

58

PostHog/posthog-foss

Skill Claude CodeCodex

Query tophog — the ingestion pipeline's heavy-hitter store in ClickHouse — to identify hot or expensive actors (teamid, distinctid, sessionid, partition) during incident triage. Use when investigating ingestion lag, a hot or lagging Kafka partition, expensive person processing, merge storms, or any "which team or…

not rated 736 +4 changed 2mo ago A SkillSpector: warn 120 tokens original MIT

react-doctor

59

PostHog/posthog-foss

Skill Claude CodeCodex

Diagnose and fix React codebase health issues. Use when reviewing React code, fixing performance problems, auditing security, or improving code quality.

not rated 736 +4 today A SkillSpector: warn 32 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

The full review process for personhog coordination-protocol changes — leases, fencing, handoffs, supervisors, failure budgets, warming, and changelog semantics. Use before pushing or requesting review on any personhog protocol changeset, when asked for an exhaustive or careful review of personhog code, and after any…

not rated 736 +4 today A SkillSpector: pass 111 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Adds or changes activity logging (the audit trail) for a Django model in PostHog. Use when a model's writes must show in the Activity side panel or the advanced activity logs, when adding ModelActivityMixin, an ActivityScope, a modelactivitysignal receiver, an activity describer, or field exclusions, when auditing…

not rated 736 +4 changed 2d ago A SkillSpector: pass 153 tokens original MIT

run-posthog

62

PostHog/posthog-foss

Skill Claude CodeCodex needs its repo

Start, inspect, and drive the PostHog dev stack. Use for /run and /verify on this repo — when asked to launch PostHog, check whether the stack is healthy, inspect a running process, or verify a UI change against the live app.

not rated 736 +4 changed 16d ago C 58 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Catch the deterministic CI failures reachable from your diff before pushing, with hogli ci:preflight. Use when the pre-push hook blocks a push, before reporting a task done, or after editing Python, serializers, migrations, workflows, or dependency manifests — to avoid burning a CI matrix on a failure you could catch…

not rated 736 +4 changed 14d ago A SkillSpector: pass 119 tokens original MIT

security-audit

64

PostHog/posthog-foss

Skill Claude Code

Threat-model-driven security audit of a change. Build a threat model from the diff, PR, commits, and product purpose, then assess the implementation against each threat. Use when the user asks to "audit", "security-audit", "threat model", "assess for vulns", "find vulnerabilities", "security issues in this PR", or…

not rated 736 +4 changed 23d ago B SkillSpector: warn 179 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

How to send real-time in-app notifications from PostHog backend code. Use when integrating notifications into a new feature, wiring up a notification source (alerts, comments, approvals, pipelines, issues), or choosing the right target type and priority for a notification.

not rated 736 +4 today A SkillSpector: warn 56 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Use when writing a Storybook story for a component gated on a feature flag — boolean flags or multivariate/experiment-arm variants. Covers the featureFlags story parameter and why imperatively setting flags renders the flag-off branch in visual-regression snapshots while passing in jest.

not rated 736 +4 changed 1mo ago A SkillSpector: pass 63 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Split an oversized Python module (a thousand-plus-line logic.py, models.py, api.py, or its test file) into a package of one module per concern, mechanically and provably without changing behavior. Use on a request to split / break up / decompose a god module or move functions out of one, once a human has agreed to…

not rated 736 +4 today A SkillSpector: pass 197 tokens original MIT

stacking-prs

68

PostHog/posthog-foss

Skill Claude CodeCodex

Create and manage GitHub native Stacked PRs in this repo with the gh stack CLI. Use when asked to stack PRs, split a large change into a stack, add a layer to a stack, restack or rebase a stack, adopt existing branches or PRs into a stack, check out someone else's stack, or land a stack. Covers creating and submitting…

not rated 736 +4 changed 1mo ago A SkillSpector: pass 136 tokens original MIT

survey-sdk-audit

69

PostHog/posthog-foss

Skill Claude Code

Audit PostHog survey SDK features and version requirements, and implement survey changes across the backend, UI, and SDK repositories.

not rated 736 +4 changed 2mo ago A SkillSpector: pass 30 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Decision procedure for a PR that failed or was removed from the Trunk merge queue: classify the kick (superseded by a newer commit, not mergeable, a gate that failed on a cancelled run, real failure, one-off flake, or repo-wide flaky/infra issue) and take the matching action (wait, hold and fix, requeue once, or…

not rated 736 +4 changed 1mo ago A SkillSpector: warn 180 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Debug a customer's data warehouse source, schema, or table from a support ticket, using PostHog's own production data. Use when a ticket says a warehouse table is stale, empty, stuck, duplicated, missing rows, or failing to sync, and you need the real state of the sync rather than the customer's description. The…

not rated 736 +4 changed 1mo ago B SkillSpector: warn 213 tokens original MIT

PostHog/posthog-foss

Skill Claude CodeCodex

Triage web analytics support tickets end to end: enumerate open tickets from the in-app conversations product and their Zendesk mirrors, classify each into a diagnostic shape (frontend crash, "two numbers don't match", traffic count drop, tracker not loading / undercounting vs a competitor, ad-platform integration…

not rated 736 +4 changed 1mo ago A SkillSpector: warn 151 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: